* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei","PingFang SC",Arial,sans-serif; background: #f5f7fa; color: #1f2329; }
.app { display: flex; height: 100vh; }
.sidebar { width: 230px; background: #fff; border-right: 1px solid #eee; padding: 20px 15px; flex-shrink: 0; overflow-y: auto; }
.logo { font-size: 24px; font-weight: bold; margin-bottom: 35px; color: #1677ff; }.logo span{color:#222}
.menu-title { font-size: 12px; color: #999; margin: 22px 10px 10px; letter-spacing: 1px; }
.menu-item { height: 44px; display: flex; align-items: center; padding-left: 15px; border-radius: 8px; margin-bottom: 5px; font-size: 14px; color: #555; cursor: pointer; transition: background 0.2s,color 0.2s; }
.menu-item:hover{background:#e8f3ff;color:#1677ff}.menu-item.active{background:#1677ff;color:#fff}
.main { flex: 1; padding: 20px; overflow-y: auto; min-width: 0; }
.header { height: 65px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.header-title { font-size: 18px; font-weight: 600; }
.user { display: flex; align-items: center; gap: 15px; font-size: 14px; color: #555; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #1677ff; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; }

.statistics { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-bottom: 20px; }
.stat { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); text-align: center; }
.stat-label { color: #86909c; font-size: 14px; }
.stat-num { font-size: 32px; font-weight: bold; margin-top: 10px; }
.blue{color:#1677ff}.orange{color:#ff7d00}.green{color:#00b42a}

.content { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 20px; }
.card { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.title { font-size: 17px; font-weight: bold; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }

.school { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; }
.school:last-child { border: none; }
.school-name { font-weight: bold; font-size: 16px; }
.school-info { font-size: 13px; color: #86909c; margin-top: 5px; }
.rate { background: #e8f3ff; color: #1677ff; padding: 8px 15px; border-radius: 20px; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.tag { display: inline-block; background: #e8f3ff; color: #1677ff; padding: 2px 10px; border-radius: 12px; font-size: 12px; margin-right: 4px; }

/* 院校层次分层标签：985金 / 211蓝 / 双一流绿 */
.ztier { display: inline-block; font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 4px; margin-left: 5px; font-weight: 600; border: 1px solid transparent; vertical-align: 1px; white-space: nowrap; }
.ztier.t985 { color: #b8860b; background: rgba(184,134,11,.12); border-color: rgba(184,134,11,.35); }
.ztier.t211 { color: #1677ff; background: rgba(22,119,255,.10); border-color: rgba(22,119,255,.30); }
.ztier.tyiliu { color: #00b42a; background: rgba(0,180,42,.10); border-color: rgba(0,180,42,.30); }
.ztier.tother { color: #666; background: #f0f0f2; border-color: #e2e2e6; }

.major { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #eee; }
.major:last-child { border: none; }
.major .up{color:#00b42a;font-weight:600}

.input-row { display: flex; gap: 10px; margin-bottom: 15px; }
.input-row input { flex: 1; height: 42px; background: #f5f6f7; border: none; border-radius: 8px; padding: 0 15px; font-size: 14px; outline: none; }
.input-row button { height: 42px; border: none; border-radius: 8px; background: #1677ff; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.input-row button:hover{background:#0d5fd9}

.loading { text-align: center; padding: 30px 0; color: #86909c; }

.vol-item { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 8px; margin-bottom: 8px; }
.vol-chong { background: #fef6f0; }
.vol-wen { background: #f0f7ff; }
.vol-bao { background: #f0faf4; }

.search-item { padding: 10px 0; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.search-item:last-child { border: none; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats-cell { background: #f5f6f7; padding: 12px; border-radius: 8px; text-align: center; }

@media (max-width:1024px){.content{grid-template-columns:1fr}}
@media (max-width:768px){.sidebar{width:70px;padding:15px 8px}.sidebar .logo{font-size:18px;text-align:center}.sidebar .logo span,.sidebar .menu-title,.sidebar .menu-item span{display:none}.sidebar .menu-item{justify-content:center;padding-left:0;font-size:12px;height:56px}.statistics{grid-template-columns:1fr 1fr}}
