html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}:root{--app-bg: #f4f6f9;--app-card: #ffffff;--app-border: #e6e8ef;--app-text: #1f2937;--app-muted: #6b7280;--app-primary: #1f6feb;--app-radius: 12px;--app-shadow: 0 2px 10px rgba(15, 23, 42, .05);--topbar-h: 56px;--tabbar-h: 58px;--sidebar-w: 216px}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--app-bg);color:var(--app-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.boot-screen{height:100%;display:flex;align-items:center;justify-content:center}.login-page{min-height:100%;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(160deg,#eef3ff,#f7f9fc 55%,#fff)}.login-card{width:min(420px,100%);background:var(--app-card);border-radius:18px;padding:32px 28px;box-shadow:0 20px 50px #1f6feb1f}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:6px}.login-logo{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#1f6feb,#5b9bff);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700}.shell{min-height:100%;display:flex}.sidebar{width:var(--sidebar-w);flex:0 0 var(--sidebar-w);background:#101828;color:#cbd5e1;display:flex;flex-direction:column;padding:18px 14px;position:sticky;top:0;height:100vh}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:4px 6px 18px;color:#fff;font-weight:600;letter-spacing:.5px}.sidebar-logo{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#1f6feb,#6aa6ff);display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700;color:#fff}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:9px;color:#cbd5e1;cursor:pointer;font-size:14.5px;transition:background .15s ease}.nav-item:hover{background:#ffffff14;color:#fff}.nav-item.active{background:var(--app-primary);color:#fff}.sidebar-footer{margin-top:auto;font-size:12px;color:#64748b;padding:10px 8px 0;line-height:1.6}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:var(--topbar-h);background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--app-border);display:flex;align-items:center;gap:12px;padding:0 18px;position:sticky;top:0;z-index:20}.topbar-title{font-size:16px;font-weight:600;white-space:nowrap}.topbar-spacer{flex:1}.content{flex:1;min-height:0;padding:18px}.content.plain{padding:0}.students-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px;height:calc(100vh - var(--topbar-h) - 36px)}.students-pane{background:var(--app-card);border:1px solid var(--app-border);border-radius:var(--app-radius);display:flex;flex-direction:column;min-height:0;overflow:hidden}.students-pane-head{padding:14px 14px 8px;border-bottom:1px solid var(--app-border);min-width:0}.group-strip{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.group-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--app-border);background:#fff;color:#4b5563;border-radius:999px;padding:3px 8px;font-size:12px;line-height:20px;font-family:inherit;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.group-chip:hover{border-color:#c7dbff;color:#1f6feb;background:#f7faff}.group-chip.active{border-color:#9cc3ff;background:#eef4ff;color:#1f6feb;font-weight:600}.group-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:0 0 7px}.group-count{color:#9ca3af;font-size:11px;font-weight:400}.group-chip.active .group-count{color:#5b8def}.group-menu-item{display:flex;align-items:center;gap:8px;min-width:150px}.group-menu-item .group-count{margin-left:auto}.student-badges{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}.students-list{flex:1;overflow-y:auto;padding:6px}.student-item{padding:10px 12px;border-radius:10px;cursor:pointer;border:1px solid transparent}.student-item:hover{background:#f5f8ff}.student-item.active{background:#eef4ff;border-color:#c7dbff}.student-item-top{display:flex;align-items:center;gap:8px}.student-name{font-weight:600;font-size:15px}.student-meta{font-size:12px;color:var(--app-muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-pane{background:var(--app-card);border:1px solid var(--app-border);border-radius:var(--app-radius);min-height:0;overflow-y:auto}.detail-empty{height:100%;display:flex;align-items:center;justify-content:center;padding:30px}.detail-body{padding:18px 20px 40px}.detail-header{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}.detail-avatar{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#1f6feb,#6aa6ff);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:600;flex:0 0 52px}.detail-title{min-width:200px;flex:1}.detail-name{font-size:22px;font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.record-card{border:1px solid var(--app-border);border-radius:10px;padding:12px 14px;margin-bottom:10px;background:#fff}.record-card:hover{border-color:#c7dbff}.record-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.record-title{font-weight:600;font-size:14.5px;line-height:1.5}.record-time{color:var(--app-muted);font-size:12px;white-space:nowrap}.record-fields{margin-top:6px;font-size:13px;color:#374151;line-height:1.65;display:grid;grid-template-columns:96px minmax(0,1fr);gap:2px 10px}.record-fields .label{color:var(--app-muted)}.record-content{margin-top:8px;font-size:13.5px;line-height:1.75;white-space:pre-wrap;word-break:break-word;color:#1f2937;background:#f8fafc;border-radius:8px;padding:10px 12px}.tag-row{display:flex;gap:6px;flex-wrap:wrap}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 10px}.section-title h3{margin:0;font-size:15.5px}.muted{color:var(--app-muted);font-size:13px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.field-grid .span-2{grid-column:span 2}.mobile-only{display:none}@media(max-width:900px){.sidebar{display:none}.topbar{padding:0 12px}.content{padding:12px 12px calc(var(--tabbar-h) + 16px)}.content.plain{padding-bottom:calc(var(--tabbar-h) + 10px)}.mobile-only{display:flex}.desktop-only{display:none!important}.students-layout{display:block;height:auto}.students-pane{border:none;background:transparent}.students-pane-head{background:transparent;border-bottom:none;padding:0 0 8px}.students-list{padding:0}.student-item{background:#fff;border:1px solid var(--app-border);margin-bottom:8px;padding:13px 14px}.detail-pane{border:none;background:transparent}.detail-body{padding:4px 2px 30px}.field-grid{grid-template-columns:minmax(0,1fr)}.field-grid .span-2{grid-column:span 1}.record-fields{grid-template-columns:82px minmax(0,1fr)}}.tabbar{position:fixed;left:0;right:0;bottom:0;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--app-border);display:flex;z-index:50}.tabbar-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;color:var(--app-muted);padding-top:6px}.tabbar-item.active{color:var(--app-primary)}.tabbar-item .anticon{font-size:19px}.fab{position:fixed;right:18px;bottom:calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom));width:52px;height:52px;border-radius:50%;background:var(--app-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 8px 20px #1f6feb59;z-index:60;border:none;cursor:pointer}@media(min-width:901px){.fab,.tabbar{display:none!important}}.detail-tabs .ant-tabs-nav{margin-bottom:14px}.stat-strip{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 4px}.stat-pill{background:#f5f8ff;border:1px solid #e2ebff;border-radius:999px;padding:3px 10px;font-size:12.5px;color:#2456b3}.import-drop{border:1.5px dashed #c7d2e5;border-radius:12px;background:#fbfcff;padding:22px;text-align:center}.import-map-row{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:8px}.sensitive-cell{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.4px}.overview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px 18px}.overview-item{font-size:13.5px;line-height:1.6;word-break:break-word}.overview-item .label{color:var(--app-muted);margin-right:6px}.summary-box{white-space:pre-wrap;line-height:1.8;font-size:14px;background:#f8fafc;border:1px solid var(--app-border);border-radius:10px;padding:14px}.ant-tag{margin-inline-end:4px}
