/* v74: editorial page composition. Legacy component behavior stays in journey.css. */
body.editorial {
  --canvas: #faf7f2; --paper: #fffdfa; --ink: #303e37; --muted: #606b5c;
  --blue: #355a49; --green: #355a49; --line: #e8e2d8; --accent: #b8573c;
  background: var(--canvas); color: var(--ink); font: 16px/1.7 "PingFang SC", "Microsoft YaHei", sans-serif;
}
.editorial button, .editorial input, .editorial select, .editorial textarea { font-family: inherit; }
.editorial .topbar {
  position: sticky; inset: 0 0 auto; width: 100%; min-height: 78px; height: auto;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 24px; padding: 12px max(28px, calc((100vw - 1280px) / 2));
  background: #fffdfaef; border: 0; border-bottom: 1px solid var(--line); box-shadow: none;
  backdrop-filter: blur(16px); z-index: 50;
}
.editorial .brand { display: flex; gap: 10px; flex-shrink: 0; }
.editorial .brand-mark { width: 37px; height: 40px; background: #355a49; border-radius: 50% 50% 10px 10px; font: 24px "SimSun", serif; }
.editorial .brand strong { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; font: 600 26px/1.3 "Songti SC", "SimSun", serif; letter-spacing: 1px; }
.editorial .brand small { display: block; color: #606b5c; font-size: 11px; letter-spacing: 2px; }
.editorial .brand-season { color: #9a4f37; }
.editorial .main-nav { position: static; display: flex; flex-direction: row; gap: 4px; flex: 1; justify-content: center; border: 0; padding: 0; }
.editorial .main-nav a { padding: 10px 12px; min-height: 44px; font-size: 16px; font-weight: 500; color: #53624f; gap: 7px; border-radius: 999px; white-space: nowrap; }
.editorial .main-nav a.active { color: #355a49; background: #ecf0e6; border-color: transparent; font-weight: 650; }
.editorial .main-nav a:hover { background: #f1eee7; }
.editorial .main-nav .nav-icon { display: none; }
.editorial .account { border: 0; margin: 0; padding: 0; align-items: center; flex-shrink: 0; }
.editorial .account strong { font-size: 13px; font-weight: 500; }
.editorial .avatar { background: #eee6d9; color: #79684c; width: 34px; height: 34px; }
.editorial .local-badge { color: #606b5c; font-size: 12px; }
.editorial .page-shell { width: 100%; max-width: 1280px; margin: 0 auto; padding: 14px 32px 60px; }
.editorial .workspace-top { margin: 0 0 14px; color: #606b5c; letter-spacing: 1px; font-size: 11px; }
.editorial .workspace-top b { color: #b8573c; }
.editorial .workspace-top time, .workspace-edition { color: #606b5c; font-size: 12px; }
.editorial .primary, .editorial button.primary { background: #355a49; border-color: #355a49; box-shadow: none; font-weight: 500; border-radius: 999px; padding: 12px 22px; min-height: 46px; }
.editorial .primary:hover { background: #234336; }
.editorial .secondary, .editorial .outline-button, .editorial .secondary-link { border-color: #deded1; background: #fffdfa; color: #405849; border-radius: 999px; min-height: 44px; font-weight: 500; }
.editorial .panel { border-color: var(--line); background: var(--paper); box-shadow: none; }
.editorial .eyebrow, .editorial #app-shell .eyebrow { color: #816f59; font-size: 10px; letter-spacing: 2px; font-weight: 500; }
.editorial #app-shell h1 { font: 500 36px/1.45 "Songti SC", "SimSun", serif; letter-spacing: 1px; color: #304f3f; }
.editorial #app-shell h2 { color: #304c3d; font-size: 24px; font-weight: 550; }
.editorial #app-shell p { font-family: inherit; font-size: 16px; line-height: 1.8; }
.editorial #app-shell small { font-size: 13px; line-height: 1.75; }
.editorial #app-shell button, .editorial #app-shell .secondary-link { font-size: 15px; }
.editorial #app-shell input, .editorial #app-shell select, .editorial #app-shell textarea { font-size: 16px; }
.editorial .feedback-form label, .editorial #journey-update > label { font-size: 14px; color: #53624f; }
.editorial .journey-heading { margin-bottom: 25px; align-items: end; flex-direction: row; }
.editorial .journey-heading p:not(.eyebrow) { color: #697265; max-width: 660px; }
.editorial .section-heading { align-items: center; flex-direction: row; }
.journal-footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); color: #606b5c; font-size: 13px; }
.journal-footer button { font-size: 14px; min-height: 44px; }

/* Home: an illustrated cover, a narrow action strip, then useful information. */
.editorial .hero.panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; padding: 0; gap: 0; border: 1px solid #e7e1d5; background: #f4efdf; border-radius: 26px; overflow: hidden; position: relative; }
.cover-copy { position: relative; z-index: 1; padding: 24px 20px 10px 38px; }
.editorial #workbench h1 { font-size: clamp(30px, 3.1vw, 43px); line-height: 1.5; letter-spacing: 1px; margin: 12px 0 10px; white-space: nowrap; }
.editorial .hero .eyebrow { display: flex; align-items: center; gap: 8px; color: #667354; }
.little-flower { font-size: 26px; line-height: 1; color: #ad603e; }
.cover-emphasis { color: #a9593e; position: relative; }
.cover-emphasis::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 8px; border-top: 2px solid #c99070; border-radius: 50%; transform: rotate(-2deg); }
.editorial #workbench .hero-copy { color: #5b6653; margin: 14px 0; font-size: 16px !important; }
.editorial #workbench .hero-actions button { font-size: 16px; }
.editorial .hero-tags { gap: 12px; margin: 12px 0 0; }
.editorial .hero-tags span { background: none; border: 0; padding: 0; font-size: 13px; color: #55634c; }
.editorial .hero-tags span::before { content: "·"; color: #b47c56; padding-right: 7px; }
.editorial .hero-actions { display: flex; flex-direction: row; align-items: center; margin-top: 14px; gap: 8px; }
.editorial .hero-actions button { width: auto; }
.editorial #workbench .hero-actions .text-action { flex-basis: 100%; text-align: left; margin-top: 0; font-size: 14px; min-height: 36px; padding-top: 4px; padding-bottom: 4px; }
.cover-art { margin: 0; grid-column: 2; grid-row: 1 / 3; min-height: 410px; align-self: stretch; position: relative; overflow: hidden; background: #f5eddf; }
.cover-art img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 72%; display: block; }
.cover-art::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #f4efdf 0%, transparent 22%); pointer-events: none; }
.cover-art figcaption { position: absolute; top: 25px; left: 38px; right: 18px; z-index: 2; transform: rotate(-3deg); color: #4f6145; }
.cover-art figcaption span { display: block; font-size: 13px; }
.cover-art figcaption strong { display: block; font: 500 24px/1.8 "SimSun", serif; }
.cover-art figcaption small { font: 9px Georgia, serif !important; letter-spacing: 2px; }
.cover-stamp { position: absolute; z-index: 2; right: 25px; bottom: 20px; font: italic 20px/1.2 Georgia, serif; color: #fff8e8; background: #4b6650; border: 4px double #e2ddbd; padding: 14px; border-radius: 50%; transform: rotate(10deg); }
.editorial .hero .assessment-progress { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 20px 16px 38px; padding: 8px 0 0; border-color: #dcdcc8; }
.editorial .assessment-progress strong { font-size: 13px; }
.editorial .assessment-progress small { width: 100%; font-size: 13px !important; color: #60684f; }
.editorial .progress-label { color: #64694f; font-size: 13px; }
.editorial .today-note { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); grid-row: auto; grid-column: auto; align-items: center; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; margin: 20px 0; padding: 8px 0 20px; gap: 15px; }
.editorial .today-note .today-heading { min-width: 0; }
.editorial .today-note h2 { font: 500 19px/1.5 "SimSun", serif !important; margin: 7px 0 0; }
.editorial .note-index { font-size: 9px; letter-spacing: 2px; color: #8c765a; }
.editorial .today-note button { border: 0; border-left: 1px solid var(--line); padding: 12px 0 12px 18px; gap: 10px; min-height: 66px; }
.editorial .today-note button:hover { background: #f1ede3; border-radius: 10px; }
.editorial .today-note strong { font-size: 15px; font-weight: 500; color: #425640; }
.editorial .today-note small { font-size: 13px !important; color: #606b5c; }
.editorial .today-note button > span { font-size: 21px; color: #b57954; }
.editorial .today-note b { color: #8c795c; }
.editorial .metrics { gap: 0; background: #fffdfa; border: 1px solid var(--line); border-radius: 18px; padding: 19px 9px; margin: 0 0 30px; }
.editorial .metric-card { border: 0; border-right: 1px solid var(--line); border-radius: 0; min-height: 126px; padding: 6px 24px; background: none; box-shadow: none; }
.editorial .metric-card:last-child { border: 0; }
.editorial .metric-card:hover { background: #f6f3ea; }
.editorial .metric-card small { color: #606b5c; font-size: 14px !important; }
.editorial .metric-card b { color: #4f6749; font: 36px/1.45 Georgia, serif; }
.editorial .metric-card em { color: #606b5c; font-size: 13px; }
.editorial .metric-link { font-size: 13px; color: #526947; }
.editorial #recommendations { background: transparent; border: 0; padding: 6px 0 0 !important; }
.editorial #recommendations .section-heading h2 { font: 500 28px "SimSun", serif; }
.editorial .workflow { gap: 14px; }
.editorial .workflow > div { padding: 20px; border: 1px solid #e4e2d6; border-radius: 3px 20px 20px; background: #edf0e5; }
.editorial .workflow > div:nth-of-type(2) { background: #f6e9df; border-color: #eaddd2; }
.editorial .workflow > div:nth-of-type(3) { background: #f5eedb; border-color: #e8dfc5; }
.editorial .workflow > div:nth-of-type(4) { background: #edecea; border-color: #deded8; }
.editorial .workflow > div > span { color: #9a8a6e; font-style: italic; }
.editorial .workflow strong { color: #4d5e46; font-weight: 550; }
.editorial .workflow small { color: #6f7765; margin-top: 8px; }

/* Opportunities: cards on small screens, with a compact desktop table below. */
.editorial #jobs.panel { background: transparent; border: 0; box-shadow: none; }
.editorial #jobs > .journey-heading { border-bottom: 1px solid var(--line); padding: 0 0 18px; margin-bottom: 18px; }
.editorial #jobs .journey-heading h1 { margin: 0 0 7px; }
.editorial #jobs .journey-heading p { margin: 0; }
.editorial #jobs .job-results-toolbar { margin: 0 0 15px; }
.editorial #jobs .job-scope-tabs { margin: 0; }
.editorial #jobs .job-column-filter-heading { margin-bottom: 9px !important; }
.editorial #jobs .job-column-filter-heading strong { font-size: 14px; }
.editorial #jobs .assessment-search-strip, .editorial #jobs #keyword-hint { display: none; }
.editorial #jobs .job-filter-grid { margin-top: 12px; }
.opportunity-filters { margin-top: 10px; border-top: 1px solid var(--line); }
.opportunity-filters summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; color: #52644b; }
.opportunity-filters summary span { font-size: 13px; color: #606b5c; }
.editorial #jobs .job-filter-field select { padding: 7px 10px !important; }
.editorial #app-shell .primary { background: #355a49; border-color: #355a49; box-shadow: none; }
.editorial #app-shell .primary:hover { background: #234336; }
.editorial .job-column-filters { background: #fffdfa !important; border-color: var(--line) !important; padding: 20px 24px !important; border-radius: 18px; }
.editorial .job-scope, .editorial .notification-tab { border-radius: 999px !important; background: transparent !important; color: #68715e !important; min-height: 42px; }
.editorial .job-scope.active, .editorial .notification-tab.active { background: #e9eee0 !important; color: #355a49 !important; border-color: #d6dfc8 !important; }
.editorial .job-search-input { background: #f8f6ef !important; border-color: #e1e0d2 !important; }
.editorial .job-filter-field select { background: #fffdfa !important; color: #4f5b47; min-height: 44px; }
.editorial #job-table-wrap { background: transparent; border: 0; overflow: visible; }
.editorial #job-table-wrap .job-table { display: block; }
.editorial #job-table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.editorial #job-table-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.editorial #job-table-body tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; align-content: start; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fffdfa; min-width: 0; box-shadow: none; }
.editorial #job-table-body tr:hover { border-color: #c9d1be; background: #fffefa !important; box-shadow: 0 8px 24px #434b3010; }
.editorial #job-table-body td { display: block; width: auto; max-width: none; white-space: normal; border: 0 !important; padding: 0 !important; font-size: 14px !important; color: #53614c; min-width: 0; }
.editorial #job-table-body td:nth-child(1), .editorial #job-table-body td:nth-child(2), .editorial #job-table-body td:nth-child(7) { grid-column: 1 / -1; }
.editorial #job-table-body td:nth-child(1) strong { font-size: 19px; line-height: 1.6; color: #354c39; font-weight: 550; }
.editorial #job-table-body td:nth-child(2) { padding-bottom: 15px !important; border-bottom: 1px solid #ede9df !important; }
.editorial #job-table-body td:nth-child(2) .job-name-link { font-size: 16px !important; font-weight: 500; color: #4d6242; line-height: 1.8; }
.editorial #job-table-body td::before { content: attr(data-label); display: block; font-size: 13px; color: #606b5c; margin-bottom: 4px; }
.editorial .job-cell-meta, .editorial .source-status-badge { font-size: 13px !important; color: #606b5c !important; }
.editorial #job-table-body td:nth-child(1)::before, .editorial #job-table-body td:nth-child(2)::before, .editorial #job-table-body td:nth-child(7)::before, .editorial #job-table-body .job-table-empty::before { display: none; }
.editorial #job-table-body .job-cell-ellipsis { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: none; white-space: normal; overflow: hidden; text-overflow: ellipsis; cursor: inherit; }
.editorial #job-table-body td:nth-child(2) .job-cell-ellipsis { -webkit-line-clamp: 3; }
.editorial #job-table-body td:nth-child(7) { align-self: end; }
.editorial #job-table-body tr { grid-template-rows: auto minmax(78px, 1fr) auto auto auto; }
.editorial #job-table-body .job-action-group { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; padding-top: 9px; }
.editorial #job-table-body .job-action-button { display: inline-flex; align-items: center; justify-content: center; flex: 1; box-sizing: border-box; font-size: 14px !important; min-height: 44px !important; padding: 9px 10px !important; border-radius: 9px !important; white-space: nowrap; text-decoration: none; }
.editorial #job-table-body .job-apply-button { background: #edf3e6; border: 1px solid #d4dfc9; color: #355a49; font-weight: 600; }
.editorial #job-table-body .job-company-follow-button { background: transparent; border: 1px solid #cbd4c4; color: #52644e; font-weight: 500; }
.editorial #job-table-body .job-company-follow-button.active { background: #e7efe1; border-color: #b9cab0; color: #355a49; }
.editorial #job-table-body .job-action-button:disabled { background: #f1f0eb; border-color: #dfded5; color: #77796c; cursor: default; opacity: 1; }
.editorial #job-table-body .job-name-link { display: block; width: 100%; border: 0; padding: 0; margin: 0; border-radius: 3px; background: none; box-shadow: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.editorial #job-table-body .job-name-link:hover { color: #355a49; text-decoration: underline; text-underline-offset: 3px; }
.editorial #job-table-body .job-name-link:focus-visible, .editorial #job-table-body .job-action-button:focus-visible { outline: 2px solid #355a49; outline-offset: 3px; }
.editorial #job-table-body .job-table-empty { grid-column: 1 / -1; text-align: center; padding: 30px !important; }
.editorial #job-table-body tr:has(.job-table-empty) { grid-column: 1 / -1; }
.job-action-desktop, .job-table-sort { display: none; }

@media (min-width: 851px) {
  .editorial .job-table-sort { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 14px 0 8px; color: #53614c; font-size: 14px; }
  .editorial .job-table-sort select { width: auto; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fffdfa; color: #354c39; font: inherit; }
  .editorial #job-table-wrap { overflow: auto; max-height: 70vh; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; }
  .editorial #job-table-wrap .job-table { display: table; min-width: 1000px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
  .editorial #job-table-wrap thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .editorial #job-table-wrap th { position: sticky; top: 0; z-index: 1; padding: 13px 12px; border-bottom: 1px solid #d8dece; background: #edf1e6; color: #354c39; font-size: 14px; }
  .editorial #job-table-wrap th:nth-child(1) { width: 21%; }
  .editorial #job-table-wrap th:nth-child(2) { width: 23%; }
  .editorial #job-table-wrap th:nth-child(3) { width: 12%; }
  .editorial #job-table-wrap th:nth-child(4) { width: 10%; }
  .editorial #job-table-wrap th:nth-child(5) { width: 8%; }
  .editorial #job-table-wrap th:nth-child(6) { width: 12%; }
  .editorial #job-table-wrap th:nth-child(7) { width: 14%; min-width: 0; }
  .editorial #job-table-body { display: table-row-group; }
  .editorial #job-table-body tr { display: table-row; padding: 0; border: 0; border-radius: 0; background: #fffdfa; cursor: default; }
  .editorial #job-table-body tr:hover, .editorial #job-table-body tr:focus-within { background: #f3f6ed !important; box-shadow: none; }
  .editorial #job-table-body td { display: table-cell; padding: 13px 12px !important; border-bottom: 1px solid #e8e9df !important; vertical-align: top; line-height: 1.55; }
  .editorial #job-table-body td:nth-child(2), .editorial #job-table-body td:nth-child(7) { padding: 13px 12px !important; min-width: 0; }
  .editorial #job-table-body td::before { display: none; }
  .editorial #job-table-body td:nth-child(1) strong { font-size: 15px; font-weight: 600; line-height: 1.55; white-space: normal; }
  .editorial #job-table-body td:nth-child(2) .job-name-link { font-size: 14px !important; font-weight: 400; line-height: 1.55; }
  .editorial #job-table-body .job-cell-ellipsis, .editorial #job-table-body td:nth-child(2) .job-cell-ellipsis { -webkit-line-clamp: 2; }
  .editorial #job-table-body .job-cell-meta { font-size: 12px; color: #69745f; }
  .editorial #job-table-body td:nth-child(1) .job-cell-meta { -webkit-line-clamp: 1; }
  .editorial #job-table-body .job-action-group { display: flex; flex-direction: column; align-items: stretch; gap: 7px; padding: 0; }
  .editorial #job-table-body .job-action-button { min-height: 36px !important; width: 100%; flex: none; padding: 7px 8px !important; font-size: 13px !important; white-space: nowrap; }
  .editorial #job-table-body .job-action-mobile { display: none; }
  .editorial #job-table-body .job-action-desktop { display: inline; }
  .editorial #job-table-body .job-table-empty { cursor: default; padding: 28px !important; }
}
.editorial .source-status-badge { background: #f0f3e8; color: #5a7048; border-color: #dde5d0; }

/* Resume: tabbed notebook, with optional legacy helper kept away from the main path. */
.editorial #resume-studio { grid-template-columns: 220px minmax(0, 1fr); gap: 26px; }
.editorial .resume-side { position: sticky; top: 110px; display: block; }
.editorial .resume-cover { background: #e9eee0; border-color: #dce3ce; border-radius: 4px 20px 20px; padding: 24px; }
.editorial .resume-cover h2 { font: 500 22px "SimSun", serif !important; overflow-wrap: anywhere; }
.editorial .resume-cover p { font-size: 13px !important; color: #53644a; }
.editorial .resume-cover > span:last-child { color: #6c7a60; }
.editorial .resume-monogram { background: #fffdfa; color: #677a51; border-radius: 50%; }
.resume-contents { display: grid; gap: 5px; margin: 18px 0; }
.resume-contents button { display: flex; justify-content: space-between; text-align: left; border: 1px solid transparent; background: transparent; padding: 9px 14px; color: #53644a; border-radius: 9px; font-size: 15px; min-height: 44px; }
.resume-contents button[aria-selected=true] { background: #fffdfa; color: #355a49; border-color: #dddccd; }
.resume-contents button:hover { background: #f0ede4; }
.resume-contents button span { color: #8a7e68; font-size: 11px; }
.editorial .resume-document { border-color: var(--line); border-radius: 20px; padding: 30px; min-height: 620px; background: #fffdfa; }
.editorial .resume-document-heading { border-color: var(--line); }
.editorial .resume-document-heading h2 { font-size: 27px !important; }
.editorial .save-state { background: #edf1e6; color: #526648; padding: 5px 10px; border-radius: 6px; font-size: 13px; }
.editorial .resume-intention { border: 0; background: transparent; padding: 10px 0 22px; }
.editorial .resume-section { border: 0; scroll-margin-top: 105px; }
.editorial .resume-section-note, .editorial .resume-hint { color: #606b5c; font-size: 14px !important; }
.editorial .resume-section h3 { font-size: 18px; color: #3e593f; }
.editorial .resume-fields label { color: #4f6048 !important; font-size: 14px; }
.editorial .resume-fields input, .editorial .resume-fields select, .editorial .resume-fields textarea { background: #fbfaf6; border-color: #dedfd3; border-radius: 10px; font-size: 16px; min-height: 45px; }
.editorial .resume-fields small { font-size: 13px !important; color: #606b5c; }
.editorial .resume-save-bar { position: sticky; bottom: 0; background: #fffdfaf5; border-top: 1px solid var(--line); padding: 18px 0 5px; z-index: 8; }
.editorial .storage-note { color: #606b5c; font-size: 13px !important; }
.helper-disclosure { border-top: 1px solid var(--line); padding-top: 13px; }
.helper-disclosure > summary { font-size: 14px; color: #606b5c; cursor: pointer; min-height: 44px; }
.editorial .helper-card { padding: 14px; margin-top: 5px; border-color: var(--line); background: #fffdfa; }
.editorial .helper-card h3 { font-size: 14px; }

/* Progress, directions and feedback share the same calm notebook system. */
.editorial .journey-agenda #journey-agenda { display: block; }
.agenda-views { display: flex; gap: 6px; margin: 18px 0; }
.agenda-views button { flex: 1; border: 1px solid #dcd6c3; border-radius: 999px; min-height: 44px; background: #fffdfa; color: #52634b; }
.agenda-views button[aria-pressed=true] { background: #355a49; border-color: #355a49; color: #fff; }
.agenda-month-bar { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.agenda-month-bar strong { flex: 1; text-align: center; font-size: 16px; color: #355a49; }
.agenda-month-bar button { min-width: 34px; min-height: 44px; border: 1px solid #ded7c0; border-radius: 8px; background: #fffdfa; color: #355a49; padding: 4px 8px; }
.agenda-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
.agenda-weekday { text-align: center; font-size: 12px; padding: 4px 0 8px; color: #6e745d; }
.agenda-calendar button { min-width: 0; min-height: 54px; padding: 4px 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #405849; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
#journey-agenda .agenda-calendar button .agenda-count { display: block; min-height: 18px; padding: 0 3px; border-radius: 5px; font-size: 11px; line-height: 18px; font-weight: 700; white-space: nowrap; }
.agenda-calendar button.has-events { background: #f8dbc5; border-color: #d69470; }
#journey-agenda .agenda-calendar button.has-events .agenda-count { background: #9d4428; color: #fff; }
#journey-agenda .agenda-calendar button[aria-pressed=true] .agenda-count:not(:empty) { background: #fff1d0; color: #65341f; }
.agenda-calendar button.outside-month { color: #878875; background: #efe9d8; }
.agenda-calendar button[aria-current=date] { border-color: #355a49; }
.agenda-calendar button[aria-pressed=true] { background: #355a49; color: #fff; }
.journey-agenda button:hover { box-shadow: inset 0 0 0 1px #8c9c76; }
.journey-agenda button:focus-visible { outline: 2px solid #355a49; outline-offset: 2px; }
.journey-agenda .agenda-item { min-width: 0; max-width: none; width: 100%; overflow-wrap: anywhere; padding: 14px; margin-top: 10px; border: 1px solid #ded7c0; border-radius: 12px; background: #fffdfa; }
.journey-agenda .agenda-item strong { color: #3e5948; }
.journey-agenda .agenda-item span, .journey-agenda .agenda-item time { color: #69715b; }
.journey-agenda .agenda-item .agenda-open { align-self: flex-start; font-size: 13px; font-weight: 700; color: #355a49; margin-top: 4px; }
.agenda-day-events h3 { scroll-margin-top: 110px; }
.agenda-help { font-size: 12px; line-height: 1.7; color: #73765d; margin: 10px 0 16px; }
.agenda-group h3, .agenda-day-events h3 { margin: 20px 0 0; font-size: 15px; color: #355a49; }
.agenda-group h3 small { font-size: 12px; font-weight: 400; margin-left: 5px; }
@media (min-width:851px) and (max-width:1120px) { .agenda-calendar-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 24px; align-items: start; } .agenda-day-events h3 { margin-top: 10px; } }
.editorial .journey-summary { gap: 0; background: #fffdfa; border: 1px solid var(--line); border-radius: 18px; padding: 18px 0; }
.editorial .journey-summary > button { background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 4px 26px; }
.editorial .journey-summary > button:last-child { border: 0; }
.editorial .journey-summary > button:hover, .editorial .journey-summary > button[aria-pressed=true] { background: #edf1e7; }
.editorial .journey-summary strong { font-size: 36px; }
.editorial .journey-summary small, .editorial .journey-summary span { color: #6f7664; }
.editorial .local-notice { color: #606b5c; font-size: 14px; }
.editorial .journey-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 23px; }
.editorial .journey-archive { border-radius: 18px; padding: 24px; }
.editorial .journey-agenda { border-radius: 3px 18px 18px; background: #f3edda; border-color: #e6ddc0; }
.editorial #journey-agenda { display: block; }
.editorial .agenda-empty { color: #65624a; font-size: 14px; }
.editorial .journey-filters button { border-radius: 999px; min-height: 38px; background: #f3f1e9; color: #69745b; padding: 8px 13px; }
.editorial .journey-filters button.active { background: #e5eddc; color: #385837; }
.editorial .journey-table th { background: #f4f1e7; color: #6c755e; }
.editorial .journey-table td { border-color: var(--line); }
.editorial .journey-pill { color: #3f673c; background: #e9efdf; border-color: #d3dec5; border-radius: 999px; }
.editorial .journey-pill.closed { background: #f3e5dc; color: #945734; border-color: #e9d9cd; }
.editorial .journey-empty { background: repeating-linear-gradient(transparent, transparent 31px, #e9e7dc 32px); border-radius: 12px; padding: 60px 24px; margin-top: 15px; }
.editorial .journey-empty h3 { font: 500 23px "SimSun", serif; color: #546549; }
.editorial .journey-empty p { color: #747a67; }
.editorial #journey-update { background: #f7f4e9; border-color: var(--line); }
.editorial .journey-detail { border-radius: 20px; scroll-margin-top: 100px; }
.editorial .journey-timeline .current { color: #a75d37; }
.editorial .journey-history { border-color: #dcdccc; }
.editorial .result-panel, .editorial .notice-panel, .editorial .feedback-panel { border-radius: 22px; padding: 32px !important; }
.editorial .assessment-intro { background: #f1eddf; border-color: #e4ddca; padding: 40px; border-radius: 2px 24px 24px; }
.editorial .assessment-intro h3 { font-size: 29px; color: #3c593d; }
.editorial .high-match-job-card { border-color: var(--line) !important; background: #fffdfa !important; }
.editorial .followed-company-box { background: #f1f2e7 !important; border-color: #e2e5d6 !important; }
.editorial .notification-feed { background: #fffdfa !important; border-color: var(--line) !important; }
.editorial .notification-card { background: #fffdfa !important; border-color: var(--line) !important; }
.editorial #feedback { max-width: 880px; background: #f5eee3; border: 1px solid #e8ddcd; margin-top: 35px; }
.editorial #feedback h2 { font: 500 35px/1.5 "SimSun", serif; }
.editorial .feedback-form select, .editorial .feedback-form textarea { background: #fffdfa; border-color: #ddd8cb; }
.editorial .job-detail-page, .editorial .company-detail-page { padding: 32px !important; border-radius: 22px; }
.editorial .assist-guide { background: #f5f2e6; border-color: #e4decb; }
.editorial .job-detail-content { background: #fffdfa !important; border-color: var(--line) !important; }
.editorial .test-dialog { background: #fffdfa; border-color: var(--line) !important; }
.editorial .test-dialog-heading h2 { font-family: "SimSun", serif; }
.editorial .test-question { background: #fbfaf5 !important; border-color: #e4e0d3 !important; }
.editorial .toast { background: #355a49 !important; }

@media (max-width: 1120px) {
  .editorial .topbar { gap: 18px; padding: 13px 23px; }
  .editorial .main-nav a { font-size: 15px; padding: 10px 9px; }
  .editorial .account > div { display: none; }
  .editorial .journey-layout { grid-template-columns: 1fr; }
  .editorial #journey-agenda { display: flex; flex-wrap: wrap; gap: 16px; }
  .editorial .cover-copy { padding-left: 30px; }
  .editorial .hero .assessment-progress { margin-left: 30px; }
  .editorial .today-note { grid-template-columns: 1fr 1fr 1fr; }
  .editorial .today-heading { grid-column: 1 / -1; }
  .editorial .today-note button:first-of-type { border-left: 0; padding-left: 0; }
}
@media (max-width: 850px) {
  .editorial .topbar { flex-wrap: wrap; gap: 12px; }
  .editorial .main-nav { order: 3; width: 100%; flex-basis: 100%; justify-content: space-between; }
  .editorial .main-nav a { padding: 8px; font-size: 14px; }
  .editorial .page-shell { padding: 12px 23px 50px; }
  .editorial .hero.panel { grid-template-columns: 1.2fr 1fr; }
  .cover-copy { padding: 22px 12px 12px 25px; }
  .editorial #workbench h1 { font-size: 29px; }
  .cover-art { min-height: 400px; }
  .cover-art figcaption { left: 30px; }
  .cover-art figcaption strong { font-size: 19px; }
  .editorial .hero-actions button { font-size: 14px; padding: 10px 12px; }
  .editorial .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .editorial .metric-card { padding: 5px 15px; }
  .editorial #resume-studio { grid-template-columns: 170px minmax(0, 1fr); gap: 18px; }
  .editorial .resume-document { padding: 23px; }
  .editorial .resume-fields { grid-template-columns: 1fr; }
  .editorial .journey-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .editorial .journey-summary > button { padding: 5px 15px; }
}
@media (max-width: 650px) {
  .editorial .topbar { position: relative; top: auto; min-height: 72px; flex-wrap: nowrap; padding: 15px 20px; background: var(--canvas); border: 0; backdrop-filter: none; }
  .editorial .topbar .main-nav { position: fixed !important; inset: auto 0 0 !important; display: flex !important; gap: 0; flex-wrap: nowrap; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fffdfaf5; box-shadow: 0 -4px 20px #514b3510; }
  .editorial .main-nav a { font-size: 12px !important; flex-direction: column; padding: 4px 2px; min-height: 48px; gap: 3px; border-radius: 12px; }
  .editorial .main-nav .nav-icon { display: block; width: 20px; height: 20px; }
  .editorial .main-nav a[data-page-nav=assessment], .editorial .main-nav a[data-page-nav=feedback] { display: none; }
  .editorial .main-nav a.active { background: #edf0e3; }
  .editorial .page-shell { width: 100%; margin: 0; padding: 0 17px 110px; }
  .editorial .workspace-top { margin-bottom: 10px; font-size: 10px; }
  .editorial .workspace-top > span { max-width: 70%; font-size: 9px; }
  .workspace-edition { display: none; }
  .editorial .workspace-top time { font-size: 12px; }
  .editorial .hero.panel { display: flex; flex-direction: column; border-radius: 20px; }
  .editorial .cover-copy { padding: 22px 20px 12px; }
  .editorial #workbench h1 { font-size: clamp(26px, 7.2vw, 34px); margin: 12px 0 10px; line-height: 1.6; }
  .editorial .hero .eyebrow { font-size: 9px !important; }
  .editorial #workbench .hero-copy { font-size: 16px !important; margin: 12px 0; }
  .editorial .hero-tags { margin-top: 12px; gap: 10px; }
  .editorial .hero-actions { gap: 8px; margin-top: 14px; }
  .editorial #workbench .hero-actions .primary, .editorial #workbench .hero-actions .secondary { font-size: 14px; padding: 10px 12px; min-height: 44px; min-width: 0; }
  .editorial #workbench .hero-actions .text-action { font-size: 14px; min-height: 36px; }
  .editorial .hero .assessment-progress { display: none; }
  .cover-art { min-height: 180px; height: 180px; margin: 0; }
  .cover-art img { object-position: center 71%; }
  .cover-art::before { background: linear-gradient(#f4efdf, transparent 30%); }
  .cover-art figcaption { top: 2px; left: 23px; width: 170px; padding: 10px; background: #f8f1dce8; border: 1px solid #e2d8bb; border-radius: 3px; transform: rotate(-4deg); }
  .cover-art figcaption span { font-size: 12px; }
  .cover-art figcaption strong { font-size: 14px; }
  .cover-art figcaption small { display: none; }
  .cover-stamp { font-size: 15px; padding: 11px; right: 16px; bottom: 13px; }
  .editorial .today-note { display: block; padding: 0 0 20px; margin: 20px 0 22px; }
  .editorial .today-heading { margin-bottom: 12px; }
  .editorial .today-note h2 { font-size: 22px !important; }
  .editorial .today-note button { border: 1px solid var(--line) !important; border-radius: 12px; padding: 14px 17px !important; margin: 9px 0; background: #fffdfa; gap: 16px; min-height: 68px; }
  .editorial .today-note button:nth-of-type(2) { background: #edf0e5; }
  .editorial .today-note button:nth-of-type(3) { background: #f6ece1; }
  .editorial .today-note strong { font-size: 15px; }
  .editorial .today-note small { font-size: 13px !important; }
  .editorial .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px 13px; }
  .editorial .metric-card { padding: 15px 11px; border-bottom: 1px solid var(--line); min-height: 125px; }
  .editorial .metric-card:nth-child(2n) { border-right: 0; }
  .editorial .metric-card:nth-last-child(-n+2) { border-bottom: 0; }
  .editorial .metric-card small { font-size: 14px !important; }
  .editorial .metric-card b { font-size: 32px; }
  .editorial .metric-card em { font-size: 13px; }
  .editorial .metric-card .metric-link { display: none; }
  .editorial #recommendations .section-heading { align-items: start; gap: 12px; }
  .editorial #recommendations .section-heading h2 { font-size: 26px; }
  .editorial .section-heading { flex-wrap: wrap; }
  .editorial .section-heading > button { width: auto; min-height: 44px; }
  .editorial .workflow { grid-template-columns: 1fr 1fr; gap: 10px; }
  .editorial .workflow > div { padding: 18px 15px; }
  .editorial .workflow strong { font-size: 14px; }
  .editorial #app-shell .workflow small { font-size: 13px; }
  .editorial #app-shell h1 { font-size: 28px; }
  .editorial .journey-heading { flex-direction: column; align-items: start; gap: 15px; }
  .editorial .journey-heading p:not(.eyebrow) { font-size: 16px !important; }
  .editorial .journey-actions { gap: 8px; }
  .editorial #jobs > .journey-heading { padding-top: 8px; padding-bottom: 20px; }
  .editorial #jobs > .journey-heading > button { display: none; }
  .editorial #jobs .job-column-filter-heading { display: none; }
  .editorial #jobs .job-filter-keyword-field > span { font-size: 14px; }
  .editorial #jobs .job-filter-keyword-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .editorial #jobs .job-filter-keyword-field { grid-column: 1 / -1; }
  .editorial #jobs .job-filter-submit { font-size: 14px; min-height: 44px; padding: 10px 16px; }
  .editorial .job-column-filters { padding: 18px 16px !important; }
  .editorial .job-scope { font-size: 14px !important; min-height: 44px; }
  .editorial #job-table-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .editorial #job-table-body tr { margin: 0 !important; padding: 21px !important; border-color: var(--line) !important; background: #fffdfa !important; gap: 13px 14px !important; }
  .editorial #job-table-body td { padding: 0 !important; }
  .editorial #job-table-body td::before { font-size: 13px !important; color: #606b5c !important; }
  .editorial #job-table-body td:nth-child(2) { padding-bottom: 13px !important; }
  .editorial #job-table-body td:nth-child(7) { padding-top: 7px !important; }
  .editorial #job-table-body .job-action-button { min-height: 44px !important; }
  .editorial #resume-studio { display: block; }
  .editorial .resume-side { position: static; }
  .editorial .resume-cover { display: grid; grid-template-columns: 48px 1fr; gap: 5px 14px; padding: 19px; }
  .editorial .resume-monogram { margin: 0; grid-row: 1 / 3; width: 48px; height: 48px; }
  .editorial .resume-cover > span:last-child { display: none; }
  .resume-contents { display: flex; flex-wrap: nowrap; overflow-x: auto; padding: 5px 0 12px; gap: 7px; margin-bottom: 4px; }
  .resume-contents button { flex-shrink: 0; min-height: 44px; padding: 9px 13px; border-color: #e3e1d5; background: #fffdfa; }
  .resume-contents button span { display: none; }
  .resume-contents button[aria-selected=true] { background: #e6eddc; border-color: #cedac1; }
  .editorial .helper-disclosure { margin-bottom: 12px; padding: 0; border: 0; }
  .editorial .helper-disclosure > summary { min-height: 44px; font-size: 14px; }
  .editorial .storage-note { padding: 6px 0; margin: 0; }
  .editorial .resume-document { padding: 23px 18px; min-height: 0; border-radius: 17px; }
  .editorial .resume-document-heading { margin-bottom: 15px; }
  .editorial .resume-document-heading h2 { font-size: 23px !important; }
  .editorial .resume-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .editorial .resume-save-bar { bottom: calc(72px + env(safe-area-inset-bottom)); align-items: stretch; padding: 14px 0 5px; flex-direction: column; }
  .editorial .resume-save-bar button { font-size: 14px; min-height: 44px; }
  .editorial .journey-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px 15px; }
  .editorial .journey-summary > button { padding: 15px 12px; border-bottom: 1px solid var(--line); }
  .editorial .journey-summary > button:nth-child(2n) { border-right: 0; }
  .editorial .journey-summary > button:nth-last-child(-n+2) { border-bottom: 0; }
  .editorial .journey-layout { display: flex; flex-direction: column; }
  .editorial .journey-layout > * { width: 100%; }
  .editorial .journey-archive { padding: 20px 16px; }
  .editorial .journey-table tr { background: #fffdfa; border-color: var(--line); }
  .editorial .journey-filters button { min-height: 44px; font-size: 14px; padding: 8px 11px; }
  .editorial .journey-empty { padding: 36px 12px; }
  .editorial .journey-empty h3 { font-size: 20px; }
  .editorial .journey-detail { padding: 23px 16px; scroll-margin-top: 16px; }
  .editorial .result-panel, .editorial .notice-panel, .editorial .feedback-panel, .editorial .job-detail-page, .editorial .company-detail-page { padding: 23px 17px !important; border-radius: 17px; }
  .editorial .assessment-intro { padding: 23px 19px; }
  .editorial .assessment-intro h3 { font-size: 24px; }
  .editorial #feedback { margin-top: 15px; }
  .editorial #feedback h2 { font-size: 29px; }
  .editorial .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
