:root {
  --ink: #152c3b;
  --muted: #657681;
  --line: #dce3e6;
  --paper: #f7f8f6;
  --white: #ffffff;
  --navy: #173f5f;
  --navy-deep: #0d2d45;
  --teal: #247a72;
  --coral: #cb5d48;
  --gold: #c69a43;
  --shadow: 0 14px 40px rgba(21, 44, 59, 0.1);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  min-height: 68px;
  padding: 8px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(21, 44, 59, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 11px; justify-self: start; min-width: 0; }
.brand-seal {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--gold);
  font-family: "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
}
.brand span:last-child { display: grid; min-width: 0; }
.brand strong { font-family: "Songti SC", serif; font-size: 18px; letter-spacing: 0; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 10px; }

.desktop-nav { display: flex; gap: 6px; padding: 4px; border-radius: 7px; background: #edf2f3; }
.desktop-nav a { padding: 8px 15px; border-radius: 5px; color: #526671; font-size: 13px; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--navy); background: #fff; }
.site-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.back-link { color: var(--navy); font-size: 13px; font-weight: 700; }
.back-link::after { content: "  →"; }
.editor-access-button { min-height: 36px; padding: 0 12px; border: 1px solid #ced9dd; border-radius: 5px; color: #526671; background: #fff; cursor: pointer; font-size: 11px; font-weight: 800; }
.editor-access-button:hover, .editor-access-button:focus-visible, .editor-access-button.active { border-color: var(--teal); color: #fff; background: var(--teal); }
.mobile-nav { display: none; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(660px, calc(100dvh - 112px));
  max-height: 720px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 42, 0.92) 0%, rgba(8, 28, 42, 0.7) 42%, rgba(8, 28, 42, 0.18) 78%), url("/assets/optimized/pcjj-team-prep-1200.webp") center/cover no-repeat;
}
.hero-content { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; padding: 68px 32px 70px; }
.hero-eyebrow { display: block; margin-bottom: 14px; color: #f1c56f; font-size: 13px; font-weight: 800; }
.hero h1 { max-width: 760px; margin: 0; font-family: "Songti SC", serif; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.12; font-weight: 700; }
.hero p { max-width: 640px; margin: 20px 0 0; color: rgba(255, 255, 255, 0.84); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-actions a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 5px; font-size: 13px; font-weight: 800; }
.hero-actions a:first-child { color: var(--navy-deep); background: #fff; }
.hero-actions a:last-child { border: 1px solid rgba(255, 255, 255, 0.58); color: #fff; }
.hero-actions a::after { content: "→"; margin-left: 8px; }

.stat-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); width: min(720px, calc(100% - 64px)); margin-top: 38px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.stat-strip div { padding: 18px 20px 0 0; }
.stat-strip strong { display: block; font-family: Georgia, serif; color: #fff; font-size: 27px; }
.stat-strip span { color: rgba(255, 255, 255, 0.68); font-size: 11px; }

.admin-workbench { border-bottom: 1px solid #cdd8dd; background: #eef3f4; }
.admin-workbench-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0; }
.admin-workbench header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-workbench h2 { margin: 0; font-size: 18px; }
.admin-workbench p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.admin-actions { display: flex; gap: 8px; }
.admin-button, .admin-workbench button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #c6d2d7;
  border-radius: 5px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.admin-button.primary, .admin-workbench button.primary { border-color: var(--navy); color: #fff; background: var(--navy); }
.admin-workbench button.danger { color: #a23d32; }
.admin-workbench details { margin-top: 12px; border: 1px solid #d4dfe2; border-radius: 6px; background: #fff; }
.admin-workbench summary { padding: 13px 15px; cursor: pointer; font-size: 13px; font-weight: 800; }
.admin-panel-body { padding: 0 15px 15px; border-top: 1px solid #e6ecee; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-grid label, .editor-row label { display: grid; gap: 5px; color: #51636d; font-size: 11px; font-weight: 700; }
.admin-grid .wide { grid-column: 1 / -1; }
.admin-grid input, .admin-grid textarea, .editor-row input, .editor-row textarea, .editor-row select {
  width: 100%;
  border: 1px solid #cbd7dc;
  border-radius: 5px;
  outline: none;
  color: var(--ink);
  background: #fff;
}
.admin-grid input, .editor-row input, .editor-row select { min-height: 38px; padding: 0 10px; }
.admin-grid textarea, .editor-row textarea { min-height: 86px; padding: 9px 10px; resize: vertical; }
.teacher-pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 12px; }
.teacher-pick-grid label { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px; border: 1px solid #e0e7e9; border-radius: 5px; font-size: 11px; }
.teacher-pick-grid span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-list { display: grid; gap: 10px; padding-top: 12px; }
.editor-row { display: grid; grid-template-columns: 110px 1fr 1.35fr auto; align-items: start; gap: 8px; padding: 10px; border: 1px solid #e0e7e9; border-radius: 5px; }
.experience-editor-row { grid-template-columns: 110px minmax(150px, .8fr) 1.4fr 1fr auto; }
.custom-resume-editor-row { grid-template-columns: 110px 110px 1.25fr 1.25fr auto; }
.editor-row .editor-wide { grid-column: 1 / -2; }
.editor-help { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.editor-row .custom-resume-content { min-height: 180px; }
.editor-row .upload-label { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 10px; border: 1px dashed #9cb0b8; border-radius: 5px; cursor: pointer; }
.editor-row .upload-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-resume-thumbnails { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.custom-resume-thumbnails > div { position: relative; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid #d8e2e4; border-radius: 5px; background: #f0f3f3; }
.custom-resume-thumbnails img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.custom-resume-thumbnails button { position: absolute; right: 5px; bottom: 5px; min-height: 27px; padding: 0 7px; border-color: rgba(255,255,255,.7); color: #fff; background: rgba(13,45,69,.86); }
.custom-resume-empty { padding: 13px; border: 1px dashed #cbd8dc; color: var(--muted); background: #f8faf9; font-size: 11px; text-align: center; }
.admin-locked { width: min(760px, calc(100% - 40px)); margin: 24px auto; padding: 18px; border: 1px solid #d7e0e3; border-radius: 6px; background: #fff; }
.admin-locked strong { display: block; }
.admin-locked p { margin: 6px 0 12px; color: var(--muted); font-size: 12px; }

.section { scroll-margin-top: 112px; padding: 78px 0; }
.section.alt { background: #eef2ef; }
.section-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 28px; }
.section-kicker { display: block; margin-bottom: 7px; color: var(--coral); font-size: 11px; font-weight: 800; }
.section-heading h2 { margin: 0; font-family: "Songti SC", serif; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; }
.section-heading p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.resume-tools { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.search-control { flex: 1; min-width: 180px; }
.search-control input { width: 100%; height: 42px; padding: 0 13px; border: 1px solid #d4dee2; border-radius: 5px; outline: none; background: #fff; }
.subject-filters, .experience-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { min-height: 36px; padding: 0 12px; border: 1px solid #d2dcdf; border-radius: 5px; color: #60727d; background: #fff; cursor: pointer; font-size: 12px; }
.filter-button.active { border-color: var(--navy); color: #fff; background: var(--navy); }

.resume-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.resume-card { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; min-height: 360px; border: 1px solid #dbe3e5; border-radius: 6px; background: #fff; overflow: hidden; box-shadow: 0 4px 14px rgba(21, 44, 59, 0.04); }
.resume-card-top { display: grid; grid-template-columns: 78px 1fr; gap: 13px; padding: 18px 18px 14px; border-bottom: 1px solid #edf1f2; }
.resume-avatar { width: 78px; height: 92px; object-fit: cover; object-position: center top; border-radius: 5px; background: #edf2f3; }
.resume-card h3 { margin: 3px 0 5px; font-size: 19px; }
.resume-school { color: var(--navy); font-size: 12px; font-weight: 800; line-height: 1.5; }
.resume-meta { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.resume-body { padding: 14px 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 8px; border-radius: 999px; color: #42636b; background: #edf4f3; font-size: 10px; font-weight: 700; }
.resume-summary { display: -webkit-box; margin: 14px 0 0; color: #536772; font-size: 12px; line-height: 1.75; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.resume-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 16px; }
.resume-card-footer span { color: var(--muted); font-size: 10px; }
.text-button { padding: 0; border: 0; color: var(--coral); background: none; cursor: pointer; font-size: 12px; font-weight: 800; }
.text-button::after { content: " →"; }
.custom-resume-image { height: 190px; overflow: hidden; border-bottom: 1px solid #edf1f2; background: #edf2f3; }
.custom-resume-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.custom-resume-paper { display: grid; align-content: center; min-height: 190px; padding: 24px; border-bottom: 1px solid #dce6e6; background: #edf4f2; }
.custom-resume-paper span { color: var(--teal); font-size: 10px; font-weight: 900; }
.custom-resume-paper strong { margin-top: 10px; font-family: "Songti SC", serif; font-size: 26px; line-height: 1.25; }
.custom-resume-paper small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.empty-state { grid-column: 1 / -1; padding: 38px 20px; border: 1px dashed #cbd7db; color: var(--muted); text-align: center; }

.guide-layout { display: grid; grid-template-columns: 230px 1fr; gap: 34px; }
.phase-index { align-self: start; position: sticky; top: 104px; display: grid; gap: 8px; }
.phase-index button { min-height: 42px; padding: 0 12px; border: 1px solid #d2dddf; border-radius: 5px; text-align: left; color: #61727b; background: #fff; cursor: pointer; }
.phase-index button.active { border-color: var(--teal); color: #fff; background: var(--teal); }
.guide-list { display: grid; gap: 10px; }
.guide-card { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 20px; border-left: 4px solid var(--teal); background: #fff; }
.guide-card .phase { color: var(--teal); font-size: 11px; font-weight: 900; }
.guide-card h3 { margin: 0 0 7px; font-size: 16px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.experience-filters { margin-bottom: 18px; }
.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.experience-card { display: grid; grid-template-rows: 190px 1fr auto; min-width: 0; border: 1px solid #d8e1e3; border-radius: 6px; background: #fff; overflow: hidden; }
.experience-cover { position: relative; overflow: hidden; background: #dce5e6; }
.experience-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.experience-card:hover .experience-cover img { transform: scale(1.025); }
.platform-badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 4px; color: #fff; background: rgba(13, 45, 69, 0.88); font-size: 10px; font-weight: 800; }
.platform-badge.xiaohongshu { background: rgba(203, 72, 73, 0.92); }
.platform-badge.douyin { background: rgba(22, 29, 35, 0.92); }
.experience-body { padding: 18px; }
.experience-body time { color: #89969c; font-size: 10px; }
.experience-body h3 { margin: 8px 0; font-size: 18px; line-height: 1.45; }
.experience-body p { display: -webkit-box; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.experience-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px 18px; }
.experience-footer .tag-list { min-width: 0; flex-wrap: nowrap; overflow: hidden; }
.experience-footer .tag { white-space: nowrap; }
.external-post-link { display: inline-flex; align-items: center; flex: none; min-height: 32px; padding: 0 10px; border-radius: 4px; color: #fff; background: var(--coral); }
.external-post-link:hover, .external-post-link:focus-visible { background: #a94737; }

.resource-note { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--gold); color: #5f6f77; background: #fff; font-size: 12px; line-height: 1.8; }
.resource-note strong { color: var(--ink); }

.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(5, 20, 29, 0.58); }
.modal-card { width: min(820px, 100%); max-height: min(780px, calc(100dvh - 44px)); overflow: auto; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.modal-card header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid #e2e8ea; background: rgba(255, 255, 255, .96); }
.modal-card header strong { font-size: 14px; }
.modal-close { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--ink); background: #edf2f3; cursor: pointer; font-size: 20px; }
.modal-content { padding: 24px; }
.unlock-card { position: relative; width: min(430px, 100%); padding: 34px; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.unlock-card > .modal-close { position: absolute; top: 13px; right: 13px; }
.lock-seal { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border: 1px solid #b9cdd1; border-radius: 50%; color: var(--teal); background: #edf5f3; font-size: 28px; }
.modal-kicker { display: block; color: var(--coral); font-size: 10px; font-weight: 900; }
.unlock-card h2 { margin: 7px 0 9px; font-family: "Songti SC", serif; font-size: 28px; }
.unlock-card p { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.unlock-card label { display: grid; gap: 7px; color: #4d626d; font-size: 11px; font-weight: 800; }
.unlock-card input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #cbd7dc; border-radius: 5px; outline: none; }
.unlock-card input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(36, 122, 114, .12); }
.form-error { min-height: 20px; padding-top: 7px; color: #a23d32; font-size: 11px; }
.unlock-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin-top: 5px; padding: 0 14px; border: 0; border-radius: 5px; color: #fff; background: var(--navy); cursor: pointer; font-size: 12px; font-weight: 800; }
.unlock-submit:disabled { cursor: wait; opacity: .68; }
.unlock-card small { display: block; margin-top: 11px; color: #849199; text-align: center; font-size: 10px; }
.profile-hero { display: grid; grid-template-columns: 150px 1fr; gap: 24px; }
.profile-hero img { width: 150px; aspect-ratio: 4 / 5; border-radius: 6px; object-fit: cover; object-position: center top; background: #eef2f3; }
.profile-hero h2 { margin: 4px 0 8px; font-size: 27px; }
.profile-hero p { margin: 5px 0; color: var(--muted); font-size: 12px; }
.profile-sections { display: grid; gap: 14px; margin-top: 22px; }
.profile-section { padding-top: 14px; border-top: 1px solid #e3e9eb; }
.profile-section h3 { margin: 0 0 7px; color: var(--navy); font-size: 13px; }
.profile-section p { margin: 0; white-space: pre-wrap; color: #4f626c; font-size: 12px; line-height: 1.9; }
.custom-resume-modal-heading > span { color: var(--coral); font-size: 10px; font-weight: 900; }
.custom-resume-modal-heading h2 { margin: 7px 0 5px; font-family: "Songti SC", serif; font-size: 30px; }
.custom-resume-modal-heading p { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.custom-resume-lead { margin: 20px 0 0; padding: 15px 17px; border-left: 4px solid var(--teal); color: #49616b; background: #eef4f2; font-size: 13px; line-height: 1.85; }
.custom-resume-copy { margin-top: 18px; white-space: pre-wrap; color: #435862; font-size: 13px; line-height: 1.95; }
.custom-resume-modal-images { display: grid; gap: 14px; margin-top: 20px; }
.custom-resume-modal-images img { width: 100%; height: auto; border: 1px solid #dbe3e5; border-radius: 5px; object-fit: contain; background: #f2f4f4; }
.article-cover { width: 100%; max-height: 330px; object-fit: cover; border-radius: 5px; }
.article-meta { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: var(--muted); font-size: 11px; }
.article-title { margin: 0; font-family: "Songti SC", serif; font-size: 28px; line-height: 1.35; }
.article-copy { margin: 18px 0 0; white-space: pre-wrap; color: #4c5f68; font-size: 14px; line-height: 2; }
.external-open { display: inline-flex; min-height: 40px; align-items: center; margin-top: 20px; padding: 0 15px; border-radius: 5px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 800; }
.external-open::after { content: " ↗"; margin-left: 7px; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: calc(100% - 36px); padding: 10px 16px; border-radius: 5px; color: #fff; background: var(--navy-deep); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s ease; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading-state { display: grid; place-items: center; min-height: calc(100dvh - 68px); align-content: center; gap: 12px; color: var(--muted); }
.loading-mark { width: 30px; height: 30px; border: 3px solid #d4dfe2; border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 32px clamp(20px, 5vw, 72px); color: #c6d2d8; background: var(--navy-deep); }
.site-footer div:first-child { display: grid; gap: 4px; }
.site-footer strong { color: #fff; }
.site-footer span { font-size: 11px; }
.site-footer div:last-child { display: flex; gap: 18px; font-size: 12px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 62px; padding: 7px 16px; }
  .desktop-nav { display: none; }
  .brand-seal { width: 36px; height: 36px; font-size: 17px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 9px; }
  .back-link { font-size: 11px; }
  .site-actions { gap: 6px; }
  .editor-access-button { min-height: 34px; padding: 0 9px; font-size: 10px; }
  .mobile-nav { position: sticky; top: 62px; z-index: 35; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 8px 10px; border-bottom: 1px solid #cbd8dc; background: rgba(247,249,248,.97); box-shadow: 0 5px 14px rgba(21,44,59,.08); }
  .mobile-nav a { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 5px; min-width: 0; min-height: 44px; padding: 6px 8px; border: 1px solid #cbd7db; border-radius: 6px; color: #435b66; background: #fff; font-size: 10px; }
  .mobile-nav a span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: var(--teal); background: #e8f2ef; font-family: Georgia, serif; font-size: 8px; font-weight: 800; }
  .mobile-nav a strong { min-width: 0; line-height: 1.25; font-weight: 900; }
  .mobile-nav a.active { border-color: var(--navy); color: #fff; background: var(--navy); box-shadow: 0 5px 12px rgba(23,63,95,.18); }
  .mobile-nav a.active span { color: var(--navy); background: #fff; }
  .hero { min-height: min(610px, calc(100dvh - 102px)); }
  .hero::before { background: linear-gradient(0deg, rgba(8, 28, 42, .95) 0%, rgba(8, 28, 42, .63) 58%, rgba(8, 28, 42, .24) 100%), url("/assets/optimized/pcjj-team-prep-720.webp") center/cover no-repeat; }
  .hero-content { padding: 42px 20px 36px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 13px; line-height: 1.75; }
  .stat-strip { width: 100%; margin-top: 30px; }
  .stat-strip div { padding: 13px 8px 0 0; }
  .stat-strip strong { font-size: 23px; }
  .stat-strip span { font-size: 9px; }
  .section { scroll-margin-top: 126px; padding: 52px 0; }
  .section-inner { width: min(100% - 28px, 680px); }
  .section-heading { display: grid; gap: 10px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 30px; }
  .resume-tools { display: grid; }
  .subject-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .subject-filters::-webkit-scrollbar { display: none; }
  .filter-button { flex: none; }
  .resume-grid, .experience-grid { grid-template-columns: 1fr; }
  .resume-card { min-height: 0; }
  .guide-layout { grid-template-columns: 1fr; gap: 14px; }
  .phase-index { position: static; display: flex; overflow-x: auto; scrollbar-width: none; }
  .phase-index button { flex: none; min-height: 36px; }
  .guide-card { grid-template-columns: 78px 1fr; gap: 10px; padding: 16px; }
  .experience-card { grid-template-rows: 180px 1fr auto; }
  .admin-workbench-inner { width: calc(100% - 28px); }
  .admin-workbench header { align-items: flex-start; }
  .admin-actions { flex-direction: column; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-grid .wide { grid-column: auto; }
  .teacher-pick-grid { grid-template-columns: 1fr 1fr; }
  .editor-row, .experience-editor-row, .custom-resume-editor-row { grid-template-columns: 1fr; }
  .editor-row .editor-wide { grid-column: auto; }
  .profile-hero { grid-template-columns: 105px 1fr; gap: 15px; }
  .profile-hero img { width: 105px; }
  .profile-hero h2 { font-size: 22px; }
  .modal-content { padding: 18px; }
  .custom-resume-thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .brand small { display: none; }
  .back-link { padding: 7px 9px; border: 1px solid #d8e1e4; border-radius: 5px; }
  .back-link::after { display: none; }
  .editor-access-button { padding: 0 8px; }
  .mobile-nav { gap: 5px; padding: 7px 6px; }
  .mobile-nav a { gap: 4px; padding: 5px 6px; font-size: 9px; }
  .mobile-nav a span { width: 19px; height: 19px; }
  .unlock-card { padding: 28px 22px; }
  .hero h1 { font-size: 34px; }
  .hero-actions a { flex: 1; justify-content: center; min-width: 0; padding: 0 8px; }
  .resume-card-top { grid-template-columns: 66px 1fr; padding: 14px; }
  .resume-avatar { width: 66px; height: 80px; }
  .resume-body { padding: 12px 14px; }
  .resume-card-footer { padding: 10px 14px 14px; }
  .teacher-pick-grid { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 1fr; gap: 5px; }
  .profile-hero { grid-template-columns: 86px 1fr; }
  .profile-hero img { width: 86px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
