:root {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Noto Sans CJK SC", sans-serif;
  color: #173147;
  background: #f5f8fb;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-header { background: #fff; color: #173147; position: relative; z-index: 2; border-bottom: 1px solid #e5edf1; }
.site-header:after { content: ""; height: 3px; display: block; background: linear-gradient(90deg, #087db6, #4db5c3 52%, #d5e8ee); }
.topbar { min-height: 126px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 8px; padding-bottom: 8px; }
.brand-logo-desktop { display: block; width: min(100%, 1010px); max-height: 112px; height: auto; object-fit: contain; object-position: left center; }
.brand-mobile { display: none; }
.header-mark { flex-shrink: 0; font-size: 12px; color: #416174; border: 1px solid #d7e4e9; background: #f8fbfc; padding: 9px 13px; border-radius: 100px; }

.hero { position: relative; padding-top: 62px; padding-bottom: 44px; }
.hero:before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 520px; background: radial-gradient(ellipse at 80% 20%, rgba(78,186,182,.12), transparent 45%), linear-gradient(180deg, #f3f9fa 0%, #f5f8fb 100%); }
.eyebrow { font-weight: 700; display: flex; align-items: center; gap: 10px; color: #28868f; font-size: 13px; letter-spacing: 2.7px; }
.eyebrow-line { background: #42a5a5; width: 31px; height: 2px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 57px); line-height: 1.36; letter-spacing: -1.1px; margin: 21px 0 28px; font-weight: 760; }
.hero h1 span { color: #187c87; }
.search-panel { border: 1px solid #e2ebf1; border-radius: 19px; box-shadow: 0 14px 44px rgba(29,69,88,.07); background: white; padding: 29px 30px 22px; max-width: 830px; }
.field-label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 13px; color: #243a4d; }
.search-line { display: flex; gap: 12px; }
.input-box { border: 1px solid #cedde3; border-radius: 10px; display: flex; align-items: center; min-width: 0; flex: 1; background: #fcfeff; transition: border-color .15s, box-shadow .15s; }
.input-box:focus-within { border-color: #3095a0; box-shadow: 0 0 0 4px rgba(48,149,160,.10); }
.search-icon { width: 22px; height: 22px; margin-left: 18px; color: #8198a5; flex-shrink: 0; }
.input-box input { width: 100%; border: 0; outline: 0; background: transparent; padding: 15px 14px; color: #12364a; font-size: 17px; min-width: 0; }
.input-box input::placeholder { color: #a1b0b9; }
.search-line button { cursor: pointer; min-width: 192px; background: #127d88; color: white; border: 1px solid #127d88; border-radius: 10px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; box-shadow: 0 5px 12px rgba(20,123,132,.15); transition: background .15s, transform .15s; }
.search-line button:hover { background: #106c77; }
.search-line button:active { transform: translateY(1px); }
.search-line button:disabled { opacity: .65; cursor: wait; }
.search-line button svg { width: 20px; height: 20px; }
.hint { display: flex; align-items: center; gap: 7px; color: #536d7d; font-size: 13px; margin: 15px 0 0; }
.hint svg { width: 15px; height: 15px; flex-shrink: 0; }
.feedback { margin-top: 15px; border-radius: 8px; padding: 12px 15px; background: #fff5eb; color: #915b1b; font-size: 13px; }
.feedback.error { background: #fff2ee; color: #a13e28; }

.results { padding-top: 18px; padding-bottom: 42px; }
.result-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.section-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #328b94; }
.result-head h2 { margin: 9px 0 0; font-size: 28px; line-height: 1.4; }
.result-title-muted { font-weight: 500; color: #637988; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.metric { border: 1px solid #e0ebef; border-radius: 13px; padding: 20px 24px; background: white; box-shadow: 0 4px 20px rgba(26,59,82,.03); min-height: 126px; }
.metric-label { display: block; color: #526b7b; font-size: 13px; font-weight: 650; }
.metric-number { display: flex; align-items: baseline; gap: 7px; margin-top: 8px; }
.metric-value { display: inline-block; color: #1b394a; font-weight: 750; font-size: 35px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.metric-unit { color: #5b7280; font-size: 13px; }
.metric-breakdown { margin-top: 8px; color: #486273; font-size: 12px; line-height: 1.6; }
.export-action-row { display: flex; justify-content: flex-end; margin: 0 0 18px; }
.export-button, .copy-button { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #147c86; border-radius: 9px; background: #147c86; color: white; font-size: 13px; font-weight: 700; padding: 11px 16px; box-shadow: 0 4px 12px rgba(20,123,132,.12); }
.export-button:hover, .copy-button:hover { background: #0e6e78; }
.export-button svg { width: 17px; height: 17px; }
.filter-bar { display: flex; gap: 8px; margin: 0 0 17px; }
.filter { border: 1px solid #d9e5ea; background: #fff; color: #526b7a; border-radius: 24px; padding: 9px 19px; cursor: pointer; font-size: 13px; }
.filter.active { background: #e7f5f4; color: #0e777f; border-color: #bbdedb; font-weight: 700; }
.result-list { display: flex; flex-direction: column; gap: 11px; }
.activity { padding: 22px 25px; background: white; border: 1px solid #e2ebef; border-radius: 13px; box-shadow: 0 3px 13px rgba(39,65,79,.025); position: relative; overflow: hidden; }
.activity:before { position: absolute; content: ""; left: 0; top: 0; bottom: 0; width: 4px; background: #168b7e; }
.activity.education:before { background: #356fb2; }
.activity-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.activity-date { font-weight: 700; font-size: 14px; color: #38576b; }
.activity-tag { padding: 6px 12px; border-radius: 7px; background: #dff3ed; color: #087568; border: 1px solid #a8d9ca; font-size: 13px; font-weight: 800; letter-spacing: .2px; }
.activity.education .activity-tag { color: #205a9e; background: #e4efff; border-color: #b8d0f0; }
.activity h3 { font-size: 16px; line-height: 1.7; margin: 12px 0; font-weight: 650; color: #1c394a; }
.activity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; color: #3f596b; font-size: 15px; }
.activity-meta span { display: inline-flex; align-items: center; gap: 7px; }
.activity-meta svg { width: 17px; height: 17px; flex-shrink: 0; color: #56788b; }
.activity-meta .place-line { color: #29485c; font-size: 16px; font-weight: 650; }
.activity-meta .identity-line { color: #385367; font-size: 15px; }
.identity-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; background: #eef3f7; border: 1px solid #cbd9e2; color: #25475d; font-size: 14px; font-weight: 750; }
.activity.education .identity-badge { background: #edf3ff; border-color: #c6d7f1; color: #285d9b; }
.activity-meta .department-line { font-size: 14px; color: #526c7d; }
.result-tail { font-size: 12px; color: #617987; line-height: 1.9; margin-top: 20px; }

.export-panel { margin-top: 24px; padding: 22px; background: #fff; border: 1px solid #dce7ed; border-radius: 14px; box-shadow: 0 8px 24px rgba(26,59,82,.04); }
.export-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.export-panel-head h3 { margin: 0; font-size: 17px; color: #213f53; }
.export-panel-head p { margin: 6px 0 0; font-size: 12px; color: #627b8a; line-height: 1.6; }
.copy-area { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.copy-button { padding: 10px 18px; }
.copy-button:disabled { opacity: .65; cursor: wait; }
.copy-status { font-size: 12px; color: #26735d; }
.copy-status.error { color: #a13e28; max-width: 270px; }
.copy-status.success { color: #16734f; font-weight: 700; }
.export-table-wrap { overflow-x: auto; border: 1px solid #dce5eb; border-radius: 8px; }
.export-table { width: 100%; }
#exportTable { width: 100%; border-collapse: collapse; min-width: 760px; background: white; font-size: 13px; }
#exportTable th { background: #eaf0f6; color: #29475b; font-weight: 750; text-align: center; white-space: nowrap; }
#exportTable th, #exportTable td { border: 1px solid #d4dfe6; padding: 10px 11px; vertical-align: top; line-height: 1.65; }
#exportTable td { color: #344f62; }
#exportTable td:nth-child(1), #exportTable td:nth-child(2), #exportTable td:nth-child(6) { white-space: nowrap; }

.empty { border: 1px dashed #cadce3; border-radius: 15px; background: white; padding: 40px 24px; text-align: center; color: #526c7b; }
.empty strong { display: block; font-size: 16px; color: #456472; margin: 7px 0; }
.empty p { margin: 0; font-size: 13px; line-height: 1.8; }
.info-band { display: flex; align-items: flex-start; gap: 17px; border-top: 1px solid #dce7eb; padding-top: 29px; padding-bottom: 65px; }
.info-icon { width: 42px; height: 42px; border-radius: 12px; background: #e5efef; color: #4c8992; display: grid; place-items: center; flex-shrink: 0; }
.info-icon svg { width: 22px; height: 22px; }
.info-band h3 { font-size: 14px; margin: 0 0 7px; }
.info-band p { font-size: 13px; color: #5c7482; line-height: 1.8; max-width: 740px; margin: 0; }
.footer { background: #112d42; color: #acc2cf; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; padding: 25px 0; font-size: 12px; }
.footer-inner span:last-child { color: #9ab3c1; }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1056px); }
  .topbar { min-height: 78px; padding-top: 8px; padding-bottom: 8px; }
  .brand-logo-desktop { display: none; }
  .brand-mobile { display: flex; align-items: center; gap: 11px; min-width: 0; }
  .brand-mobile img { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; }
  .brand-mobile div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .brand-mobile strong { color: #183b50; font-size: 15px; line-height: 1.35; white-space: nowrap; }
  .brand-mobile span { color: #617987; font-size: 10px; line-height: 1.4; }
  .header-mark { display: none; }
  .hero { padding-top: 43px; padding-bottom: 28px; }
  .hero h1 { letter-spacing: -.7px; margin: 17px 0 23px; }
  .search-panel { padding: 21px 16px 18px; border-radius: 14px; }
  .search-line { flex-direction: column; gap: 11px; }
  .search-line button { min-height: 49px; width: 100%; }
  .input-box input { padding: 14px 12px; }
  .result-head { align-items: start; flex-direction: column; gap: 4px; }
  .result-head h2 { font-size: 24px; }
  .metrics { gap: 8px; }
  .metric { padding: 15px 11px; min-height: 118px; }
  .metric-label { font-size: 12px; }
  .metric-value { font-size: 29px; }
  .metric-unit { font-size: 11px; }
  .metric-breakdown { font-size: 11px; line-height: 1.5; }
  .filter { padding: 8px 13px; font-size: 12px; }
  .activity { padding: 17px 18px; }
  .activity h3 { font-size: 15px; }
  .activity-meta { gap: 9px 16px; font-size: 14px; }
  .activity-meta .place-line { font-size: 15px; }
  .activity-meta .identity-line { font-size: 14px; }
  .identity-badge { font-size: 13px; }
  .export-action-row { justify-content: stretch; }
  .export-button { width: 100%; }
  .export-panel { padding: 17px 13px; }
  .export-panel-head { align-items: flex-start; flex-direction: column; }
  .copy-area { width: 100%; justify-content: space-between; }
  .copy-status.error { max-width: 210px; }
  .info-band { padding-bottom: 42px; }
  .footer-inner { flex-direction: column; line-height: 1.6; }
}
