@font-face {
  font-family: 'Seminar Palatino';
  src: url('/fonts/latin.ttf') format('truetype');
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2190-21FF;
}
:root {
  --red: #8c1d2c;
  --red-dark: #6d1320;
  --rose: #f6edef;
  --page: #f7f6f4;
  --paper: #fff;
  --ink: #24252c;
  --muted: #626774;
  --line: #e6e2e0;
  --soft: #f7f6f5;
  --green: #2e6749;
  --gray: #747b83;
  --sans: 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
  --content: 'Seminar Palatino', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 0; background: var(--page); color: var(--ink); font: 500 14px/1.65 var(--content); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; border: 0; background: none; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; text-decoration: none; }
a:hover, button:hover { color: var(--red); }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
.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; }
.site-header { height: 76px; display: flex; align-items: center; gap: 44px; padding: 0 max(28px, calc((100vw - 1344px)/2)); border-top: 3px solid var(--red); border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; font: 700 25px/1.2 var(--content); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 5px; background: var(--red); color: white; font: 20px/1 var(--sans); }
.site-header nav { display: flex; height: 100%; gap: 29px; align-items: stretch; font: 600 13px var(--sans); }
.site-header nav > a, .site-header nav > button { display: flex; align-items: center; gap: 7px; padding: 0; border-bottom: 2px solid transparent; }
.site-header nav .nav-current { border-bottom-color: var(--red); color: var(--red); }
.count-dot { display: inline-grid; place-items: center; min-width: 19px; height: 19px; border-radius: 10px; background: var(--rose); color: var(--red); font-size: 10px; }
.header-note { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
main { max-width: 1400px; margin: auto; padding: 0 28px; }
.hero { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 32px 0 14px; }
h1 { font: 700 34px/1.25 var(--content); margin: 0; letter-spacing: -.65px; }
#current-date { font-size: 13px; color: var(--muted); margin: 0; }
.update-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; font-size: 12px; color: var(--muted); }
.update-strip > div { display: flex; align-items: center; gap: 7px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.text-button { color: var(--red); padding: 0; font-size: inherit; }
#refresh-sources { white-space: nowrap; }
#refresh-sources span { margin-left: 6px; font-size: 16px; }
.workspace { display: grid; grid-template-columns: 294px minmax(0,1fr); gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 24px; }
.calendar-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 0; overflow: hidden; box-shadow: 0 3px 18px #39232d05; }
.panel-kicker { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.panel-kicker > span { font-weight: 600; color: #4d535a; }
.month-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 0; }
.month-heading h2 { font: 700 18px/1.4 var(--sans); margin: 0; white-space: nowrap; }
.month-heading > div { display: flex; gap: 5px; }
.icon-button { width: 27px; height: 27px; border-radius: 4px; font-size: 16px; }
.icon-button:hover { background: var(--soft); }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.weekdays { margin-bottom: 9px; text-align: center; color: var(--muted); font-size: 11px; }
.calendar-day { position: relative; height: 35px; padding: 0 0 5px; border: 1px solid transparent; border-radius: 7px; font: 600 15px var(--content); transition: background .18s, color .18s, border-color .18s; }
.calendar-day.outside { color: #c4c8cc; }
.calendar-day.today { border-color: #c48b94; color: var(--red); }
.calendar-day:hover { background: var(--rose); }
.calendar-day.selected { background: var(--red); color: white; border-color: var(--red); }
.day-marks { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; justify-content: center; gap: 3px; }
.day-marks i { display: block; width: 3px; height: 3px; border-radius: 50%; background: var(--green); }
.day-marks i.past { background: var(--gray); }
.calendar-day.selected .day-marks i { background: white; }
.calendar-legend { display: flex; justify-content: space-between; gap: 8px; margin: 18px 0; font-size: 10px; color: var(--muted); }
.calendar-legend > span { display: flex; align-items: center; gap: 5px; }
.legend-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.legend-dot.past { background: var(--gray); }
.legend-outline { display: inline-block; width: 8px; height: 8px; border: 1px solid #c48b94; border-radius: 2px; }
.agenda { margin: 0 -20px; padding: 18px 20px; border-top: 1px solid var(--line); }
.agenda-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.agenda-heading h3 { margin: 0; font: 600 13px var(--sans); }
.agenda-heading > span { font-size: 11px; color: var(--muted); }
.agenda-empty { color: var(--muted); padding: 16px 0 5px; font-size: 12px; }
.agenda-item { width: 100%; display: grid; grid-template-columns: 38px 1fr; gap: 8px; padding: 15px 0 0; text-align: left; }
.agenda-time { color: var(--green); font: 14px var(--content); }
.agenda-item.is-past .agenda-time { color: var(--gray); }
.agenda-item strong { display: block; font: 600 14px/1.55 var(--content); }
.agenda-item small { display: block; color: var(--muted); margin-top: 4px; font: 12px/1.4 var(--content); }
.list-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 15px; }
.list-topline h2 { margin: 0; font: 600 20px var(--sans); }
#event-count { font: 15px var(--content); color: var(--muted); margin-left: 7px; }
.global-language { display: flex; }
.language-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); font: 600 12px/1.4 var(--content); white-space: nowrap; }
.language-toggle:hover { border-color: #d0a6ad; background: #fcf7f8; box-shadow: 0 2px 6px #8c1d2c09; }
.language-option { color: #6e7079; }
.language-option.active { color: var(--red); font-weight: 700; }
.language-divider { color: #bab5b6; font-weight: 400; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-bottom: 5px; }
.range-tabs { display: flex; flex-shrink: 0; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #eeebe9; }
.range-tabs button { padding: 7px 12px; border-radius: 6px; color: #575d67; font: 600 12px var(--sans); white-space: nowrap; }
.range-tabs button.active { background: var(--paper); color: var(--red); box-shadow: 0 1px 3px #20232910; }
.search-box { display: flex; align-items: center; gap: 7px; min-width: 180px; flex: 1; padding: 7px 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.search-box > span { font: 24px/1 var(--content); color: var(--muted); }
.search-box input { width: 100%; min-width: 0; padding: 0; border: 0; background: none; outline: none; font-size: 12px; }
.filters select { max-width: 140px; min-width: 115px; height: 39px; background: var(--paper); color: #454b56; border: 1px solid var(--line); border-radius: 8px; padding: 5px 7px; font-size: 12px; font-weight: 600; }
.selection-notice { display: flex; align-items: center; justify-content: space-between; margin: 15px 0; padding: 9px 12px; border-radius: 5px; background: var(--rose); color: var(--red); font-size: 12px; }
.selection-notice button { font-size: 11px; }
.period-heading { display: flex; align-items: center; margin: 24px 0 10px; }
.period-heading h3 { font: 600 14px var(--sans); color: var(--red); margin: 0; }
.period-heading::after { content: ''; height: 1px; background: var(--line); flex: 1; margin-left: 13px; }
.date-divider { display: flex; align-items: baseline; gap: 12px; margin: 16px 1px 10px; color: var(--muted); }
.date-divider h4 { margin: 0; font: 600 13px var(--sans); color: #474c58; }
.date-divider > span { font: 500 13px var(--content); color: #777b84; }
.seminar-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 23px 25px; margin-bottom: 18px; box-shadow: 0 3px 14px #38212a05; }
@media (hover: hover) {
  .seminar-card:hover { border-color: #d6b5bc; box-shadow: 0 9px 26px #5226350d; }
}
.seminar-card:focus-within { border-color: #d6b5bc; box-shadow: 0 5px 20px #5226350a; }
.seminar-card.highlight { outline: 2px solid var(--red); outline-offset: 3px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.card-meta, .card-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.field-tag { padding: 4px 10px; border-radius: 20px; background: #f7e9ed; color: #87283a; font: 600 12px/1.4 var(--content); max-width: 100%; overflow-wrap: anywhere; }
.field-tag[data-field="Macro"], .field-tag[data-field="Finance"], .field-tag[data-field="Econometrics"] { background: #eaf0f8; color: #34516f; }
.field-tag[data-field="Development"], .field-tag[data-field="Labor and Health"], .field-tag[data-field="Environment and Energy"] { background: #eaf3ed; color: #325e48; }
.field-tag[data-field="Econ History"], .field-tag[data-field="International"] { background: #f5efe2; color: #775c30; }
.field-tag[data-field="Other"] { background: #eeedf0; color: #5e5b66; }
.card-source { padding: 3px 9px; border: 1px solid #e6e2e6; border-radius: 20px; font: 600 11px/1.5 var(--sans); color: #65606b; background: #faf8fa; white-space: nowrap; }
.card-tools { flex-shrink: 0; gap: 12px; }
.status-label { color: var(--green); font: 600 12px var(--content); white-space: nowrap; }
.status-label::before { content: ''; display: inline-block; vertical-align: middle; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; background: currentColor; }
.card-language { display: flex; }
.card-language .language-toggle { font-size: 11px; padding: 5px 9px; }
.card-title { margin: 0 0 14px; font: 700 25px/1.5 var(--content); letter-spacing: 0; overflow-wrap: anywhere; color: #25252e; }
.card-title[lang="en"] { line-height: 1.35; font-size: 27px; letter-spacing: -.15px; }
.speaker-line { display: flex; align-items: center; flex-wrap: wrap; column-gap: 10px; row-gap: 5px; margin: 0 0 18px; font: 600 16px/1.5 var(--content); }
.speaker-line strong { font-weight: 700; }
.speaker-line > span { color: #555b67; font: 500 13px/1.6 var(--content); }
.source-link { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid #e5dfe2; border-radius: 50%; color: var(--red); background: #fcf9fa; transition: background .2s, border-color .2s, transform .2s; flex-shrink: 0; }
.source-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.source-link:hover { background: var(--rose); border-color: #ceadb5; transform: rotate(-8deg); }
.card-details { display: flex; align-items: flex-start; flex-wrap: wrap; column-gap: 22px; row-gap: 7px; background: var(--soft); border: 1px solid #edf0f2; border-radius: 5px; padding: 9px 12px; margin-bottom: 16px; }
.card-time { white-space: nowrap; color: var(--green); font: 600 16px/1.5 var(--content); }
.card-time > span { font-weight: 600; }
.venue-line { display: flex; gap: 6px; align-items: flex-start; color: #505866; font: 500 14px/1.65 var(--content); flex: 1; min-width: 130px; }
.venue-line svg { width: 12px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; margin-top: 3px; }
.seminar-card.is-past .card-time, .seminar-card.is-past .status-label { color: var(--gray); }
.abstract-block { padding-bottom: 0; }
.abstract-heading { display: flex; align-items: center; justify-content: space-between; color: #5b5d69; font: 600 12px var(--content); margin-bottom: 7px; }
.abstract-button { padding: 3px 0 3px 10px; font-size: 11px; color: var(--red); }
.abstract-preview { font: 500 15px/1.9 var(--content); color: #424652; margin: 0; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.abstract-preview.expanded { display: block; overflow: visible; }
.card-footer { display: flex; align-items: center; gap: 13px; margin: 18px -25px -23px; padding: 10px 25px; border-top: 1px solid #f0eced; color: var(--muted); font: 12px var(--content); }
.edit-card { padding: 0; font: 600 12px var(--content); margin-left: auto; color: var(--red); }
.empty-state { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 45px 20px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.empty-state p { margin: 0 0 13px; }
.empty-state button { color: var(--red); }
.loading-state { padding: 45px 20px; font-size: 13px; color: var(--muted); }
.loading-line { display: block; width: 50%; height: 4px; border-radius: 2px; background: #ded3d6; animation: pulse 1.2s ease-in-out infinite; }
.job-banner { background: #faf3e9; border: 1px solid #e5d4bb; border-radius: 5px; color: #875f30; font-size: 12px; margin: 16px 0; padding: 10px 13px; }
footer { display: flex; justify-content: flex-end; gap: 24px; border-top: 1px solid var(--line); margin: 28px 0 0; padding: 18px 0 24px; font-size: 12px; }
.login-dialog { max-width: 420px; }
#login-submit { width: 100%; margin-top: 20px; }
#editor-classification { white-space: pre-wrap; }
dialog { width: calc(100% - 40px); max-height: 90vh; overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 80px #18233030; }
dialog::backdrop { background: #18233092; }
.maintenance-dialog { max-width: 1120px; }
.editor-dialog { max-width: 1060px; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 24px; }
.dialog-header h2 { margin: 0; font: 600 22px var(--sans); }
.dialog-header h2 > span { font: 12px var(--sans); color: var(--muted); margin-left: 10px; }
.dialog-close { font-size: 27px; line-height: 1; padding: 2px; color: var(--muted); }
.source-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.source-card h3 { margin: 0 0 9px; font-size: 18px; }
.source-card p, .source-card a, .source-card details { font-size: 12px; margin: 7px 0; color: var(--muted); }
.source-card a { color: var(--red); overflow-wrap: anywhere; }
.source-card .source-result { color: var(--green); }
.source-card .source-result.warning { color: #9b6c36; }
.source-card details li { margin: 10px 0; overflow-wrap: anywhere; }
.maintenance-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.maintenance-layout h3, .editor-layout h3 { margin: 0 0 10px; font: 600 18px var(--sans); }
.form-intro { font-size: 12px; color: var(--muted); margin: 0 0 20px; }
form label { display: block; font-size: 12px; margin-bottom: 16px; }
form input, form select, form textarea { display: block; width: 100%; min-width: 0; margin-top: 6px; padding: 9px 10px; border: 1px solid #d8dde2; border-radius: 5px; color: var(--ink); background: var(--paper); font-size: 13px; }
form textarea { resize: vertical; line-height: 1.7; }
.optional { font-size: 11px; color: var(--muted); margin-left: 6px; }
.upload-label { padding: 13px; border: 1px dashed #cfd4da; border-radius: 5px; background: var(--soft); }
.upload-label input { font-size: 11px; border: 0; padding: 5px 0; background: none; }
.upload-label > span { font-size: 11px; color: var(--muted); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 18px; border: 1px solid var(--red); border-radius: 5px; color: white; background: var(--red); font-size: 12px; }
.primary-button:hover { background: var(--red-dark); color: white; }
.secondary-button { border: 1px solid #d8dde2; border-radius: 5px; padding: 10px 17px; font-size: 12px; }
.privacy-note, .usage-note { font-size: 11px; color: var(--muted); margin-top: 14px; }
.review-section { border-left: 1px solid var(--line); padding-left: 28px; }
.review-heading, .run-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.review-heading > span { color: var(--muted); font-size: 12px; }
.draft-item { border: 1px solid var(--line); border-radius: 6px; padding: 14px; margin-bottom: 11px; background: var(--soft); }
.draft-item h4 { margin: 0 0 6px; font: 17px/1.5 var(--content); }
.draft-item p { margin: 5px 0; font-size: 12px; color: var(--muted); }
.draft-item .draft-warning { color: #9b6c36; font-size: 11px; }
.draft-item button { padding: 5px 0 0; color: var(--red); font-size: 12px; }
.draft-empty { padding: 24px 12px; border: 1px dashed var(--line); border-radius: 5px; color: var(--muted); font-size: 12px; text-align: center; }
.run-heading { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.run-heading button { font-size: 12px; }
.job-row { padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; }
.job-row > div { display: flex; justify-content: space-between; gap: 10px; }
.job-row p { margin: 5px 0 0; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.job-row .failed { color: var(--red); }
.editor-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.editor-language { display: flex; gap: 5px; margin-bottom: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.evidence-section { border-left: 1px solid var(--line); padding-left: 25px; }
.evidence-section > a { color: var(--red); font-size: 12px; }
.evidence-section pre { margin-bottom: 0; padding: 14px; max-height: 480px; overflow: auto; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); white-space: pre-wrap; word-break: break-word; font: 13px/1.8 var(--content); }
.warning-list { font-size: 12px; color: #9b6c36; margin-top: 12px; }
.warning-list p { margin: 5px 0; }
.editor-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.editor-actions > span { margin-right: auto; font-size: 11px; color: var(--muted); }
.form-error { margin: 13px 0; border-left: 2px solid var(--red); background: var(--rose); padding: 10px 12px; color: var(--red); font-size: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100% - 30px); padding: 12px 20px; background: #29323c; color: white; border-radius: 6px; font-size: 12px; z-index: 1000; box-shadow: 0 3px 20px #18233026; }
.toast.error { background: var(--red); }
@keyframes pulse { 50% { opacity: .4; } }
@media (max-width: 1100px) {
  .site-header { padding: 0 24px; gap: 30px; }
  main { padding: 0 24px; }
  .workspace { grid-template-columns: 258px minmax(0,1fr); gap: 23px; }
  .calendar-panel { padding: 18px 16px 0; }
  .agenda { margin: 0 -16px; padding: 17px 16px; }
  .filters .search-box { flex-basis: calc(100% - 200px); }
  .filters select { flex: 1; max-width: none; }
  .seminar-card { padding: 21px 22px; }
  .card-footer { margin: 18px -22px -21px; padding: 10px 22px; }
  .card-title { font-size: 23px; }
  .card-top { align-items: flex-start; }
  .card-tools { gap: 8px; }
  .card-meta { gap: 7px; }
  .card-source { font-size: 11px; }
}
@media (max-width: 820px) {
  .site-header { height: 65px; padding: 0 20px; gap: 24px; }
  .brand { font-size: 22px; }
  .site-header nav { margin-left: auto; gap: 20px; font-size: 12px; }
  .header-note { display: none; }
  main { padding: 0 20px; }
  .hero { padding: 24px 0 13px; }
  h1 { font-size: 25px; }
  #current-date { font-size: 11px; }
  .workspace { grid-template-columns: 224px minmax(0,1fr); gap: 20px; }
  .calendar-panel { padding: 16px 13px 0; }
  .agenda { margin: 0 -13px; padding: 16px 13px; }
  .month-heading h2 { font-size: 16px; }
  .month-heading > div { gap: 1px; }
  .icon-button { width: 22px; }
  .calendar-day { height: 29px; }
  .calendar-grid, .weekdays { gap: 2px; }
  .calendar-legend { font-size: 9px; gap: 5px; }
  .list-topline { align-items: flex-start; gap: 10px; }
  .global-language .language-toggle { padding: 5px 10px; }
  .filters .search-box { flex-basis: 100%; }
  .card-top { flex-wrap: wrap; gap: 9px; }
  .card-tools { margin-left: auto; }
  .card-details { flex-direction: column; gap: 4px; }
  .card-title, .card-title[lang="en"] { font-size: 23px; }
  .speaker-line { font-size: 16px; }
  .speaker-line span { font-size: 13px; }
  .abstract-preview { font-size: 15px; }
  .maintenance-layout, .editor-layout { grid-template-columns: 1fr; gap: 24px; }
  .review-section, .evidence-section { border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
  .evidence-section pre { max-height: 240px; }
  .editor-actions { flex-wrap: wrap; }
  .editor-actions > span { width: 100%; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 16px; gap: 12px; }
  .brand { gap: 8px; font-size: 20px; }
  .brand-mark { width: 30px; height: 30px; font-size: 18px; }
  .site-header nav { gap: 16px; font-size: 11px; }
  .site-header nav > a { display: none; }
  main { padding: 0 16px; }
  .hero { align-items: flex-start; gap: 8px; padding-top: 21px; }
  h1 { font-size: 23px; }
  #current-date { font-size: 10px; max-width: 90px; text-align: right; line-height: 1.7; }
  .update-strip { font-size: 10px; margin-bottom: 20px; }
  .workspace { display: flex; flex-direction: column; gap: 23px; }
  .sidebar { position: static; width: 100%; }
  .calendar-panel { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); column-gap: 18px; padding: 16px 14px; }
  .calendar-panel > .panel-kicker, .month-heading, .weekdays, .calendar-grid, .calendar-legend { grid-column: 1; }
  .panel-kicker { font-size: 11px; }
  .month-heading { margin: 12px 0; gap: 3px; }
  .month-heading h2 { font-size: 14px; }
  .month-heading .icon-button { width: 19px; font-size: 14px; }
  .weekdays { font-size: 10px; }
  .calendar-day { height: 28px; font-size: 14px; }
  .calendar-legend { font-size: 8px; margin: 12px 0 0; gap: 4px; }
  .calendar-legend > span { gap: 3px; }
  .agenda { grid-column: 2; grid-row: 1/6; border-top: 0; border-left: 1px solid var(--line); margin: 0; padding: 0 0 0 15px; }
  .agenda-heading { align-items: baseline; gap: 5px; }
  .agenda-heading h3 { font-size: 12px; }
  .agenda-heading > span { font-size: 10px; }
  .agenda-item { grid-template-columns: 1fr; gap: 3px; }
  .agenda-item strong { font-size: 13px; }
  .agenda-time { font-size: 13px; }
  .agenda-item small { font-size: 11px; }
  .agenda-empty { font-size: 11px; padding-top: 20px; }
  .seminar-panel { width: 100%; }
  .list-topline { align-items: center; }
  .list-topline h2 { font-size: 19px; }
  .global-language { font-size: 11px; }
  .global-language .language-toggle { padding: 6px 11px; }
  .filters { gap: 8px; }
  .range-tabs { width: 100%; background: transparent; padding: 0; border: 0; gap: 20px; border-radius: 0; }
  .range-tabs button { border-radius: 0; padding: 4px 0 8px; border-bottom: 2px solid transparent; font-size: 12px; }
  .range-tabs button.active { box-shadow: none; background: transparent; border-bottom-color: var(--red); }
  .filters .search-box { flex: 1 1 100%; padding: 8px 11px; }
  .filters select { width: calc(50% - 4px); min-width: 0; flex: 1 1 calc(50% - 4px); font-size: 11px; height: 36px; }
  .period-heading { margin-top: 21px; }
  .date-divider { gap: 9px; }
  .date-divider h4 { font-size: 12px; }
  .date-divider > span { font-size: 12px; }
  .seminar-card { padding: 19px; margin-bottom: 15px; border-radius: 14px; }
  .card-top { margin-bottom: 13px; gap: 8px; }
  .card-tools { width: 100%; justify-content: space-between; }
  .field-tag { font-size: 11px; }
  .card-title, .card-title[lang="en"] { font-size: 23px; line-height: 1.45; margin-bottom: 12px; }
  .speaker-line { font-size: 16px; margin-bottom: 14px; }
  .speaker-line span { font-size: 13px; }
  .card-details { padding: 8px 10px; margin-bottom: 13px; }
  .card-time { font-size: 16px; }
  .venue-line { font-size: 13px; }
  .abstract-preview { font-size: 15px; }
  .abstract-block { padding-bottom: 0; }
  .card-footer { margin: 16px -19px -19px; padding: 10px 19px; }
  dialog { width: calc(100% - 24px); max-height: 93vh; padding: 21px 17px; border-radius: 8px; }
  .dialog-header h2 { font-size: 20px; }
  .form-row { gap: 10px; }
  .editor-actions > button { flex: 1; padding: 10px 8px; }
  .toast { bottom: 15px; font-size: 11px; }
}
@media (max-width: 360px) {
  .brand { font-size: 18px; }
  .site-header nav { font-size: 10px; gap: 12px; }
  h1 { font-size: 21px; }
  .calendar-panel { column-gap: 12px; padding: 14px 11px; }
  .agenda { padding-left: 10px; }
  .month-heading h2 { font-size: 13px; }
  .month-heading .icon-button { width: 16px; }
  .calendar-legend { font-size: 7px; }
  .card-title, .card-title[lang="en"] { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@font-face { font-family: 'Seminar Calligraphy'; src: url('/fonts/calligraphy.ttf') format('truetype'); font-display: swap; }
.hero-motto { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin: 8px 0 8px; color: var(--red); }
.hero-motto [lang="zh-CN"] { font: 22px/1.6 'Seminar Calligraphy', 'KaiTi', serif; }
.hero-motto [lang="en"] { font: italic 16px/1.6 var(--content); }
.copyright { margin-right: auto; color: var(--muted); }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.admin-tabs button { padding: 8px 11px; color: var(--muted); border-bottom: 2px solid transparent; font-size: 12px; }
.admin-tabs [aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.draft-actions { display: flex; justify-content: space-between; gap: 12px; }
.draft-actions .delete-button, .delete-button { color: var(--red); }
.source-card h4 { margin: 0 0 8px; font-size: 14px; }
.source-card .source-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.source-card button { border: 1px solid var(--line); padding: 5px 10px; border-radius: 5px; font-size: 11px; }
.source-card .source-error { color: var(--red); }
.source-card .source-metrics { line-height: 1.8; }
.admin-search { display: block; font-size: 12px; margin: 0 0 14px; }
.admin-search input { display: block; width: 100%; border: 1px solid var(--line); border-radius: 5px; padding: 9px 10px; margin-top: 8px; }
.library-more { width: 100%; padding: 12px; color: var(--red); }
@media (max-width: 680px) { .hero-motto { gap: 0 14px; } .hero-motto [lang="zh-CN"] { font-size: 20px; } .hero-motto [lang="en"] { font-size: 14px; } }

.campus-label{font-size:11px;letter-spacing:.18em;color:#8c1d2c;margin:0 0 14px;font-weight:600}.primary-button[href]{display:inline-flex;text-decoration:none;margin-top:12px}.hero h1{letter-spacing:-.03em}
