@font-face{font-family:system-fallback;src:local("PingFang SC");font-display:swap}
:root{--blue:#244de0;--blue-dark:#1737ad;--ink:#18233d;--muted:#798398;--line:#e9edf4;--surface:#f6f8fc;--green:#238675;--radius:18px;--shadow:0 6px 28px #1b315408;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-fallback,"Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--surface)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button{border:0;background:none;color:inherit}button:disabled{opacity:.55;cursor:wait}input,textarea,select{border:1px solid #dfe5ef;background:#fff;border-radius:10px;padding:12px 13px;color:var(--ink);width:100%;outline:none;transition:.15s}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #244de011}textarea{resize:vertical;min-height:110px;line-height:1.7}input[type=checkbox]{width:17px;height:17px;accent-color:var(--blue);flex-shrink:0}input[type=file]{padding:10px;background:var(--surface)}:focus-visible{outline:3px solid #9ab1ff;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.7px;font-weight:700;line-height:1.4}h2{font-size:19px;letter-spacing:-.3px}h3{font-size:15px}p{line-height:1.8}small{font-size:12px}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:10px;font-weight:600;background:#fff;border:1px solid #dfe5ef;white-space:nowrap;transition:.15s}.btn:hover{background:#f3f6ff;border-color:#b7c7fb}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.btn.primary:hover{background:var(--blue-dark)}.btn.soft{background:#eef2ff;color:var(--blue);border-color:transparent}.btn.small{padding:7px 11px;font-size:12px;border-radius:8px}.btn.danger{color:#bf4a4a}.btn.icon-only{width:39px;padding:9px}.text-button{color:var(--blue);font-weight:600;padding:6px 0;font-size:13px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{display:flex;align-items:center;justify-content:space-between;gap:15px}.stack{display:flex;flex-direction:column;gap:18px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.field label{font-size:13px;font-weight:600}.field small{color:var(--muted);line-height:1.6}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check{display:flex;align-items:flex-start;gap:9px;line-height:1.8;font-size:13px}.check input{margin-top:4px}.tag{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:6px;background:#f0f3f9;color:#6c7890;font-size:11px;font-weight:600;white-space:nowrap}.tag.blue{background:#edf1ff;color:#355bd2}.tag.green{background:#eaf7f0;color:#348668}.tag.amber{background:#fff5e5;color:#ad7a24}.tag.red{background:#fff0ee;color:#bd6157}.tag.dot:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.empty{text-align:center;padding:44px 20px;color:var(--muted)}.empty .icon{width:35px;height:35px;stroke-width:1.3;margin-bottom:14px;color:#a7b5ce}.empty h3{color:#58677e;margin-bottom:7px}.empty p{font-size:13px;max-width:420px;margin:0 auto 16px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.card-head h2,.card-head h3{margin:0}.card-head .eyebrow{font-size:10px}.card-description{font-size:13px;color:var(--muted);margin-bottom:20px}.banner{padding:13px 16px;line-height:1.7;font-size:12px;border-radius:10px;background:#eef3ff;color:#5570a4;display:flex;gap:9px;align-items:flex-start}.banner.warning{background:#fff8e9;color:#9c792d}.banner .icon{width:17px;margin-top:3px}.spinner{width:19px;height:19px;border:2px solid #d9e2fa;border-top-color:var(--blue);border-radius:100%;display:inline-block;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.initial-loading{height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}#toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,20px);background:#1a263e;color:white;box-shadow:0 8px 30px #14274b22;border-radius:11px;padding:13px 22px;max-width:90vw;opacity:0;pointer-events:none;z-index:200;transition:.2s;font-size:13px}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#a63f43}
/* Sign in */
.login{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.login-story{background:#142c85;color:white;padding:54px 9%;display:flex;flex-direction:column;position:relative;overflow:hidden;min-height:760px}.brand{display:flex;gap:12px;align-items:center;font-size:18px;font-weight:700;letter-spacing:.2px}.brand img{width:40px;height:40px}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#9baeea;margin-top:5px;font-weight:500}.login-story .brand img{background:#ffffff16;border-radius:13px}.story-main{position:relative;margin:auto 0;z-index:1;padding:55px 0}.story-main .eyebrow{color:#a4b8ff;font-size:12px;letter-spacing:3px}.story-main h1{font-size:49px;line-height:1.5;letter-spacing:1px;margin:22px 0}.story-main>p{color:#b4c3f0;max-width:380px;font-size:15px;line-height:2}.story-points{display:flex;gap:27px;margin-top:34px;color:#c8d4fa;font-size:12px}.story-points span{display:flex;align-items:center;gap:7px}.story-orbit{position:absolute;width:580px;height:580px;border:1px solid #ffffff0b;border-radius:100%;right:-260px;bottom:-190px;box-shadow:0 0 0 75px #ffffff03,0 0 0 150px #ffffff03}.story-footer{font-size:11px;letter-spacing:1px;color:#94a9e4;position:relative;line-height:1.8}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:65px 40px}.login-form{width:100%;max-width:400px}.login-form h1{font-size:29px;margin-bottom:10px}.login-form>p{color:var(--muted);font-size:13px;margin-bottom:28px}.role-picker{display:flex;background:#f2f5fa;border-radius:11px;padding:5px;margin:26px 0}.role-picker button{flex:1;padding:12px 5px;font-size:13px;font-weight:600;border-radius:8px;color:#7c879a}.role-picker button.active{color:var(--blue);background:white;box-shadow:0 2px 6px #233c7310}.login-form .btn.primary{width:100%;padding:14px}.login-foot{border-top:1px solid var(--line);margin-top:27px;padding-top:21px;color:#929bac;line-height:1.8;font-size:11px}.login-error{background:#fff0ee;color:#b44e48;padding:10px 13px;border-radius:9px;font-size:12px;margin-bottom:16px}.password-wrap{position:relative}.password-wrap input{padding-right:45px}.password-wrap button{position:absolute;right:9px;top:8px;padding:5px;color:var(--muted)}
/* App shell */
.shell{min-height:100vh;padding-left:245px}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 20px 20px;z-index:30}.sidebar .brand{padding:0 5px;font-size:17px}.sidebar .brand img{width:37px;height:37px}.sidebar .brand small{color:#94a0b8;font-size:9px;letter-spacing:1.7px}.side-role{margin:27px 12px 14px;display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:1.5px;color:#96a0b4}.side-role:after{content:"";flex:1;height:1px;background:var(--line)}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:13px 15px;border-radius:10px;color:#718097;font-size:13px;transition:.15s}.nav button:hover{background:#f5f7fc;color:var(--blue)}.nav button.active{background:#edf2ff;color:var(--blue);font-weight:600}.nav button.active:after{content:"";margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--blue)}.sidebar-bottom{margin-top:auto;padding:20px 8px 0}.help-card{background:#f6f8fd;border:1px solid #edf0f8;border-radius:12px;padding:14px;margin-bottom:20px}.help-card h3{font-size:12px;margin-bottom:7px}.help-card p{font-size:11px;line-height:1.7;color:#929db2;margin-bottom:10px}.help-card .text-button{font-size:11px}.user-box{display:flex;gap:10px;align-items:center}.avatar{width:35px;height:35px;border-radius:11px;background:#eaf0ff;color:#4a6ad3;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:12px;flex-shrink:0}.avatar.teacher{background:#eaf5f0;color:#41866f}.user-box .user-meta{min-width:0;flex:1}.user-box strong{display:block;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-box small{color:#a2abbb;font-size:10px;display:block;margin-top:4px}.user-box button{color:#9aa5b7;padding:4px}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#ffffffc9;gap:15px}.breadcrumb{font-size:12px;color:#9aa4b6;display:flex;align-items:center;gap:11px}.breadcrumb strong{color:#55627a;font-weight:500}.topbar-right{display:flex;align-items:center;gap:20px;color:#7c879a;font-size:11px}.service-status{display:flex;align-items:center;gap:6px}.service-status:before{content:"";width:6px;height:6px;background:#4ca98a;border-radius:100%}.menu-toggle{display:none}.main{padding:34px 40px 45px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.page-head h1{margin-bottom:6px;font-size:26px}.page-head p{color:var(--muted);font-size:12px;margin:0}.page-head .eyebrow{margin-bottom:11px;font-size:10px}.staff .sidebar{background:#172440;border-color:#172440;color:#fff}.staff .sidebar .brand small{color:#7d90b7}.staff .side-role{color:#687da5}.staff .side-role:after{background:#ffffff12}.staff .nav button{color:#9caccb}.staff .nav button:hover{background:#ffffff09;color:#dbe5ff}.staff .nav button.active{background:#3455a9;color:#fff}.staff .nav button.active:after{background:#b8cbff}.staff .help-card{background:#ffffff06;border-color:#ffffff0a}.staff .help-card h3{color:#c0cee7}.staff .help-card p{color:#7e91b8}.staff .help-card .text-button{color:#aec4ff}.staff .user-box small{color:#7a8eb5}.staff .avatar{background:#2c3c60;color:#c2d4fc}
/* Dashboard */
.hero{border-radius:20px;background:#eaf0ff;position:relative;overflow:hidden;padding:31px 33px;display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;min-height:195px}.hero-content{position:relative;z-index:1}.hero .eyebrow{color:#7992d9;font-size:10px;letter-spacing:2px}.hero h2{font-size:25px;margin:13px 0 9px;letter-spacing:-.7px;color:#224285}.hero p{font-size:12px;color:#7385ad;margin-bottom:19px}.hero .btn{font-size:12px;padding:10px 15px}.hero-art{height:165px;width:215px;position:relative;flex-shrink:0;margin-right:20px}.art-circle{position:absolute;width:150px;height:150px;border:1px solid #c7d4fa;border-radius:50%;right:10px;top:9px;box-shadow:0 0 0 24px #dce6ff55}.art-star{position:absolute;width:95px;height:95px;right:37px;top:39px;color:#466ce0;filter:drop-shadow(0 13px 11px #5878d727)}.art-star svg{width:100%;height:100%;fill:currentColor}.art-note{position:absolute;background:white;border:1px solid #e6edfc;border-radius:10px;padding:10px 14px;font-size:10px;box-shadow:0 8px 22px #4468b712;color:#61749c;display:flex;gap:8px;align-items:center;transform:rotate(-7deg);left:0;top:22px}.art-note.last{transform:rotate(6deg);left:auto;right:-10px;top:auto;bottom:10px}.art-note .icon{width:14px;height:14px;color:#6287e8}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:20px 23px;display:flex;justify-content:space-between;align-items:center;gap:10px}.stat-label{font-size:11px;color:#8995aa;margin-bottom:12px}.stat-value{font-size:27px;font-weight:650;line-height:1;letter-spacing:-1px}.stat-value small{font-size:11px;font-weight:400;color:#9aa4b5;margin-left:8px;letter-spacing:0}.stat-icon{width:40px;height:40px;border-radius:12px;background:#edf2ff;color:#7692df;display:flex;align-items:center;justify-content:center}.stat:nth-child(2) .stat-icon{background:#edf7f2;color:#6ba88b}.stat:nth-child(3) .stat-icon{background:#fff5e9;color:#c9a164}.stat:nth-child(4) .stat-icon{background:#f2eefe;color:#a18acb}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:23px}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-item{text-align:center;padding:19px 5px 15px;border-radius:12px;border:1px solid #eef1f7;transition:.15s}.quick-item:hover{background:#f7f9ff;border-color:#dce5ff;transform:translateY(-2px)}.quick-item .quick-icon{width:39px;height:39px;border-radius:11px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;background:#f0f4ff;color:#6b87d2}.quick-item:nth-child(2) .quick-icon{background:#edf7f3;color:#60a188}.quick-item:nth-child(3) .quick-icon{background:#fff5e7;color:#c19b58}.quick-item:nth-child(4) .quick-icon{background:#f4efff;color:#9b80c7}.quick-item strong{font-size:12px;font-weight:500}.list-row{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #f0f2f7}.list-row:last-child{border:0;padding-bottom:0}.list-row:first-child{padding-top:0}.list-row .row-content{flex:1;min-width:0}.list-row h3{font-size:12px;line-height:1.6;margin:0 0 5px;font-weight:500}.list-row p{font-size:10px;color:#9aa4b7;margin:0;line-height:1.7}.list-row .icon-box{width:35px;height:39px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#f3f6fc;color:#91a2c7;flex-shrink:0}.list-row .icon-box .icon{width:17px}.list-row .text-button{font-size:11px}.teacher-card{display:flex;gap:13px;align-items:center;margin-bottom:18px}.teacher-card .avatar{width:47px;height:47px;font-size:16px;background:#eef2ff}.teacher-card strong{display:block;font-size:14px;margin-bottom:7px}.teacher-card small{color:#98a3b5;font-size:11px}.teacher-card+.btn{width:100%;font-size:12px}.mini-note{font-size:10px;color:#a1abba;margin-top:13px;line-height:1.7}.footer-note{color:#a5aebd;font-size:10px;margin-top:29px;display:flex;justify-content:space-between;gap:10px;line-height:1.7}.checklist{display:flex;flex-direction:column;gap:12px}.checklist-item{padding:13px;background:#f8faff;border:1px solid #edf1fa;border-radius:10px}.checklist-item h3{font-size:12px;margin-bottom:7px}.checklist-item p{font-size:11px;color:var(--muted);margin:0}.checklist-item .actions{margin-top:10px}
/* Lists and tables */
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;flex-wrap:wrap}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter{font-size:12px;color:#8a96aa;border-radius:8px;padding:8px 13px}.filter.active{background:#edf2ff;color:var(--blue);font-weight:600}.search{position:relative;max-width:290px;flex:1;min-width:160px}.search input{padding:10px 12px 10px 36px;font-size:12px;background:white}.search>.icon{position:absolute;left:12px;top:11px;width:16px;height:16px;color:#9ca8bd}.table-wrap{overflow:auto}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.data-table th{font-size:11px;font-weight:500;color:#8d98ab;padding:14px 16px;background:#f8fafd;border-bottom:1px solid var(--line)}.data-table td{padding:17px 16px;font-size:12px;border-bottom:1px solid #eff2f7;vertical-align:middle}.data-table tr:last-child td{border:0}.data-table tbody tr:hover{background:#fbfcff}.data-table .title-cell{white-space:normal;min-width:180px;max-width:360px;line-height:1.6}.data-table .title-cell small{display:block;color:#a2abbc;font-size:10px;margin-top:6px}.table-card{padding:0;overflow:hidden}.table-card>.toolbar{padding:22px 23px 0}.number{font-variant-numeric:tabular-nums}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.knowledge-card{display:flex;flex-direction:column;transition:.15s}.knowledge-card:hover{border-color:#c7d5fc;box-shadow:0 8px 24px #2345890a}.knowledge-card h3{font-size:15px;line-height:1.7;margin:16px 0 10px}.knowledge-card p{font-size:12px;color:#929cb0;line-height:1.9;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1;margin-bottom:20px}.knowledge-card .source{border-top:1px solid #f0f2f8;padding-top:13px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9aa5b9;gap:8px}.knowledge-card .source span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.notice-card{padding:24px 27px;margin-bottom:16px}.notice-card h3{font-size:16px;margin:14px 0 11px}.notice-card p{font-size:13px;color:#7f8aa0;white-space:pre-wrap}.notice-card .notice-meta{display:flex;gap:14px;font-size:11px;color:#9aa6b9;flex-wrap:wrap}.task-row{padding:19px 0;display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid var(--line)}.task-row:last-child{border:0}.task-row h3{font-size:14px;font-weight:500;margin:0 0 7px;line-height:1.6}.task-row.done h3{text-decoration:line-through;color:#a7afbe}.task-row p{font-size:12px;color:#8d98ab;margin:0 0 7px;white-space:pre-wrap}.task-row .task-meta{font-size:11px;color:#9ba6b7}.task-row .task-meta.overdue{color:#c4675f}.task-row .task-body{flex:1}.task-row input{margin-top:4px}.task-row button{color:#a7b0c0}.task-row .icon{width:16px;height:16px}.result-box{background:#f8faff;border:1px solid #e4ebfc;border-radius:13px;padding:22px;margin-top:22px}.result-box h3{font-size:15px;margin-bottom:12px}.result-box p{font-size:13px;color:#74839d;white-space:pre-wrap}.result-box li{font-size:12px;line-height:1.9;color:#8190a7}.split-page{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:23px}.request-preview{background:#f6f8ff;padding:22px;border:1px solid #e2e9fd;border-radius:13px}.request-preview dl{display:grid;grid-template-columns:75px 1fr;gap:14px;font-size:13px;margin:18px 0}.request-preview dt{color:#98a3b8}.request-preview dd{margin:0;white-space:pre-wrap;line-height:1.8;word-break:break-word}.attach-list{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.attachment{display:flex;gap:7px;align-items:center;max-width:100%;font-size:12px;background:#f0f4fc;padding:8px 11px;border-radius:8px;color:#6b82b4}.attachment .icon{width:14px}.attachment span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment button{padding:0;color:#9aa9c4}.attachment button .icon{width:12px}.help-link{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);font-size:13px}.help-link:last-child{border:0}.help-link .icon{width:16px;color:#9caaca}.knowledge-content{line-height:2;color:#64748b;white-space:pre-wrap;font-size:14px}.detail-meta{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 22px}.source-box{padding:18px;background:#f6f8fc;border-radius:11px;margin-top:24px;font-size:12px;line-height:1.9;color:#8c98ac}.source-box a{word-break:break-all}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.account-item{background:#f8fafd;border-radius:10px;padding:17px}.account-item small{display:block;color:#99a4b6;margin-bottom:9px;font-size:11px}.account-item strong{font-size:13px;font-weight:500}.integration-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line)}.integration-row:last-child{border:0}.integration-row h3{font-size:13px;margin-bottom:6px}.integration-row p{font-size:11px;color:#99a4b6;margin:0}.db-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.db-cell{padding:17px;border:1px solid var(--line);border-radius:10px}.db-cell small{color:#939eb2;font-size:11px}.db-cell strong{display:block;font-size:23px;margin-top:10px;font-weight:600}
/* Conversation */
.chat-layout{display:grid;grid-template-columns:220px minmax(0,1fr);background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;min-height:calc(100vh - 230px);height:700px;max-height:calc(100vh - 155px)}.chat-history{background:#fcfdff;border-right:1px solid var(--line);padding:19px 14px;display:flex;flex-direction:column;overflow:auto}.chat-history>.btn{font-size:12px;margin-bottom:24px}.chat-history .eyebrow{font-size:9px;margin:0 7px 14px;letter-spacing:1px}.conversation-item{display:flex;gap:6px;border-radius:8px;margin-bottom:5px;align-items:center}.conversation-item.active{background:#edf2ff}.conversation-item>button:first-child{text-align:left;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:11px 9px;color:#7e8ca5;font-size:11px}.conversation-item>button:last-child{color:#b0b9ca;padding:5px}.conversation-item .icon{width:13px;height:13px}.chat-main{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-toolbar{padding:15px 22px;border-bottom:1px solid #f0f2f7;display:flex;align-items:center;justify-content:space-between;gap:10px}.chat-toolbar strong{font-size:12px;font-weight:500}.chat-toolbar .check{font-size:11px;color:#8c98ac}.chat-messages{flex:1;overflow:auto;padding:24px;scroll-behavior:smooth;min-height:0}.chat-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;padding:25px 10px;text-align:center}.chat-welcome img{width:53px;height:53px;margin-bottom:23px;box-shadow:0 7px 19px #244de01f;border-radius:16px}.chat-welcome h2{font-size:24px;margin-bottom:12px}.chat-welcome p{font-size:12px;color:#8b97ad;line-height:1.9;margin-bottom:28px}.prompt-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:530px;width:100%}.prompt-grid button{padding:15px;border:1px solid var(--line);border-radius:11px;text-align:left;font-size:11px;color:#71829d;background:#fcfdff;line-height:1.7;display:flex;gap:9px;align-items:center}.prompt-grid button:hover{border-color:#b4c5f7;background:#f8faff}.prompt-grid .icon{width:16px;color:#8ea4d4}.message{display:flex;gap:12px;margin-bottom:26px;align-items:flex-start}.message .avatar{width:29px;height:29px;border-radius:9px;font-size:10px}.message.user{flex-direction:row-reverse}.message-content{min-width:0;max-width:90%}.message.user .bubble{background:#edf2ff;color:#456299;padding:13px 17px;border-radius:13px 3px 13px 13px}.message .bubble{font-size:13px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.message .message-label{font-size:10px;color:#9ba7bc;margin-bottom:8px;display:flex;align-items:center;gap:7px}.message .message-actions{display:flex;gap:13px;margin-top:13px}.message .message-actions button{font-size:10px;color:#8ca0c5;padding:0;display:flex;align-items:center;gap:5px}.message .message-actions .icon{width:13px;height:13px}.citation-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.citation{font-size:10px;padding:6px 9px;border:1px solid #e6ecf8;border-radius:7px;color:#8a9ec1;background:#fafcff;text-align:left}.chat-compose{padding:13px 22px 16px;border-top:1px solid #f0f2f7}.compose-box{position:relative;border:1px solid #dce4f3;border-radius:12px;background:#fcfdff;padding:8px 60px 8px 9px}.compose-box textarea{border:0;background:none;box-shadow:none;padding:6px 9px;resize:none;min-height:52px;height:59px;font-size:12px}.compose-box .btn{position:absolute;right:10px;bottom:12px;width:35px;height:35px;padding:8px}.compose-note{text-align:center;color:#a6b0c0;font-size:9px;margin-top:11px;line-height:1.6}.thinking{color:#8c9cba;display:flex;gap:9px;align-items:center;font-size:12px}.thinking .spinner{width:14px;height:14px}.chat-private-note{font-size:10px;color:#9aa9c2;margin-top:auto;padding:20px 8px 0;line-height:1.9}
/* Request detail and dialogs */
.ticket-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:22px}.thread-message{border-bottom:1px solid #eff2f7;padding:20px 0}.thread-message:last-child{border:0}.thread-message .message-label{display:flex;align-items:center;gap:9px;font-size:12px;margin-bottom:12px}.thread-message .message-label small{color:#a0aabe;font-size:10px;margin-left:auto}.thread-message p{font-size:13px;color:#687891;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.thread-reply{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.timeline{border-left:1px solid #e5eaf5;margin:0 0 0 5px;padding-left:20px}.timeline-event{position:relative;margin-bottom:23px}.timeline-event:before{content:"";width:7px;height:7px;background:#b8c8eb;border:3px solid white;border-radius:50%;position:absolute;left:-27px;top:4px;box-sizing:content-box}.timeline-event:first-child:before{background:var(--blue)}.timeline-event h3{font-size:12px;font-weight:500;margin:0 0 6px;line-height:1.7}.timeline-event p{font-size:10px;line-height:1.7;color:#9aa7bc;margin:0}.modal-backdrop{position:fixed;inset:0;background:#14234255;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:25px;z-index:100}.modal{background:#fff;border:1px solid #ffffff80;border-radius:20px;box-shadow:0 20px 90px #14234233;width:100%;max-width:620px;max-height:90vh;display:flex;flex-direction:column}.modal.wide{max-width:780px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 27px;border-bottom:1px solid var(--line);flex-shrink:0}.modal-head h2{font-size:18px;margin:0}.modal-head button{color:#99a6bd}.modal-body{padding:25px 27px;overflow:auto}.modal-footer{padding:17px 27px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;flex-shrink:0}.modal-footer .btn{font-size:12px}.version-item{padding:16px 0;border-bottom:1px solid var(--line)}.version-item strong{font-size:13px}.version-item p{font-size:12px;white-space:pre-wrap;color:#8a96aa;margin-top:10px}.version-item small{color:#a1acbf}.mobile-header-brand{display:none}.mobile-nav{display:none}
@media(min-width:1600px){.main{padding-top:43px}.hero{padding:36px 40px}}
@media(max-width:1200px){.shell{padding-left:215px}.sidebar{width:215px;padding-left:15px;padding-right:15px}.main{padding:28px}.topbar{padding:0 28px}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:12px}.stat{padding:18px 16px}.stat-icon{width:33px;height:33px}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr)}.chat-layout{grid-template-columns:190px 1fr}.hero-art{margin-right:0;width:170px}.hero{padding:27px}.hero h2{font-size:23px}.quick-grid{gap:8px}.quick-item{padding:15px 3px}.split-page,.ticket-detail-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}}
@media(max-width:950px){.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.split-page,.ticket-detail-grid{grid-template-columns:1fr}.hero-art{display:none}.login-story{padding:40px 8%}.story-main h1{font-size:38px}.story-points{flex-direction:column;gap:14px}.login-form-wrap{padding:40px 30px}.chat-layout{grid-template-columns:155px 1fr}.chat-messages{padding:20px}.prompt-grid{grid-template-columns:1fr}.chat-welcome{padding:15px 0}.chat-welcome h2{font-size:21px}.chat-welcome p br{display:none}.db-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){:root{font-size:14px}.login{grid-template-columns:1fr}.login-story{min-height:0;padding:28px 25px 36px}.login-story .brand{font-size:16px}.login-story .brand img{width:34px;height:34px}.story-main{padding:35px 0 0}.story-main .eyebrow{font-size:9px}.story-main h1{font-size:30px;line-height:1.5;margin:15px 0 12px}.story-main h1 br{display:none}.story-main>p{font-size:12px;margin-bottom:0;max-width:100%}.story-points,.story-footer{display:none}.login-form-wrap{padding:35px 25px 40px;align-items:flex-start}.login-form{max-width:100%}.login-form h1{font-size:23px}.login-form>p{font-size:12px}.role-picker{margin:20px 0}.shell{padding-left:0;padding-bottom:75px}.sidebar{display:none;width:245px;box-shadow:20px 0 60px #17284922}.sidebar.open{display:flex}.topbar{height:65px;padding:0 20px;position:sticky;top:0;z-index:20;backdrop-filter:blur(15px)}.topbar .breadcrumb,.topbar-right .date-display{display:none}.mobile-header-brand{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}.mobile-header-brand img{width:27px;height:27px}.topbar-right{gap:13px;font-size:10px}.menu-toggle{display:flex;align-items:center;padding:4px;color:#8594ae}.menu-toggle .icon{width:19px}.main{padding:24px 19px 28px}.page-head{margin-bottom:22px;align-items:flex-start;gap:10px}.page-head h1{font-size:23px}.page-head p{font-size:11px}.page-head .eyebrow{font-size:9px;margin-bottom:9px}.page-head .btn{font-size:11px;padding:9px 11px}.hero{padding:24px 23px;min-height:185px;margin-bottom:19px;border-radius:16px}.hero h2{font-size:23px;line-height:1.5;margin-top:12px}.hero p{font-size:11px;max-width:250px}.hero .eyebrow{font-size:9px}.stats{gap:11px;margin-bottom:19px}.stat{padding:17px 16px;border-radius:12px}.stat-label{font-size:10px;margin-bottom:11px}.stat-value{font-size:25px}.stat-icon{width:31px;height:31px}.stat-icon .icon{width:16px;height:16px}.card{padding:21px;border-radius:14px}.dashboard-grid,.split-page,.ticket-detail-grid{gap:18px}.card-head{margin-bottom:19px}.card-head h2{font-size:16px}.card-head .text-button{font-size:11px}.quick-grid{gap:7px}.quick-item{border:0;padding:8px 0}.quick-item .quick-icon{width:37px;height:37px;margin-bottom:10px}.quick-item strong{font-size:11px}.cards-grid{grid-template-columns:1fr;gap:14px}.knowledge-card h3{font-size:15px}.knowledge-card p{-webkit-line-clamp:2;font-size:12px;margin-bottom:17px}.footer-note{font-size:9px;flex-direction:column;gap:4px;margin-top:24px}.table-card{padding:0}.table-card>.toolbar{padding:17px 16px 0}.toolbar{gap:11px;align-items:stretch}.filters{gap:2px}.filter{padding:7px 9px;font-size:11px}.search{max-width:none}.data-table th,.data-table td{padding:13px 12px}.data-table td{font-size:11px}.notice-card{padding:20px}.notice-card h3{font-size:15px}.notice-card p{font-size:12px}.form-row,.account-grid{grid-template-columns:1fr;gap:0}.account-grid{gap:12px}.field{margin-bottom:16px}.banner{font-size:11px;padding:12px}.request-preview{padding:18px}.request-preview dl{font-size:12px;grid-template-columns:65px 1fr}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#ffffffed;border-top:1px solid var(--line);backdrop-filter:blur(15px);padding:10px 8px max(10px,env(safe-area-inset-bottom));z-index:25;justify-content:space-around}.mobile-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;color:#9ba7bb;font-size:9px;padding:1px}.mobile-nav .icon{width:20px;height:20px}.mobile-nav button.active{color:var(--blue)}.chat-page .main{padding:0}.chat-page .page-head{display:none}.chat-layout{border:0;border-radius:0;display:flex;min-height:0;height:calc(100dvh - 135px);max-height:none}.chat-history{display:none}.chat-main{width:100%}.chat-toolbar{padding:13px 18px}.chat-messages{padding:22px 18px}.chat-welcome{min-height:100%;padding:10px 0}.chat-welcome h2{font-size:23px}.chat-welcome p{font-size:12px}.chat-welcome img{width:47px;height:47px}.prompt-grid{grid-template-columns:1fr 1fr;gap:9px}.prompt-grid button{font-size:10px;padding:13px 11px;gap:6px}.prompt-grid .icon{width:14px}.chat-compose{padding:11px 16px 12px}.compose-note{font-size:8px}.message .bubble{font-size:13px}.message-content{max-width:87%}.message{gap:9px}.citation{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.modal-backdrop{padding:15px}.modal{border-radius:16px;max-height:92dvh}.modal-head{padding:19px 20px}.modal-head h2{font-size:16px}.modal-body{padding:20px}.modal-footer{padding:15px 20px}.modal-footer .btn{padding:10px 13px}.task-row{gap:10px}.task-row h3{font-size:13px}.db-cell{padding:15px}.chat-private-note{font-size:9px}.desktop-only{display:none!important}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 1.1: student-team identity, distinct surfaces and a one-third / two-thirds sign-in. */
.ownership-text{color:#bd2739!important;font-weight:600;line-height:1.8}
.ownership-banner{min-height:35px;padding:8px 40px;background:#fff3f3;border-bottom:1px solid #ffe2e5;color:#b72839;font-size:12px;font-weight:600;line-height:1.6}
.brand{gap:10px;align-items:center;letter-spacing:0}
.sidebar .brand{padding:0;font-size:14px;line-height:1.65}
.sidebar .brand img{width:64px;height:64px;object-fit:contain;flex-shrink:0;background:#f6fbff;border-radius:12px}
.brand div>span{display:block}
.sidebar .nav{margin-top:23px;overflow-y:auto;min-height:0}
.staff .sidebar .nav{margin-top:0}
.nav-group{border-top:1px solid var(--line);padding-top:14px;margin-top:13px;display:flex;flex-direction:column;gap:5px}
.nav-group.standalone{border-top:0;margin-top:0;padding-top:0;padding-bottom:8px}
.nav-group-label{font-size:11px;color:#8190a9;font-weight:600;letter-spacing:1px;padding:0 15px 7px}
.nav-group button{padding-top:11px;padding-bottom:11px}
.sidebar-bottom{flex-shrink:0}
.footer-note .ownership-text{font-size:11px}
.hero h2{text-wrap:balance}
.hero-logo{position:absolute;width:180px;height:180px;right:0;top:-7px;object-fit:contain;filter:drop-shadow(0 9px 12px #244de012)}
.psychology-intro{background:linear-gradient(140deg,#fbf8ff,#f5faff)}
.psychology-intro>.quick-icon{width:39px;height:39px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eee9ff;color:#8971b8;margin-bottom:18px}
.psychology-intro h2{font-size:18px}
button.help-link{width:100%;text-align:left}
.revised-login{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.revised-login .login-story{min-height:100vh;background:linear-gradient(155deg,#edf7ff 0%,#f9fcff 48%,#e6f1ff 100%);color:#173562;padding:48px 34px;align-items:center;justify-content:center;border-right:1px solid #e0eaf6;gap:36px}
.login-identity{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center}
.login-logo{width:clamp(210px,23vw,315px);height:clamp(210px,23vw,315px);object-fit:contain}
.login-system-name{font-size:18px;font-weight:650;line-height:1.6;letter-spacing:1px;margin-top:12px}
.login-system-name span{display:block;font-size:17px;letter-spacing:2px}
.school-motto{z-index:1;position:relative;max-width:260px;width:100%;display:flex;gap:18px;align-items:stretch;padding-top:18px;border-top:1px solid #bccfe7}
.motto-label{writing-mode:vertical-rl;font-size:10px;letter-spacing:8px;color:#8098b9;padding-top:7px}
.motto-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;flex:1}
.motto-word{position:relative;border-bottom:1px solid #c3d5eb;padding:0 0 10px}
.motto-word small{display:block;font-size:9px;letter-spacing:2px;color:#91aacb;margin-bottom:6px}
.motto-word strong{font-family:"Songti SC","STSong","SimSun",serif;font-size:27px;font-weight:600;color:#254d81;letter-spacing:6px}
.login-light-orbit{position:absolute;width:580px;height:580px;border:1px solid #bfd6f244;border-radius:100%;bottom:-230px;left:-200px;box-shadow:0 0 0 65px #c6dcf511,0 0 0 130px #c6dcf511}
.revised-login .login-form-wrap{padding:65px 70px}
.revised-login .login-form{max-width:520px}
.login-welcome{margin:0 0 18px;line-height:1.65;letter-spacing:0}
.login-welcome>span{display:block;font-size:19px;font-weight:500;color:#7e8ca4;margin-bottom:9px}
.login-welcome>strong{font-size:28px;font-weight:650;display:block;color:#203455;letter-spacing:.1px}
.revised-login .login-form .login-ownership{font-size:12px;margin-bottom:28px}
.revised-login .role-picker{margin:23px 0 27px}
.revised-login .field{margin-bottom:22px}
.revised-login .login-foot{font-size:12px;color:#7d8ba4;padding-top:22px;margin-top:28px}
.center-login-label{display:inline-flex;border:1px solid #d7e2f8;background:#f4f7ff;color:#667daa;padding:9px 13px;font-size:12px;border-radius:9px}
.chat-layout{max-height:calc(100vh - 190px)}
.chat-welcome img{width:90px;height:90px;object-fit:contain;box-shadow:none;border-radius:0;margin-bottom:15px}
.psychology-page .chat-history{background:#fcfaff}
.psychology-page .chat-welcome h2{color:#65557e}
.psychology-page .chat-toolbar{background:#fdfbff}
.psychology-page .chat-toolbar>strong{color:#7e6b9c}
.psychology-page .prompt-grid button{background:#fdfbff;border-color:#eee8f6}
.psychology-page .btn.primary{background:#8267af;border-color:#8267af}
.psychology-page .message.user .bubble{background:#f2edfa;color:#76618f}
.psychology-page .chat-welcome p{max-width:480px}
@media(max-width:1100px){.revised-login .login-story{padding:40px 24px;gap:29px}.revised-login .login-form-wrap{padding:50px}.login-welcome>strong{font-size:25px}.login-system-name{font-size:16px}.login-system-name span{font-size:15px}.motto-grid{gap:15px 19px}.motto-word strong{font-size:24px}}
@media(max-width:700px){
 .revised-login{grid-template-columns:1fr}
 .revised-login .login-story{min-height:0;padding:22px 24px 26px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;border-right:0;border-bottom:1px solid #dfeaf7}
 .login-logo{width:110px;height:110px}
 .login-system-name{display:none}
 .school-motto{max-width:none;padding-top:0;border-top:0;gap:10px}
 .motto-label{padding-top:4px;font-size:8px;letter-spacing:5px}
 .motto-grid{gap:10px 15px}
 .motto-word{padding-bottom:5px}
 .motto-word small{font-size:7px;margin-bottom:3px}
 .motto-word strong{font-size:21px;letter-spacing:3px}
 .revised-login .login-form-wrap{padding:29px 25px 34px}
 .login-welcome{margin-bottom:12px}
 .login-welcome>span{font-size:16px;margin-bottom:8px}
 .login-welcome>strong{font-size:22px;line-height:1.65;text-wrap:balance}
 .revised-login .login-form .login-ownership{font-size:11px;margin-bottom:23px}
 .revised-login .role-picker{margin:20px 0 24px}
 .revised-login .login-foot{font-size:11px;line-height:1.9}
 .mobile-header-brand{gap:8px;font-size:12px}
 .mobile-header-brand img{width:40px;height:40px;object-fit:contain}
 .mobile-header-brand div{line-height:1.45}
 .mobile-header-brand span{display:block}
 .ownership-banner{padding:7px 19px;font-size:10.5px;min-height:33px;position:sticky;top:65px;z-index:19}
 .topbar-right{gap:10px}
 .service-status{font-size:9px}
 .chat-layout{height:calc(100dvh - 168px);max-height:none}
 .chat-welcome img{width:76px;height:76px}
 .chat-welcome h2{font-size:22px;text-wrap:balance}
 .chat-toolbar{padding:12px 15px;gap:8px}
 .chat-toolbar>strong{font-size:11px}
 .chat-toolbar .actions{gap:8px}
 .chat-toolbar .check{font-size:10px;gap:5px}
 .psychology-page .chat-toolbar .btn.small{font-size:10px;padding:6px 8px}
 .psychology-page .chat-toolbar .btn.small .icon{display:none}
 .mobile-nav button{font-size:10px}
 .sidebar .nav{margin-top:20px}
 .footer-note .ownership-text{font-size:10px}
}
