:root{--next-purple:#6656db;--next-line:#e3e7f1;--next-muted:#68768f;--bg:#f4f5fa;--surface:#fff;--surface-2:#f9faff;--ink:#202b41;--muted:#68768f;--line:#e3e7f1;--primary:#6656db;--primary-2:#5748c7}
body{font-family:"Microsoft YaHei UI","PingFang SC",sans-serif;color:#202b41;background:#f4f5fa}
@media(min-width:901px){
  #appView{display:grid;grid-template-columns:218px minmax(0,1fr)}
  #appView.hidden{display:none}
  #appView .app-rail{background:#fff;color:#56637d;border-right:1px solid var(--next-line);padding:22px 14px;display:flex;flex-direction:column;gap:14px;height:100vh;position:sticky;top:0}
  #appView .rail-brand{background:linear-gradient(125deg,#f4f0ff,#f0f8fc);border:1px solid var(--next-line);color:#28334c;font-size:17px;font-weight:600;letter-spacing:.3px;padding:17px 10px}
  #appView .rail-nav{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:4px;scrollbar-width:thin}
  #appView .nav-btn{width:100%;display:flex;align-items:center;justify-content:flex-start;flex:none;padding:10px 13px;min-height:42px;gap:12px;color:#62708a;border:0;background:transparent;border-radius:8px;white-space:nowrap;text-align:left}
  #appView .nav-btn span{font-size:13px;line-height:1.5;display:block;width:auto}
  #appView .nav-btn.active,#appView .nav-btn:hover{background:#efecfc;color:var(--next-purple)}
  #appView .rail-logout{background:#f6f7fb;color:#62708a;border:1px solid var(--next-line);flex:none}
  #appView .contact-pane{display:none}
  body.next-contact-open #appView .contact-pane{display:block;position:fixed;z-index:15;top:0;bottom:0;left:218px;width:300px;box-shadow:15px 0 45px #24314c20;border:1px solid var(--next-line);background:#fff;overflow:auto}
  #appView .main{padding:20px 28px;min-width:0;grid-column:2;background:transparent}
  #appView .mobile-more-btn{display:none!important}
  body[data-page="messages"] #appView{grid-template-columns:218px 290px minmax(0,1fr)}
  body[data-page="messages"] #appView .contact-pane{display:block;grid-column:2}
  body[data-page="messages"] #appView .main{grid-column:3}
}
button,input,textarea,select{font:inherit}button{font-weight:500}h1,h2,h3{font-weight:600}
#appView button,#appView input,#appView select,#appView textarea{font-family:"Microsoft YaHei UI","PingFang SC",sans-serif}#appView button{font-weight:500}
#appView{background:radial-gradient(ellipse at 95% 0,rgba(150,132,236,.12),transparent 50%),radial-gradient(ellipse at 0 100%,rgba(110,202,208,.09),transparent 55%),#f4f5fa}
#appView [hidden]{display:none!important}
#appView .panel{border:1px solid var(--next-line);border-radius:12px;box-shadow:0 3px 14px #24314c05;background:#fff;min-width:0}
#appView .primary-btn{background:var(--next-purple);border-color:var(--next-purple);box-shadow:0 3px 9px #6656db20}
#appView .line-btn{background:#fff;border:1px solid var(--next-line);border-radius:7px;color:#53617c}
#appView button:focus-visible,#next-dialog button:focus-visible{outline:2px solid var(--next-purple);outline-offset:3px}
#appView .topbar{background:#ffffffeb;border-bottom:1px solid var(--next-line);display:flex;align-items:center;gap:16px}
#appView .topbar{position:sticky;top:0;z-index:10}#next-student-search-results{position:absolute;right:16px;top:calc(100% + 6px);width:320px;max-height:300px;overflow:auto;background:white;box-shadow:0 10px 35px #23345220;border:1px solid var(--next-line);border-radius:9px;padding:8px;z-index:20}#next-student-search-results button{display:block;width:100%;text-align:left;background:white;border:0;padding:11px 12px;border-radius:6px;color:#53617c}#next-student-search-results button:hover{background:#f2effd}
#pageTitle{font-size:14px!important;margin:0}#pageSubTitle{display:none}
#next-development-banner{font-size:11px;color:#8b651f;background:#fff8e9;border:1px solid #f1e3be;border-radius:7px;padding:7px 12px;margin-bottom:14px}
#next-page-search{margin-left:auto;width:230px;max-width:35%;height:34px;border:1px solid var(--next-line);border-radius:7px;padding:0 12px;background:#fafaff}
#next-student-selector{max-width:180px;height:34px;border:1px solid var(--next-line);border-radius:7px;background:white;padding:0 10px;font-size:12px}#next-contact-toggle{white-space:nowrap}
#next-function-query{width:100%}#next-function-results{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}#next-function-results button{padding:9px 13px;border:1px solid var(--next-line);background:#fff;border-radius:8px;color:#53617c}
.next-module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:18px}.next-module-card{padding:22px;text-align:left;min-height:112px;display:flex;flex-direction:column;gap:15px;justify-content:center;color:#28334c}.next-module-card strong{font-size:14px;font-weight:600}.next-module-card span{font-size:12px;color:var(--next-muted)}.next-module-card:hover{background:linear-gradient(120deg,#f7f5ff,#fff)!important;border-color:#cfc8f2!important}
.next-nav-group{flex:none;border:0}.next-nav-group>summary{display:flex;justify-content:space-between;align-items:center;min-height:42px;padding:10px 13px;border-radius:8px;cursor:pointer;list-style:none;color:#62708a;font-size:13px}.next-nav-group>summary::-webkit-details-marker{display:none}.next-nav-group>summary:hover{background:#f6f5fc}.next-nav-group[open]>summary>span{transform:rotate(180deg)}#appView .next-subnav .nav-btn{padding-left:25px;min-height:36px;font-size:12px}#appView .next-subnav .nav-btn span{font-size:12px}#appView .next-subnav .nav-icon{width:15px;height:15px}
.next-nav-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
#next-home-scopes{display:flex;gap:8px;align-items:center;flex-wrap:nowrap;margin-bottom:16px}
.next-table{overflow-x:auto}.next-table table{width:100%;border-collapse:collapse}.next-table th,.next-table td{padding:15px 18px;border-bottom:1px solid #edf0f6;text-align:left;font-size:13px}.next-table th{background:#f9faff;color:var(--next-muted);font-weight:500}.next-table td:last-child .row{gap:7px;flex-wrap:wrap}
.next-target,.next-trial-actions{margin-bottom:18px}.next-target p{font-size:12px;color:var(--next-muted);margin:7px 0}.next-target details{font-size:12px;color:var(--next-muted)}
.next-profile-summary{margin-bottom:18px}.next-profile-identity{padding:22px;display:flex;gap:15px;align-items:center}.next-profile-identity>div:nth-child(2){flex:1;min-width:0}.next-profile-identity h2{margin:0;font-size:20px}.next-profile-identity p{margin:5px 0 0;color:var(--next-muted);font-size:12px}.next-avatar{width:48px;height:48px;border-radius:12px;background:#efecfc;color:var(--next-purple);display:grid;place-items:center;font-size:22px;font-weight:600}.next-profile-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:17px 0;border-top:1px solid var(--next-line);background:#fdfdff}.next-profile-facts>div{padding:0 22px;border-right:1px solid var(--next-line)}.next-profile-facts>div:last-child{border:0}.next-profile-facts small{display:block;color:var(--next-muted);margin-bottom:6px}.next-profile-facts strong{font-weight:500;font-size:13px;overflow-wrap:anywhere}.next-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.next-profile-grid .next-target{margin:0}.next-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:8px 20px}.next-archive-item{padding:16px 0;border-bottom:1px solid var(--next-line);min-width:0}.next-archive-item strong{font-size:12px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.next-archive-item p{font-size:11px;color:var(--next-muted);margin:6px 0}.next-archive-item .row{gap:5px;flex-wrap:wrap}.next-archive-item button,.next-archive-item a{padding:5px 8px;font-size:11px}.next-empty{color:var(--next-muted);padding:20px;font-size:12px;grid-column:1/-1}.next-original-profile{margin:18px 0}.next-original-profile>summary{padding:16px;border:1px solid var(--next-line);border-radius:9px;background:#fff;color:var(--next-muted);cursor:pointer;font-size:12px}.next-original-profile[open]>summary{margin-bottom:14px}
@media(max-width:1150px){.next-profile-grid{grid-template-columns:1fr}.next-profile-identity{flex-wrap:wrap}.next-profile-facts>div{padding:0 12px}}
#next-dialog{width:min(920px,90vw);max-height:90vh;border:1px solid var(--next-line);border-radius:14px;padding:0;box-shadow:0 25px 80px #18274326;color:#202b41;background:#fff}
#next-dialog::backdrop{background:#19233a55;backdrop-filter:blur(3px)}#next-dialog header{padding:16px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--next-line)}#next-dialog h2{font-size:16px;margin:0}#next-dialog header button{background:none;border:0;color:var(--next-muted)}.next-dialog-body{padding:20px}.next-dialog-body form{display:grid;gap:16px}.next-dialog-body label{display:grid;gap:8px}.next-dialog-body input,.next-dialog-body textarea{border:1px solid var(--next-line);border-radius:8px;padding:10px;max-width:100%}.next-dialog-body textarea{min-height:90px;resize:vertical}.next-dialog-body [role=status]{color:#ad3b42}.next-document-frame{width:100%;height:65vh;border:0}.next-dialog-body p{font-size:13px;color:var(--next-muted)}
@media(max-width:900px){.next-table th,.next-table td{padding:12px}#next-home-scopes{overflow-x:auto}#next-page-search{width:160px}.next-dialog-body{padding:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.next-login-environment{color:#6555cc;background:#f1effb;border:1px solid #e4def7;border-radius:8px;padding:9px 14px;font:500 12px/1.5 "Microsoft YaHei",sans-serif;margin-left:auto;max-width:100%}
