:root{--page:#f2f4f7;--surface:#fff;--surface-subtle:#f7f9fa;--ink:#17212b;--muted:#68737e;--line:#dce2e7;--line-strong:#c9d1d8;--accent:#087e68;--accent-dark:#056856;--accent-soft:#e7f4f0;--danger:#b33a3a;color:var(--ink);background:var(--page);font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;font-synthesis:none}*{box-sizing:border-box}#app,body,html{min-width:1180px;min-height:100%;margin:0}body{min-height:100vh;background:var(--page)}button,input{font:inherit}button{letter-spacing:0}button:focus-visible,input:focus-visible{outline:2px solid #006bd6;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.45}.app-shell{min-height:100vh}.app-header{height:64px;border-bottom:1px solid var(--line);background:var(--surface)}.header-inner{display:grid;grid-template-columns:248px minmax(0,1fr) auto;align-items:stretch;width:min(1600px,calc(100% - 48px));height:100%;margin:0 auto}.brand{display:flex;align-items:center;gap:11px}.brand-mark{display:grid;width:34px;height:34px;place-items:center;border-radius:6px;color:#fff;background:var(--accent)}.brand-copy{display:flex;flex-direction:column}.brand-copy strong{font-size:15px;line-height:1.4}.brand-copy span{color:#8a949e;font-size:9px;letter-spacing:.08em}.tool-nav{display:flex;align-items:stretch;gap:4px}.nav-item{position:relative;display:inline-flex;align-items:center;gap:7px;min-width:112px;padding:0 16px;border:0;color:#596571;background:transparent;cursor:pointer;font-size:13px;font-weight:600}.nav-item:after{position:absolute;right:16px;bottom:0;left:16px;height:2px;background:transparent;content:""}.nav-item:hover{color:var(--ink);background:#f7f9fa}.nav-item.is-active{color:var(--accent-dark);background:var(--accent-soft)}.nav-item.is-active:after{background:var(--accent)}.data-status{display:inline-flex;align-items:center;align-self:center;gap:7px;height:30px;padding:0 10px;border:1px solid var(--line);border-radius:4px;color:var(--muted);background:var(--surface-subtle);font-size:11px}.app-main{width:min(1600px,calc(100% - 48px));margin:0 auto;padding:24px 0 32px}.tool-page{position:relative}.tool-heading{display:flex;align-items:flex-end;justify-content:space-between;min-height:48px;margin-bottom:16px}.eyebrow{margin:0 0 4px;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:.08em}.tool-heading h1{margin:0;font-size:22px;line-height:1.3;letter-spacing:0}.data-source{color:#77828d;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.workspace{display:grid;grid-template-columns:360px minmax(0,1fr);min-height:calc(100vh - 184px);border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--surface);box-shadow:0 8px 30px rgba(23,33,43,.05)}.query-pane{position:relative;padding:24px;border-right:1px solid var(--line);background:var(--surface-subtle)}.pane-heading{display:flex;align-items:flex-start;gap:11px}.pane-heading.compact{align-items:center}.step-index{display:grid;flex:0 0 auto;width:28px;height:28px;place-items:center;border:1px solid #afd5cc;border-radius:4px;color:var(--accent-dark);background:var(--accent-soft);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;font-weight:700}.pane-heading h2{margin:0;font-size:15px;line-height:1.4;letter-spacing:0}.pane-heading p{margin:3px 0 0;color:var(--muted);font-size:11px}.control-label,.field-label{display:block;color:#4f5b66;font-size:11px;font-weight:650}.field-label{margin:28px 0 8px}.search-input{display:grid;grid-template-columns:20px minmax(0,1fr) 28px;align-items:center;gap:8px;min-height:44px;padding:5px 7px 5px 12px;border:1px solid var(--line-strong);border-radius:5px;color:#7a858f;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.search-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(8,126,104,.12)}.search-input.is-disabled{opacity:.65}.search-input input{width:100%;min-width:0;height:32px;padding:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:13px}.search-input input::-moz-placeholder{color:#9aa3ac}.search-input input::placeholder{color:#9aa3ac}.search-input input::-webkit-search-cancel-button{display:none}.icon-button{display:grid;width:28px;height:28px;padding:0;place-items:center;border:0;border-radius:4px;color:#68747f;background:transparent;cursor:pointer}.icon-button:hover{color:var(--ink);background:#eef1f3}.search-rules{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.rule-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.rule-row>span{width:56px;color:var(--muted);font-size:10px}.rule-row code{padding:3px 5px;border:1px solid #dfe4e8;border-radius:3px;color:#52606b;background:#fff;font-size:9px}.query-state{position:absolute;right:24px;bottom:24px;left:24px;display:flex;align-items:center;gap:8px;min-height:34px;padding:8px 10px;border:1px solid var(--line);border-radius:4px;color:var(--muted);background:#fff;font-size:11px}.query-state strong{color:var(--ink)}.state-dot{flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:#aab3bb}.state-dot.is-ready{background:#25a47f;box-shadow:0 0 0 3px #dff2ec}.state-dot.is-loading{background:#d19726}.state-dot.is-error{background:var(--danger)}.result-pane{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0}.result-toolbar{justify-content:space-between;gap:28px;min-height:83px;padding:14px 20px;border-bottom:1px solid var(--line)}.result-actions,.result-toolbar{display:flex;align-items:flex-end}.result-actions{gap:10px}.control-label{margin-bottom:6px}.segmented-control{display:flex;padding:3px;border:1px solid var(--line);border-radius:5px;background:#eef1f3}.segmented-control button{height:27px;padding:0 9px;border:0;border-radius:3px;color:#596571;background:transparent;cursor:pointer;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;white-space:nowrap}.segmented-control button:first-child{font-family:inherit}.segmented-control button:hover:not(.is-active){color:var(--ink);background:hsla(0,0%,100%,.6)}.segmented-control button.is-active{color:var(--accent-dark);background:#fff;box-shadow:0 1px 3px rgba(23,33,43,.13);font-weight:700}.copy-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;min-width:104px;padding:0 13px;border:1px solid var(--line-strong);border-radius:5px;color:#3e4a55;background:#fff;cursor:pointer;font-size:11px;font-weight:650}.copy-button:hover:not(:disabled){border-color:#9ca7b0;background:var(--surface-subtle)}.table-region{min-height:0;overflow:hidden}.table-scroll{width:100%;height:100%;max-height:calc(100vh - 268px);overflow:auto}.results-table{width:100%;border-collapse:collapse;table-layout:fixed}.results-table td,.results-table th{padding:11px 16px;border-bottom:1px solid #e8ecef;text-align:left;vertical-align:middle}.results-table th{position:sticky;top:0;z-index:1;color:#66717c;background:#f7f9fa;font-size:9px;font-weight:750}.results-table td,.results-table th{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.results-table td{color:#34404b;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.results-table td.school-name{color:var(--ink);font-family:inherit;font-size:12px;font-weight:600}.results-table tbody tr:hover{background:#f5faf8}.results-table.single-field td,.results-table.single-field th{width:100%}mark{padding:1px 2px;border-radius:2px;color:inherit;background:#d9f2eb}.empty-state{display:grid;min-height:420px;place-content:center;justify-items:center;color:#97a1aa;text-align:center}.empty-state h3{margin:13px 0 4px;color:#3d4954;font-size:13px;letter-spacing:0}.empty-state p{margin:0;color:var(--muted);font-size:11px}.loading-ring{width:28px;height:28px;border:2px solid #dce7e4;border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}.toast{position:fixed;right:24px;bottom:24px;z-index:10;padding:10px 14px;border-radius:5px;color:#fff;background:#25313c;box-shadow:0 8px 24px rgba(23,33,43,.2);font-size:12px}.toast-enter-active,.toast-leave-active{transition:opacity .15s ease,transform .15s ease}.toast-enter,.toast-leave-to{opacity:0;transform:translateY(6px)}@keyframes spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}