@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--bg:#fffbfc;--ink:#4d3d45;--muted:#87767f;--line:#f3e5eb;--white:#fff;--green:#c27895;--mint:#fdf1f6;--purple:#9387b8;--blue:#5f86a8;--orange:#b88252;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans SC',system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.75}a{color:var(--green);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #a99bc9}button{border:0}input,select,textarea{width:100%;background:#fff;border:1px solid #eedee6;border-radius:8px;padding:11px 12px;color:var(--ink);font-size:14px}input::placeholder,textarea::placeholder{color:#9c8a93}input[type=checkbox],input[type=radio]{width:16px;height:16px;accent-color:var(--green);padding:0}textarea{resize:vertical}label{font-size:13px;color:var(--muted)}.top{max-width:1232px;margin:auto;padding:25px 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-size:16px;font-weight:700;line-height:1.4}.brand-icon{display:grid;place-items:center;background:var(--green);color:white;border-radius:9px;width:40px;height:40px;font-size:23px}.brand-sub{display:block;font-size:10px;font-weight:400;letter-spacing:2px;margin-top:4px;color:var(--muted)}.edition{font-family:monospace;font-size:11px;color:var(--muted);letter-spacing:1px}main{max-width:1160px;margin:auto;padding:0 28px}.hero{display:grid;grid-template-columns:1.35fr 1fr;gap:72px;align-items:center;padding:62px 0 48px}.eyebrow{font-size:11px;letter-spacing:2.5px;color:var(--green);font-weight:700}h1{font-size:clamp(30px,4.2vw,49px);line-height:1.37;letter-spacing:-1.5px;margin:16px 0 20px;font-weight:700}h1 span{color:var(--green)}.lead{font-size:15px;color:var(--muted);max-width:480px;margin:0 0 25px;line-height:1.9}.hero-note{display:flex;align-items:center;gap:8px;font-size:12px}.dot{width:7px;height:7px;background:var(--green);border-radius:50%}.snapshot{background:var(--mint);padding:27px 28px;border-radius:22px;position:relative;overflow:hidden;border:1px solid #f2dfe8}.snapshot-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600}.small-arrow{display:grid;place-items:center;width:30px;height:30px;background:#fff9;border-radius:50%;font-size:22px}.stat-row{display:flex;gap:26px;margin:20px 0}.stat-row>div{display:flex;flex-direction:column;flex:1}.stat-row strong{font-size:43px;line-height:1.2;font-family:Arial,sans-serif;font-weight:500;letter-spacing:-2px}.stat-row span{font-size:11px;margin-top:8px;color:#8f717d}.snapshot p{font-size:12px;color:#8f717d;margin:21px 0 18px}.text-link{display:flex;justify-content:space-between;text-decoration:none;border-top:1px solid #f0dce6;padding-top:14px;font-size:12px;font-weight:600}.principle{border:1px solid var(--line);display:flex;align-items:center;gap:14px;border-radius:12px;padding:14px 20px;color:var(--muted);background:#fffdfe}.principle p{margin:0;font-size:12px}.principle b{color:var(--ink)}.principle-icon{border:1px solid #87969b;flex-shrink:0;width:20px;height:20px;display:grid;place-items:center;line-height:1;border-radius:50%;font-family:serif}.tabs{display:flex;gap:30px;border-bottom:1px solid #eee2e8;margin:38px 0 32px}.tabs button{padding:14px 0;background:none;position:relative;font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap}.tabs button.active{color:var(--green)}.tabs button.active:after{content:'';height:3px;background:var(--green);position:absolute;bottom:-1px;left:0;right:0}.tabs button span{font-size:10px;font-weight:400;margin-left:5px;background:#f8ebf1;padding:3px 6px;border-radius:5px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.section-heading h2{margin:0 0 6px;font-size:22px;letter-spacing:-.5px}.section-heading p{margin:0;color:var(--muted);font-size:12px}.updated{white-space:nowrap;font-size:10px;color:var(--muted);font-family:monospace}.filter-panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px}.search-label{display:block}.search-label span{display:block;margin-bottom:7px;font-size:11px;font-weight:500}.search-label input{background:#fffdfe;font-size:14px}.filter-row{display:grid;grid-template-columns:1fr 1.1fr 1.1fr 1.3fr auto;gap:12px;align-items:end;margin-top:14px}.filter-row label{font-size:11px}.filter-row select{display:block;margin-top:5px;padding:9px;font-size:12px}.quiet{background:none;color:var(--muted);padding:10px 12px;font-size:12px;text-decoration:underline;text-underline-offset:4px}.filter-bottom{border-top:1px solid #f8eff3;display:flex;justify-content:space-between;gap:10px;padding-top:14px;margin-top:17px;font-size:11px;color:var(--muted)}.checkbox{display:flex;align-items:center;gap:8px;font-size:12px}.legend{display:flex;gap:20px;margin:20px 0;color:var(--muted);font-size:10px;flex-wrap:wrap}.legend>span{display:flex;align-items:center;gap:5px}.legend-dot{height:6px;width:6px;border-radius:50%;display:inline-block}.green{background:#c7809c}.blue{background:#7498bd}.orange{background:#c7935c}.gray{background:#939c9f}.cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}.card-main{padding:24px 24px 18px;flex:1}.card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:16px}.card-category{font-size:10px;color:var(--muted)}.pill{font-size:10px;padding:4px 9px;border-radius:5px;font-weight:500;white-space:nowrap}.pill.no{background:#eff8f3;color:#4f8c70}.pill.recommended{background:#f1f6fb;color:#6386ab}.pill.required{background:#fdf5eb;color:#b37e4f}.pill.unknown{background:#edf0ef;color:#627277}.card h3{font-size:19px;margin:0 0 2px;line-height:1.6}.graduate-name{font-size:13px;font-weight:500;margin:0 0 10px}.program-name{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 13px}.route-label{font-size:10px;color:#7c6d91;border-left:2px solid #bdadcf;padding-left:9px;margin:14px 0}.contact-summary{font-size:12px;line-height:1.9;margin:12px 0 16px}.date-grid{display:grid;grid-template-columns:70px 1fr;gap:5px;font-size:11px;border-top:1px solid #f8eff3;padding-top:14px}.date-grid dt{color:var(--muted)}.date-grid dd{margin:0}.expired{background:#fbf3f2;border:1px solid #f2e0de;color:#b07a74;padding:9px 12px;border-radius:7px;margin:0 0 14px;font-size:11px}.card details{border-top:1px solid #f6ecf1;padding:13px 24px;background:#fffdfe;font-size:11px}.card summary{cursor:pointer;font-weight:500;color:var(--green)}.evidence{padding:12px 0 5px}.evidence h4{font-size:11px;margin:12px 0 5px}.evidence p{margin:5px 0;color:var(--muted);line-height:1.9}.evidence blockquote{margin:8px 0;padding:9px 12px;background:#fdf3f7;border-left:2px solid #e2bfd0;color:#886876;font-size:12px}.source-link{display:block;overflow-wrap:anywhere;margin:10px 0 4px}.small{font-size:10px}.under-note{font-size:11px;line-height:1.9;color:var(--muted);margin:23px 0}.empty{grid-column:1/-1;padding:45px;background:white;border:1px dashed var(--line);border-radius:12px;text-align:center;color:var(--muted)}.scope-notes{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}.scope-notes>div{background:#fcedf3;padding:22px;border-radius:14px}.mini-label{font-size:10px;color:var(--green);font-weight:600;letter-spacing:1px}.scope-notes h3{font-size:16px;margin:7px 0}.scope-notes p,.next-box p{font-size:12px;color:var(--muted);margin:6px 0;line-height:1.9}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:14px}table{width:100%;border-collapse:collapse;font-size:11px;text-align:left;min-width:690px}th{background:#fcf2f6;font-weight:500;color:#8e737f;padding:14px 18px}td{padding:15px 18px;border-top:1px solid #f6ecf1;vertical-align:top}td:first-child{width:22%;font-size:12px;font-weight:500}td:nth-child(2),td:nth-child(3){white-space:nowrap}td:last-child{color:var(--muted)}.coverage-tag{display:block;font-size:10px;color:var(--green);margin-bottom:3px}.next-box{padding:24px;border:1px solid var(--line);border-radius:14px;margin-top:22px}.next-box h3{margin:0 0 8px;font-size:16px}.muted{color:var(--muted)}.primary,.secondary{padding:12px 20px;border-radius:8px;font-size:12px;font-weight:500}.primary{background:var(--green);color:#fff}.primary span{margin-left:18px}.secondary{background:white;border:1px solid var(--line);color:var(--ink)}footer{margin-top:55px;border-top:1px solid var(--line);padding:28px 0 38px;display:flex;justify-content:space-between;gap:24px}footer b{font-size:12px}footer span{display:block;font-size:10px;color:var(--muted);margin-top:3px}footer p{font-size:10px;margin:0;color:var(--muted);text-align:right;line-height:1.9}[hidden]{display:none!important}@media(max-width:800px){.hero{gap:30px;padding:40px 0 32px;grid-template-columns:1.1fr 1fr}h1{font-size:34px}.lead{font-size:13px}.snapshot{padding:22px}.stat-row{gap:12px}.stat-row strong{font-size:35px}.filter-row{grid-template-columns:1fr 1fr}.filter-row .quiet{grid-column:2}.cards{gap:14px}.card-main{padding:20px}.card details{padding:13px 20px}.section-heading{align-items:flex-start}.updated{display:none}}@media(max-width:580px){.top{padding:18px 20px}.brand{font-size:14px}.edition{font-size:9px}.brand-sub{font-size:9px}.brand-icon{width:34px;height:34px;font-size:20px}main{padding:0 20px}.hero{grid-template-columns:1fr;gap:25px;padding:30px 0}.eyebrow{font-size:10px}h1{font-size:36px;margin:13px 0}.lead{margin-bottom:16px;max-width:100%;font-size:13px}.snapshot{padding:20px 23px;border-radius:16px}.snapshot-top{font-size:11px}.small-arrow{width:25px;height:25px;font-size:18px}.stat-row{margin:12px 0}.stat-row strong{font-size:34px}.stat-row span{font-size:10px;margin-top:5px}.snapshot p{margin:15px 0 12px;font-size:11px}.text-link{padding-top:11px}.principle{padding:13px;gap:10px;align-items:flex-start}.principle p{font-size:10px}.principle-icon{width:17px;height:17px;margin-top:4px}.tabs{gap:20px;margin:25px 0}.tabs button{font-size:12px}.tabs button span{display:none}.section-heading h2{font-size:19px}.section-heading p{font-size:11px}.filter-panel{padding:15px}.filter-row{gap:10px}.filter-bottom{display:block}.filter-bottom>span{display:block;margin-top:10px}.filter-row select{max-width:100%;font-size:11px}.legend{gap:12px;font-size:9px}.cards{grid-template-columns:1fr}.scope-notes{grid-template-columns:1fr;gap:12px}.scope-notes>div{padding:18px}footer{display:block;margin-top:38px}footer p{text-align:left;margin-top:17px}.card h3{font-size:19px}}

.extra-filters{display:flex;gap:24px;align-items:end;margin:15px 0}.extra-filters label{min-width:220px;font-size:11px}.extra-filters select{display:block;margin-top:5px;padding:9px;font-size:12px}.extra-filters p{font-size:10px;color:var(--muted);margin:0 0 8px;line-height:1.9}.pending-note{background:#eef0fa;border:1px solid #d5d9e8;color:#5f6386;padding:9px 12px;border-radius:7px;margin:0 0 14px;font-size:11px}@media(max-width:580px){.extra-filters{display:block}.extra-filters p{margin-top:10px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.contact-control{padding:23px 26px;margin-bottom:16px;border:1px solid #f5e2eb;background:#fdf2f6;border-radius:18px}.range-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.range-heading h2{font-size:17px;margin:4px 0 0}.range-heading output{padding:6px 12px;border:1px solid #eed8e3;border-radius:20px;color:var(--green);font-size:12px;background:#fff9}.contact-control input[type=range]{appearance:none;-webkit-appearance:none;height:9px;padding:0;border:0;border-radius:10px;margin:26px 0 14px;background:linear-gradient(to right,var(--green) 0%,var(--green) var(--range-progress,100%),#f1dfe8 var(--range-progress,100%),#f1dfe8 100%);cursor:pointer;touch-action:pan-y}.contact-control input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;background:var(--green);border:4px solid #fff;border-radius:50%;box-shadow:0 1px 5px #60203d44}.contact-control input[type=range]::-moz-range-thumb{width:18px;height:18px;background:var(--green);border:4px solid #fff;border-radius:50%}.range-ticks{display:flex;justify-content:space-between;gap:10px}.range-ticks button{padding:6px 0;background:none;color:#8c7782;font-size:11px}.range-ticks button.selected{color:var(--green);font-weight:700}.range-bottom{border-top:1px solid #f7edf2;margin-top:13px;padding-top:13px;display:flex;gap:15px;justify-content:space-between;align-items:center}.range-bottom p{font-size:10px;margin:0;color:var(--muted);max-width:510px}#shared-filters{margin-bottom:28px}.table-key{display:flex;gap:20px;flex-wrap:wrap;margin:14px 0;font-size:10px;color:var(--muted)}.table-key b{color:var(--ink)}.comparison-wrap{max-height:73vh;overflow:auto;position:relative;scrollbar-width:auto}.comparison-wrap:focus-visible{outline:3px solid #a99bc9}#comparison-table{min-width:2120px;table-layout:fixed}#comparison-table thead th{position:sticky;top:0;z-index:3;background:#fcf0f5;padding:14px 15px;font-size:11px}#comparison-table thead th:first-child,#comparison-table .program-cell{position:sticky;left:0;width:260px;box-shadow:3px 0 5px #4d1d370b}#comparison-table thead th:first-child{z-index:5}#comparison-table .program-cell{background:#fff;z-index:2}#comparison-table td{padding:17px 15px;font-size:11px;line-height:1.85}#comparison-table tr:hover td{background:#ffffff}#comparison-table thead th:nth-child(3){width:150px}#comparison-table thead th:nth-child(4){width:115px}#comparison-table thead th:nth-child(5){width:190px}#comparison-table thead th:nth-child(6){width:150px}#comparison-table thead th:nth-child(7){width:230px}#comparison-table thead th:nth-child(8){width:250px}#comparison-table thead th:nth-child(9){width:290px}#comparison-table thead th:nth-child(10){width:220px}#comparison-table thead th:nth-child(11){width:125px}#comparison-table small,.inventory-table small,#school-table small{display:block;color:var(--muted);font-size:10px;line-height:1.8;margin-top:5px}.table-program{display:block;font-size:12px;font-weight:500;margin:3px 0}.table-route{display:block;border-left:2px solid #bfaece;color:#7c6d91;margin-top:12px;padding-left:8px;font-size:10px}.cell-detail summary{font-size:11px;color:var(--green);cursor:pointer}.cell-detail p{margin:8px 0}.stats-block+.stats-block{margin-top:15px;border-top:1px solid var(--line);padding-top:12px}.paper-link+.paper-link{margin-top:10px}.paper-link small{display:block;color:var(--muted);font-size:10px}.missing{color:#8b9498;font-size:10px}.row-detail{padding-left:0;display:block;margin-top:6px}.availability-closed,.availability-cancelled{color:#b88076!important}.availability-unpublished,.availability-conditional{color:#9385b5!important}.card-selection{border-top:1px solid #f8eff3;margin-top:16px;padding-top:13px;font-size:11px}.card-selection b{font-size:10px;color:var(--green)}.card-selection p{margin:5px 0 0;color:var(--muted);line-height:1.9}.inventory-controls{display:flex;gap:16px;align-items:end;margin:28px 0 15px}.inventory-controls label:first-child{flex:1}.inventory-controls label{font-size:11px}.inventory-controls input,.inventory-controls select{display:block;margin-top:6px}.inventory-controls>span{font-size:10px;color:var(--muted);white-space:nowrap;padding-bottom:10px}.inventory-table{min-width:900px}.inventory-table td:first-child{width:32%}.inventory-table th:nth-child(2){width:20%}.inventory-table th:nth-child(4){width:18%}.tabs{gap:27px}.tabs button{font-size:13px}@media(max-width:800px){.tabs{gap:19px}.tabs button{font-size:12px}.range-bottom{display:block}.range-bottom p{margin-top:10px}.range-heading output{font-size:10px;white-space:nowrap}.comparison-wrap{max-height:68vh}}@media(max-width:580px){.tabs{gap:0;justify-content:space-between}.tabs button{font-size:11px;letter-spacing:-.4px}.contact-control{padding:18px 16px}.range-heading{align-items:flex-start;gap:8px}.range-heading h2{font-size:14px;max-width:180px}.range-heading output{font-size:9px;padding:5px 8px;white-space:normal;max-width:114px}.range-ticks{gap:7px}.range-ticks button{font-size:9px}.range-bottom .checkbox{font-size:11px}.section-heading{align-items:start}.section-heading .secondary{font-size:10px;padding:9px 11px;white-space:nowrap}.table-key{gap:7px}.table-key span{display:block;width:100%;font-size:9px}#comparison-table thead th:first-child,#comparison-table .program-cell{width:165px}#comparison-table{min-width:2050px}.inventory-controls{display:block}.inventory-controls label{display:block;margin-top:12px}.inventory-controls>span{display:block;margin-top:10px}.hero-note{font-size:10px}}

@media(min-width:801px){.filter-row{grid-template-columns:1fr 1.1fr 1.1fr 1.1fr 1.1fr auto}}

.pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 12px 0 18px;
  font-size: 12px;
  color: var(--muted);
}
.pager label { margin-left: auto; white-space: nowrap; }
.pager select { width: auto; padding: 5px 8px; margin: 0 4px; }
.pager button:disabled, .secondary:disabled { opacity: .45; cursor: default; }
#comparison-table { min-width: 2400px; }
#comparison-table :is(th, td):nth-child(10) { width: 260px; }
#comparison-table :is(th, td):nth-child(11) { width: 125px; }
.career-block + .career-block { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
@media (min-width: 801px) {
  .filter-row { grid-template-columns: repeat(6, minmax(0, 1fr)) auto; }
}
@media (max-width: 390px) {
  .pager label { margin-left: 0; }
}

.subject-filter { border: 0; margin: 16px 0 0; padding: 0; min-inline-size: 0; }
.subject-filter legend { color: var(--ink); font-size: .9rem; font-weight: 700; margin-bottom: 8px; }
.subject-options { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.subject-options label { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; background: var(--white); color: var(--ink); font-size: .82rem; }
.subject-options label:has(input:checked) { background: var(--mint); border-color: var(--green); }
.subject-options input { margin: 0; accent-color: var(--green); }
.subject-filter p, .subject-note { margin: 6px 0 0; color: var(--muted); font-size: .78rem; }
.basic-fields{margin:12px 0}.basic-fields dt{font-weight:700;margin-top:9px}.basic-fields dd{margin:3px 0 0;line-height:1.55}.basic-fields a{display:inline-block;margin-inline-start:.35em}.inventory-table .cell-detail{margin:8px 0}
.school-control{margin:0 0 14px}.school-picker{background:#fff;border:1px solid #f7edf2;border-radius:12px;padding:10px 14px}.school-picker summary,.directory-group summary{cursor:pointer;font-weight:700}.school-picker .subject-options{margin:10px 0}.school-picker button{margin-top:6px}.graduate-row th{background:#fdf2f6;text-align:left}.graduate-row small{display:inline;margin-inline-start:.6em;font-weight:400}.directory-program{border-top:1px solid #f4e8ee;padding:12px 0}.directory-group summary{padding-bottom:8px}.inventory-table td:first-child{width:33%}

#comparison-table thead th:nth-child(2){width:155px} #comparison-table .program-cell,#comparison-table .admission-cell{vertical-align:top;overflow-wrap:anywhere} #comparison-table .admission-cell{background:#fffdfe} #comparison-table .program-start td{border-top:2px solid #f3e5eb} #comparison-table .graduate-row th{padding:12px 15px;font-size:12px}

.tabs{margin-top:14px;margin-bottom:18px;gap:8px 24px;justify-content:flex-start;flex-wrap:wrap}
.favorites-count{display:inline-block;min-width:1.4em;margin-inline-start:.2em;padding:0 .3em;border-radius:8px;background:#fcedf4;color:#b36b88;text-align:center;font-variant-numeric:tabular-nums}
.favorite-button{display:inline-block;min-height:34px;margin-top:8px;padding:4px 9px;border:1px solid #ebd5e0;border-radius:7px;background:#fff;color:#b36b88;font-size:12px;font-weight:650;line-height:1.35;cursor:pointer}
.favorite-button[aria-pressed="true"]{background:#fcecf3;border-color:#dfaec2}
.favorite-button:focus-visible{outline:2px solid #ba6f8c;outline-offset:2px}
#favorites-empty p{margin:0 0 12px}
@media(max-width:600px){.tabs{gap:0 15px;margin-top:8px;margin-bottom:12px}}

.tabs .study-launch{display:inline-flex;align-items:center;align-self:stretch;gap:.3em;padding:9px 0;color:var(--green);font-size:14px;font-weight:700;text-decoration:none;border-bottom:2px solid transparent}
.tabs .study-launch:hover{border-color:var(--green)}.study-entry{padding:6px 8px;display:inline-block;font-weight:600;font-size:13px}
@media(max-width:580px){.tabs .study-launch{font-size:12px}}

/* === 2026-11-19 主站可视化与易读性升级（零信息丢失） === */
.live-dashboard{margin:0 0 18px;display:flex;flex-direction:column;gap:12px}
.dash-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.dash-kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 15px}
.dash-kpi strong{display:block;font-size:24px;line-height:1.2;color:var(--green);font-variant-numeric:tabular-nums}
.dash-kpi.accent-green strong{color:#4f8c70}
.dash-kpi.accent-blue strong{color:#5f86a8}
.dash-kpi.accent-purple strong{color:#8577b3}
.dash-kpi span{display:block;font-size:12px;font-weight:700;margin-top:2px}
.dash-kpi small{display:block;font-size:10.5px;color:var(--muted);margin-top:2px}
.dash-bars{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dash-bar-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 16px}
.dash-bar-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:700;margin-bottom:8px}
.dash-bar-head small{font-weight:500;color:var(--muted);font-size:11px}
.stacked-bar{display:flex;height:14px;border-radius:999px;overflow:hidden;background:#f9eff4;gap:2px}
.stacked-bar button{padding:0;border:0;height:100%;transition:filter .14s ease;min-width:4px}
.stacked-bar button:hover{filter:brightness(1.1)}
.bar-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px;font-size:11px;color:var(--muted)}
.bar-legend button{background:none;padding:0;font-size:11px;color:var(--muted);display:inline-flex;align-items:center;gap:5px}
.bar-legend button:hover{color:var(--green);text-decoration:underline}
.bar-dot{width:8px;height:8px;border-radius:50%;display:inline-block}

.filters-shell{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;margin-bottom:22px}
.quick-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}
.quick-search{flex:1;min-width:240px}
.quick-search input{padding:10px 13px;background:#ffffff;border-radius:10px}
.quick-chips{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.qchip{padding:7px 12px;border-radius:999px;border:1px solid #f6ebf0;background:#fff;color:var(--ink);font-size:12px;font-weight:600;transition:all .14s ease}
.qchip:hover{border-color:var(--green);color:var(--green)}
.qchip.active{background:var(--green);border-color:var(--green);color:#fff}
.compact-contact{padding:14px 18px;margin-bottom:12px;border-radius:14px}
.compact-contact input[type=range]{margin:14px 0 8px}
.compact-contact .range-bottom{margin-top:8px;padding-top:8px}
.advanced-filters{border:1px solid #f3e5eb;border-radius:12px;background:#fffdfe;padding:10px 14px}
.advanced-filters summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:700;color:var(--green);list-style:none}
.advanced-filters summary::-webkit-details-marker{display:none}
.adv-badge{font-size:11px;font-weight:600;padding:2px 9px;border-radius:999px;background:#fbeef4;color:#a86984}
.adv-badge.has-active{background:var(--green);color:#fff}
.advanced-body{margin-top:12px;padding-top:12px;border-top:1px solid #f6ebf0}
.filters-shell .filter-bottom{margin-top:12px;padding-top:10px;align-items:center}
.filters-shell .pager{margin:0}

.heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.view-toggle{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.view-toggle button{padding:7px 11px;font-size:12px;font-weight:600;background:#fff;color:var(--muted)}
.view-toggle button.active{background:var(--green);color:#fff}
#comparison-table.compact-mode{min-width:1460px}
#comparison-table.compact-mode .col-extra{display:none}
.paper-pill-link{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;background:#fffbfc;border:1px solid #eedae4;color:var(--green);font-size:11px;font-weight:600;text-decoration:none;margin:2px 4px 2px 0}
.paper-pill-link:hover{background:var(--green);color:#fff;border-color:var(--green)}
.ratio-chip{display:inline-block;padding:2px 7px;border-radius:6px;background:#f1f9f4;color:#4f8c70;font-size:11px;font-weight:700;margin:0 4px 4px 0}
.ratio-chip.mid{background:#f2f7fc;color:#5f86a8}
.ratio-chip.high{background:#fef6ee;color:#b37e4f}
.ratio-chip.none{background:#f1eff0;color:#74696e;font-weight:500}
.ratio-sort-bar{display:grid;grid-template-columns:1fr 1.15fr 1.15fr 1.4fr;gap:10px;align-items:end;padding:11px 14px;margin-bottom:12px;border:1px solid #f3e5eb;border-radius:14px;background:#fffdfe}
.ratio-sort-bar label{font-size:11px;font-weight:600;color:var(--muted)}
.ratio-sort-bar select{display:block;margin-top:4px;padding:8px 9px;font-size:12px;border-radius:8px}
.ratio-sort-hint{margin:0;font-size:11px;line-height:1.55;color:var(--muted)}

/* 路径详情卡片信息分层（零丢失） */
.card{border-left:4px solid var(--line)}
.card.level-no{border-left-color:#4f8c70}
.card.level-recommended{border-left-color:#6386ab}
.card.level-required{border-left-color:#cfa06b}
.card.level-unknown{border-left-color:#939c9f}
.card-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 12px}
.card-metric{background:#ffffff;border:1px solid #f6ebf0;border-radius:10px;padding:8px 10px}
.card-metric span{display:block;font-size:10px;color:var(--muted);font-weight:600}
.card-metric b{display:block;font-size:12px;color:var(--ink);margin-top:2px;line-height:1.4}
.card-papers-face{border-top:1px solid #f8eff3;margin-top:12px;padding-top:10px;font-size:11px}
.card-papers-face>b{display:block;font-size:10.5px;color:var(--green);margin-bottom:5px}

@media(max-width:860px){.dash-kpis{grid-template-columns:repeat(2,1fr)}.dash-bars{grid-template-columns:1fr}.card-metrics{grid-template-columns:1fr}.ratio-sort-bar{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.quick-bar{flex-direction:column;align-items:stretch}.heading-actions{width:100%;justify-content:space-between}.ratio-sort-bar{grid-template-columns:1fr}}
