.hengshan-app { max-width: 1180px; }
.sim-nav { margin-top: 0.75rem; font-size: 0.9rem; color: var(--text-muted); }
.sim-nav a { color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.sim-nav a:hover, .sim-nav a.active { color: var(--purple-bright); }
.nav-sep { margin: 0 0.4rem; color: var(--border-color); }
.hengshan-main { display: grid; width: 100%; min-width: 0; gap: 1rem; }
.hengshan-main > section { width: 100%; min-width: 0; box-sizing: border-box; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem; }
.panel-header h2 { margin: 0.12rem 0 0; font-family: var(--font-serif); font-size: 1.08rem; color: var(--text-primary); }
.hengshan-kicker { font-size: 0.68rem; letter-spacing: 0.12em; color: var(--purple-bright); }
.hengshan-message { margin: 0.7rem 0 0; color: var(--text-muted); font-size: 0.84rem; }
.hengshan-message.is-error { color: #ff9d9d; }
.student-state-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.student-state-grid > div { padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-primary); min-width: 0; }
.student-state-grid span { display: block; margin-bottom: 0.3rem; color: var(--text-muted); font-size: 0.74rem; }
.student-state-grid strong { display: block; overflow-wrap: anywhere; color: var(--text-primary); font-size: 0.92rem; }
.student-talents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.85rem; }
.student-talent { padding: 0.8rem; border: 1px solid var(--border-accent); border-radius: 6px; background: linear-gradient(135deg, rgba(135, 91, 221, 0.15), rgba(28, 31, 40, 0.7)); }
.student-talent span { display: block; color: var(--text-muted); font-size: 0.72rem; }
.student-talent strong { display: block; margin-top: 0.25rem; color: var(--text-primary); }
.evidence-badge { flex: 0 0 auto; padding: 0.22rem 0.5rem; border: 1px solid #8f7340; border-radius: 999px; color: #e6bd65; font-size: 0.7rem; }
.evidence-badge.is-verified { border-color: #477a62; color: #72d2a3; }
.hengshan-warning { margin: 0 0 0.8rem; padding: 0.7rem 0.8rem; border-left: 3px solid #b78737; background: rgba(183, 135, 55, 0.09); color: var(--text-secondary); font-size: 0.82rem; line-height: 1.6; }
.unlock-result { margin-bottom: 0.8rem; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 6px; color: var(--text-secondary); line-height: 1.65; }
.unlock-result strong { color: var(--text-primary); }
.refresh-config-row input { width: 100%; background: var(--bg-primary); border: 1px solid var(--border-color); color: var(--text-primary); border-radius: 4px; padding: 0.45rem 0.6rem; }
.refresh-table-wrap { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; margin-top: 0.85rem; overflow-x: auto; border: 1px solid var(--border-color); border-radius: 6px; }
.refresh-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.8rem; }
.refresh-table th, .refresh-table td { padding: 0.55rem 0.65rem; border-bottom: 1px solid var(--border-color); text-align: left; vertical-align: top; }
.refresh-table th { color: var(--text-muted); background: var(--bg-primary); font-weight: 500; }
.refresh-table td { color: var(--text-secondary); }
.refresh-table tbody tr:last-child td { border-bottom: 0; }
.refresh-table td:first-child, .refresh-table td:last-child { white-space: nowrap; }
@media (max-width: 760px) {
    .student-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .student-talents { grid-template-columns: 1fr; }
    .panel-header { align-items: flex-start; flex-wrap: wrap; }
    .refresh-config-row { grid-template-columns: 1fr; }
}
