.tool-header .page-width{width:min(1200px,calc(100% - 32px))}

/* 紧凑型志愿结果表 */
.results-card table{min-width:1280px}
.results-card th{height:46px;padding:0 8px}.results-card td{padding:10px 8px}
.results-card th.risk-col{width:96px}.results-card th.school-col{width:220px}.results-card th.major-col{width:280px}.results-card th.plan-col{width:90px}.results-card th.history-col{width:290px}.results-card th.conditions-col{width:138px}.results-card th.action-col{width:86px}
.risk-cell>div{white-space:nowrap}.risk-cell .risk{width:31px;height:27px;font-size:15px}.risk-cell>b{font-size:15px}
.score-gap{display:inline-block;margin-top:5px;padding:0 6px;border-radius:9px;font-size:10px;font-weight:700}.score-gap.higher{color:#d9322d;background:#fff0ef}.score-gap.lower{color:#21875a;background:#eaf8f1}.score-gap.same{color:#8a6a17;background:#fff8da}
.school-title-line{display:flex;align-items:baseline;gap:6px}.school-title-line strong{display:inline!important;color:#292d36;font-size:15px}.school-title-line span{flex:none;padding:1px 5px;border-radius:3px;color:#e75b33;background:#fff2ed;font-size:10px;line-height:1.5}.school-cell p{margin:4px 0!important;line-height:1.45!important}.school-tags{margin:4px 0}.major-tags,.school-tags{gap:3px}.major-tags em,.school-tags em{padding:0 4px;font-size:10px}
.school-links{display:flex;gap:5px;margin-top:7px}.school-links a,.school-links span{padding:2px 6px;border:1px solid #ff8f88;border-radius:4px;color:#ef3232;text-decoration:none;font-size:10px}.school-links span{border-color:#e4e6e9;color:#9a9ea6}
.major-title{display:block!important;color:#292d36;line-height:1.45}.major-title>span{font-size:14px}.major-title .major-suffix{display:inline!important;margin-left:3px;color:#747983;font-size:10px!important;font-weight:500;line-height:1.45}.major-cell .restriction{margin:5px 0!important;color:#d85245;line-height:1.45!important}.major-meta-line{display:flex;align-items:center;gap:6px;min-height:24px;margin:4px 0}.major-meta-line .major-tags{margin:0}
.major-more{display:inline-flex}.major-more-trigger{padding:2px 8px;border:1px solid #ef8e89;border-radius:4px;color:#e93b36;background:#fff;cursor:pointer;font-size:10px}.major-tooltip{position:fixed;z-index:80;width:290px;max-height:260px;overflow:auto;padding:10px 12px;border:1px solid #f0d0cc;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(32,35,42,.18);text-align:left}.major-tooltip[hidden]{display:none}.major-tooltip>span{display:block;margin:0 0 7px;color:#686d77;font-size:11px;line-height:1.55}.major-tooltip>span:last-child{margin-bottom:0}.major-tooltip b{display:block;margin-bottom:1px;color:#282c34;font-size:11px}
.plan-cell p{margin:4px 0 1px;color:#565b65;font-size:11px}.plan-cell strong{font-size:21px}.plan-cell small{font-size:10px}
.admission-history{display:grid;grid-template-columns:62px 78px minmax(130px,1fr);gap:2px;align-items:center}.history-primary{padding-right:3px;border-right:1px solid #eceef2;text-align:center}.history-primary>b{display:block;color:#ef3232;font-size:11px}.history-primary>strong{display:block!important;color:#292d36;font-size:23px;line-height:1.25}.history-primary>strong small{display:inline;color:#777;font-size:10px;font-weight:400}.history-primary>span,.history-primary>i{display:block;color:#666c76;font-size:10px;font-style:normal}.history-past{display:grid;gap:4px}.history-past>span{display:grid;grid-template-columns:31px 1fr;line-height:1.3}.history-past b{color:#666;font-size:10px}.history-past em{color:#3f444d;font-size:11px;font-style:normal}.history-past i{grid-column:1/-1;color:#9297a1;font-size:9px;font-style:normal}.history-trend{min-width:0}.history-trend label{display:block;color:#888d97;font-size:9px;text-align:center}.trend-chart svg{display:block;width:100%;height:46px}.trend-chart line{stroke:#e7e9ed;stroke-width:1}.trend-chart polyline{fill:none;stroke:#ef3e3e;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.trend-chart circle{fill:#fff;stroke:#ef3e3e;stroke-width:2;cursor:help}.trend-chart text{fill:#969aa3;font-size:8px}.trend-empty{color:#9ba0a9;font-size:10px;text-align:center}
.conditions p{margin:0 0 5px;color:#676c75;font-size:10px;line-height:1.4}.conditions b{display:block;color:#333740;font-size:10px}.action-cell .add-btn{padding:6px 9px;white-space:nowrap}.add-btn.remove-pool-btn{color:#d93632;border-color:#f0aaa7;background:#fff}.add-btn.remove-pool-btn:hover{color:#fff;background:#d93632}
.result-toolbar{height:52px}.score-control{gap:6px;margin-left:20px}.my-score-field{display:flex;align-items:center;gap:5px;padding-right:10px;border-right:1px solid #e4e6ea}.my-score-field i{color:#777;font-size:11px;font-style:normal}.score-control .range-label{margin-left:2px;color:#8a8f99;font-size:11px}.score-number{height:32px;width:64px}.my-score-field .score-number{width:70px;border-color:#ff9b95;color:#db302d;font-weight:700}
.my-score-editor{display:flex;align-items:center;gap:5px;color:#4d525c;font-size:11px;white-space:nowrap}.my-score-editor .score-number{width:66px;border-color:#ff9b95;color:#d9322d;font-weight:700}.save-user-score{height:30px;padding:0 9px;border:1px solid #ef7771;border-radius:5px;color:#e8322f;background:#fff;cursor:pointer;font-size:11px;white-space:nowrap}.save-user-score:disabled{opacity:.45;cursor:not-allowed}#scoreChangeHint{max-width:108px;color:#969ba5;font-size:9px;line-height:1.25}
.risk-page-jump{display:flex;align-items:center;gap:6px;color:#777;font-size:11px}.risk-page-jump span:first-child{color:#e83632}.risk-page-jump span:last-child{color:#27945e}.risk-page-jump input{appearance:none;width:220px;height:7px;border-radius:5px;outline:0;background:linear-gradient(90deg,#ef3b35 0%,#f4b837 50%,#35a66d 100%)}.risk-page-jump input::-webkit-slider-thumb{appearance:none;width:17px;height:17px;border:3px solid #fff;border-radius:50%;background:#ef3232;box-shadow:0 1px 5px rgba(0,0,0,.25);cursor:pointer}.risk-page-jump input::-moz-range-thumb{width:13px;height:13px;border:3px solid #fff;border-radius:50%;background:#ef3232;box-shadow:0 1px 5px rgba(0,0,0,.25);cursor:pointer}.page-number-jump{display:flex;align-items:center;gap:4px;color:#666;font-size:12px}.page-number-jump input{width:54px;height:32px;border:1px solid #dfe2e7;border-radius:5px;text-align:center}.page-number-jump b{font-weight:500}

/* 筛选区桌面端高度压缩约 40% */
@media(min-width:701px){
  .mode-tabs{height:42px}.mode-tab{padding:9px 16px 8px;font-size:14px}.filter-card{margin-top:8px}.filter-row{grid-template-columns:86px 1fr;min-height:34px;padding:1px 12px}.filter-label{padding:5px 0;font-size:13px}.filter-options{gap:1px}.choice{min-width:0;padding:4px 7px;font-size:12px}.select-choice{display:none}.feature-row{min-height:34px}.search-row{gap:8px;padding:5px 12px}.search-box{width:260px;height:32px;padding:0 9px}.search-button{height:32px;padding:0 20px}.subject-row{min-height:38px;gap:9px;padding:4px 12px}.subject-choices{gap:4px}.subject-choices button{padding:3px 10px}.criteria-bar{min-height:34px;padding:3px 12px}
}

/* 右侧志愿表抽屉 */
.plan-overlay{position:fixed;inset:0;z-index:60;background:rgba(20,23,31,.38);backdrop-filter:blur(1px)}.plan-overlay[hidden]{display:none}.plan-drawer{position:fixed;top:0;right:0;z-index:61;width:min(1180px,95vw);height:100vh;margin:0;border-radius:12px 0 0 12px;box-shadow:-16px 0 45px rgba(15,18,25,.2);transform:translateX(104%);transition:transform .22s ease;overflow:hidden}.plan-drawer.open{transform:translateX(0)}.plan-drawer .plan-head{min-height:76px}.plan-drawer .table-wrap{height:calc(100vh - 77px);overflow:auto}.plan-table{min-width:1080px}.drawer-close{width:36px;height:36px;padding:0!important;border:0!important;border-radius:50%!important;font-size:24px!important}.plan-open{overflow:hidden}.side-rail .plan-rail-trigger{display:block;width:100%;padding:13px 16px;border:0;color:#fff;background:var(--red);writing-mode:vertical-rl;letter-spacing:3px;cursor:pointer}

@media(max-width:700px){
  .tool-header .page-width{width:calc(100% - 20px)}
  .filter-row{padding:5px 9px}.filter-label{padding:0 0 4px}.choice{padding:4px 8px}.search-row{padding:7px 9px}.subject-row{padding:7px 9px}.criteria-bar{min-height:38px;padding:5px 9px}
  .results-card table{min-width:0}.results-card tr{padding:11px}.results-card td{padding:7px 3px}
  .results-card td:nth-child(5),.results-card td:nth-child(6){display:grid;grid-template-columns:78px 1fr;align-items:start;border-top:1px dashed #e4e6ea}.results-card td:nth-child(5):before{content:"录取数据"}.results-card td:nth-child(6):before{content:"学校条件"}.results-card td:nth-child(7){display:block;border-top:0}.results-card td:nth-child(7):before{content:none}
  .results-card td:nth-child(5):before,.results-card td:nth-child(6):before{color:#858a94;font-size:11px}.admission-history{grid-template-columns:58px 72px minmax(105px,1fr);gap:3px;width:100%}.history-primary>strong{font-size:20px}.trend-chart svg{height:44px}.conditions-cell .conditions{width:100%}.school-links a,.school-links span{flex:1;text-align:center}.action-cell .add-btn{width:100%;height:38px}
  .major-tooltip{width:min(280px,calc(100vw - 20px))}.result-toolbar{height:auto}.score-control{margin:0;padding:9px;gap:4px;flex-wrap:nowrap}.my-score-field{gap:3px;padding-right:4px;border-right:0}.score-control .range-label{margin-left:0;font-size:10px}.score-number{width:54px;min-width:54px;padding:0 4px}.my-score-field .score-number{width:58px;min-width:58px}
  .score-control{overflow-x:auto}.my-score-editor .score-number{width:56px;min-width:56px}.save-user-score{padding:0 7px}#scoreChangeHint{display:none}
  .pagination{gap:8px;flex-wrap:wrap;padding:11px 7px}.risk-page-jump{order:-1;width:100%;justify-content:center}.risk-page-jump input{width:min(230px,65vw)}.page-number-jump input{width:48px}.plan-drawer{width:100vw;border-radius:0}.plan-drawer .plan-head{padding:12px}.plan-drawer .plan-actions{gap:5px}.plan-drawer .plan-actions button{padding:6px 8px}.plan-drawer .table-wrap{height:calc(100vh - 126px)}.side-rail .plan-rail-trigger{flex:1;padding:16px;color:#fff;background:var(--red);writing-mode:horizontal-tb;letter-spacing:1px}
}

/* 2026-08-30：院校分组与折叠式筛选 */
[hidden]{display:none!important}
.tool-header .page-width{width:min(1660px,calc(100% - 36px))}
.tool-top{height:64px!important;min-height:64px!important}.tool-brand img{width:46px!important;height:46px!important}.tool-brand strong{font-size:19px!important}.tool-brand small{font-size:11px!important}.tool-search{height:38px!important}.tool-nav{min-height:42px!important}.tool-nav a{padding-top:9px!important;padding-bottom:9px!important}
.personal-candidate{min-height:46px;margin-top:8px;padding:0 14px}.candidate-strip .candidate-name{font-size:17px}.candidate-strip span{padding:0 13px}.candidate-back{font-size:23px}.institution-entry{padding:6px 11px}
.workspace{padding-top:8px}.compact-filter-card{margin-top:0;overflow:visible}.filter-card-heading{min-height:42px;display:flex;align-items:center;justify-content:space-between;padding:5px 12px;border-bottom:1px solid #eceef2}.filter-card-heading>div{display:flex;align-items:center;gap:8px}.filter-card-heading strong{font-size:15px}.filter-card-heading span{color:#8d929c;font-size:11px}.filter-card-heading button{height:30px;padding:0 10px;border:0;border-radius:5px;color:#e83431;background:transparent;cursor:pointer}.filter-card-heading .filter-toggle{border:1px solid #f0aaa6;background:#fff7f6}.filter-toggle i{display:inline-block;margin-left:5px;font-style:normal;transition:transform .18s}.filter-toggle.open i{transform:rotate(180deg)}
.quick-filter-row{min-height:48px;display:flex;align-items:center;gap:10px;padding:6px 12px}.profile-facts{display:flex;gap:6px;flex:none}.profile-facts span{padding:5px 9px;border-radius:5px;color:#d9322f;background:#fff1f0;font-size:12px;font-weight:650}.batch-choices{flex:none}.batch-choices b{margin-right:4px;color:#4d525c;font-size:12px}.batch-choices .choice{padding:4px 8px;font-size:12px}.quick-filter-row .search-row{flex:1;gap:6px;padding:0}.quick-filter-row .search-box{width:min(230px,31%);height:32px}.quick-filter-row .search-button{height:32px;padding:0 17px}.inline-plan-button{height:32px;flex:none;padding:0 12px;border:1px solid #ef7771;border-radius:5px;color:#e8322f;background:#fff;cursor:pointer}.inline-plan-button b{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:3px;border-radius:9px;color:#fff;background:#ef3232;font-size:10px}
.advanced-filters{border-top:1px solid #eceef2}.advanced-filters .filter-row{grid-template-columns:82px 1fr;min-height:34px;padding:2px 12px}.advanced-filters .filter-label{padding:5px 0;font-size:12px}.advanced-filters .filter-options{gap:1px}.advanced-filters .choice{padding:3px 7px;font-size:11px}.advanced-filters .feature-row{min-height:34px}.province-filter-row{align-items:start}.region-options{padding:2px 0}.region-name{margin:3px 2px 3px 8px;padding:1px 4px;border-radius:3px;color:#8b9099;background:#f0f2f5;font-size:9px}.region-name:first-of-type{margin-left:2px}
.major-category-choices{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:3px 0}.major-category-choices .choice{display:inline-flex;align-items:center;gap:3px}.major-category-choices .choice small{color:#a0a4ad;font-size:9px}.major-category-choices .choice i{font-style:normal;color:#9da1aa;font-size:9px}.major-category-choices .choice.active small,.major-category-choices .choice.active i{color:#ef5d57}.filter-loading{color:#989da6;font-size:11px}.major-class-panel{margin:0 12px 5px 94px;padding:9px 11px;border:1px solid #f0d6d3;border-radius:7px;background:#fffafa;box-shadow:0 5px 16px rgba(70,35,31,.05)}.major-class-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.major-class-heading strong{font-size:12px}.major-class-heading button{border:0;color:#e63b36;background:transparent;cursor:pointer;font-size:10px}.major-class-choices{max-height:178px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-content:start;gap:5px;overflow:auto;padding-right:3px}.major-class-choice{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:4px 7px;border:1px solid #e6e8ec;border-radius:5px;color:#555b64;background:#fff;cursor:pointer;font-size:10px;text-align:left}.major-class-choice small{color:#a0a4ad;font-size:9px}.major-class-choice.active{color:#e8322f;border-color:#ef7771;background:#fff3f2}.major-class-choice.active small{color:#e8322f}.criteria-bar{min-height:31px;padding:3px 12px}.criteria-bar>span{font-size:11px}.criteria-summary{font-size:11px}
.result-toolbar{height:44px;margin-top:8px}.view-switch button{min-width:132px;padding:0 15px;font-size:12px}.score-control{margin-left:14px}.toolbar-actions button{padding:0 14px;font-size:11px}.results-card{margin-top:8px}.results-head{min-height:44px;padding:8px 14px}.results-head h2{font-size:15px}.results-card table{min-width:1320px}.results-card th{height:40px}.results-card td{padding-top:8px;padding-bottom:8px}
.school-expand-btn{min-width:68px;padding:7px 8px;border:1px solid #ef423d;border-radius:5px;color:#e9332f;background:#fff;cursor:pointer;white-space:nowrap}.school-expand-btn i{margin-left:4px;font-style:normal}.school-group-row{background:#fff}.school-group-row.expanded{background:#fffafa}.school-major-summary strong{font-size:13px!important}.school-major-summary span,.school-major-summary small{display:block;margin-top:4px;color:#7b808a;font-size:10px}.school-major-summary span{color:#e43b36}.group-plan-cell p{color:#8a8f98}.school-major-row{background:#fafbfc}.school-major-row:hover{background:#fff7f6!important}.school-major-row td{border-top:1px dashed #e3e6ea}.school-branch{display:flex;align-items:center;justify-content:center;gap:5px;color:#9196a0}.school-branch i{color:#ef4a45;font-style:normal}.school-branch span{font-size:10px}.same-school-note{color:#a0a4ac;font-size:10px}.school-major-row .school-links{display:none}

@media(max-width:1100px){
  .tool-top{height:auto!important;min-height:58px!important}.quick-filter-row{align-items:stretch;flex-wrap:wrap}.quick-filter-row .search-row{order:3;width:100%;flex-basis:100%}.quick-filter-row .search-box{width:calc(50% - 48px)}.inline-plan-button{margin-left:auto}.major-class-choices{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:700px){
  .tool-top{min-height:54px!important}.tool-brand img{width:38px!important;height:38px!important}.personal-candidate{margin-top:6px}.workspace{padding-top:6px}.filter-card-heading{align-items:flex-start}.filter-card-heading>div:last-child{gap:2px}.filter-card-heading button{padding:0 6px;font-size:11px}.quick-filter-row{gap:7px;padding:7px 9px}.profile-facts{width:100%;overflow-x:auto}.profile-facts span{white-space:nowrap}.batch-choices{width:100%;flex-wrap:nowrap;overflow-x:auto}.quick-filter-row .search-row{display:grid;grid-template-columns:1fr 1fr auto}.quick-filter-row .search-box{width:auto}.inline-plan-button{display:none}.advanced-filters .filter-row{grid-template-columns:1fr;padding:6px 9px}.advanced-filters .filter-label{padding:0}.region-options{max-height:150px;flex-wrap:wrap;overflow:auto}.major-category-choices{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.major-class-panel{margin:0 8px 6px;padding:8px}.major-class-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.result-toolbar{height:auto}.view-switch{height:42px}.score-control{padding:7px 9px}.results-card{margin-top:6px}.school-group-row td{display:block}.school-major-row .school-cell{display:none}.school-major-row{border-left:3px solid #f4aaa6}.school-major-summary{padding-top:3px!important}.school-expand-btn{width:100%}
}
