/* recommend.css */
.rec-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.score-preview-box {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  border-radius: 12px; padding: 16px 18px; margin-bottom: 20px;
}
.sp-score { font-size: 36px; font-weight: 900; color: var(--gold); font-family: 'Noto Serif SC', serif; }
.sp-label { font-size: 15px; color: rgba(255,255,255,0.7); flex: 1; }
.sp-edit { font-size: 12px; color: var(--accent-light); text-decoration: underline; }
.pref-section { margin-bottom: 18px; }
.pref-title { font-size: 13px; font-weight: 600; color: var(--text-sub); margin-bottom: 10px; }
.pref-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pref-tag {
  padding: 6px 14px; border: 1.5px solid var(--border);
  border-radius: 100px; font-size: 13px; cursor: pointer;
  transition: var(--transition); color: var(--text-sub);
}
.pref-tag.active { border-color: var(--accent); background: rgba(230,57,70,0.06); color: var(--accent); font-weight: 600; }
.strategy-slider { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.sl-left, .sl-right { font-size: 12px; color: var(--text-sub); white-space: nowrap; }
.slider { flex: 1; accent-color: var(--accent); }
.strategy-label { text-align: center; font-size: 13px; color: var(--accent); font-weight: 600; }
.rec-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 40px; background: var(--card-bg);
  border: 1px dashed var(--border); border-radius: var(--radius);
  text-align: center;
}
.rec-empty .empty-icon { font-size: 64px; margin-bottom: 20px; }
.rec-empty h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.rec-empty p { color: var(--text-sub); }
.rec-group { margin-bottom: 24px; }
.rec-group-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--radius) var(--radius) 0 0;
}
.rec-group-header.rush { background: rgba(230,57,70,0.08); border: 1px solid rgba(230,57,70,0.2); }
.rec-group-header.stable { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); }
.rec-group-header.safe { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); }
.rgh-icon { font-size: 24px; }
.rgh-text { flex: 1; }
.rgh-title { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.rec-group-header.rush .rgh-title { color: var(--accent); }
.rec-group-header.stable .rgh-title { color: #d97706; }
.rec-group-header.safe .rgh-title { color: #059669; }
.rgh-desc { font-size: 13px; color: var(--text-sub); }
.rgh-count { font-size: 13px; font-weight: 600; color: var(--text-sub); }
.rec-school-list {
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.rec-school-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.rec-school-item:last-child { border-bottom: none; }
.rec-school-item:hover { background: var(--gray-100); }
.rsi-num {
  width: 28px; height: 28px;
  background: var(--gray-100); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-sub);
  flex-shrink: 0;
}
.rsi-logo { font-size: 22px; flex-shrink: 0; }
.rsi-main { flex: 1; }
.rsi-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.rsi-meta { font-size: 12px; color: var(--text-sub); }
.rsi-major { flex-shrink: 0; text-align: center; }
.rsi-major-name { font-size: 13px; color: var(--sky); font-weight: 600; }
.rsi-major-salary { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.rsi-score { text-align: center; flex-shrink: 0; }
.rsi-score-num { font-size: 20px; font-weight: 700; color: var(--accent); }
.rsi-score-label { font-size: 11px; color: var(--text-sub); }
.rsi-prob { flex-shrink: 0; width: 58px; text-align: center; }
.rsi-prob-num { font-size: 18px; font-weight: 800; }
.prob-rush { color: var(--accent); }
.prob-stable { color: #d97706; }
.prob-safe { color: #059669; }
.rsi-prob-label { font-size: 11px; color: var(--text-sub); }
.rsi-add {
  width: 36px; height: 36px; border: 1.5px solid var(--border);
  border-radius: 8px; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: var(--transition);
}
.rsi-add:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.rec-actions {
  display: flex; gap: 16px; justify-content: flex-end;
  margin-top: 20px;
}
@media (max-width: 1024px) {
  .rec-layout { grid-template-columns: 1fr; }
}
