:root {
  color-scheme: light;
  --ink: #171d23;
  --muted: #717171;
  --line: #e3e3e3;
  --soft: #f4f6f7;
  --surface: #ffffff;
  --accent: #087ff5;
  --accent-hover: #086bd0;
  --accent-soft: #eaf4ff;
  --amber: #a86113;
  --amber-soft: #fff3dc;
  --danger: #b74035;
  --shadow: 0 12px 36px rgba(24, 26, 27, 0.09);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; color: var(--ink); background: var(--soft); }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 18px; height: 18px; stroke-width: 1.8; }
button:focus-visible, input:focus-visible, [contenteditable]:focus-visible { outline: 2px solid rgba(8, 127, 245, 0.35); outline-offset: 2px; }

.panel-body { min-width: 340px; background: #fcfcfc; overflow-x: hidden; }
.panel-app { min-height: 100vh; }
.extension-update-notice { position: relative; z-index: 30; padding: 10px 16px; color: #205a39; background: #edf8f0; border-bottom: 1px solid #c8e4d0; font-size: 12px; line-height: 1.6; }
.extension-update-notice[hidden] { display: none; }
.editor-body > .extension-update-notice { position: fixed; right: 18px; bottom: 18px; max-width: 420px; border: 1px solid #c8e4d0; border-radius: 8px; pointer-events: none; }
.extension-store-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--accent); font-size: 12px; }
.extension-store-link svg { width: 14px; height: 14px; }
@media print { .extension-update-notice { display: none !important; } }
.brand-button, .editor-brand { border: 0; background: none; display: flex; align-items: center; gap: 9px; padding: 0; font-weight: 720; font-size: 17px; }
.brand-glyph { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--accent); color: white; border-radius: 7px; font-size: 15px; font-weight: 760; }
.floating-dock { position: fixed; right: 14px; bottom: 14px; z-index: 20; min-height: 46px; padding: 5px; display: flex; align-items: center; gap: 3px; border: 1px solid rgba(200, 205, 210, .86); border-radius: 13px; background: rgba(255, 255, 255, .96); box-shadow: 0 12px 30px rgba(24, 26, 27, .16); backdrop-filter: blur(12px); }
.dock-button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #5b5b5b; display: grid; place-items: center; position: relative; cursor: pointer; }
.dock-button:hover, .dock-button.active { color: var(--ink); background: var(--soft); }
.dock-button svg { width: 17px; height: 17px; }
.dock-button b { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: white; display: grid; place-items: center; font-size: 9px; }
.dock-divider { width: 1px; height: 20px; background: var(--line); }
.scan-dock { left: 14px; right: auto; }
.scan-dock-button { width: auto; padding: 0 10px; display: flex; gap: 6px; font-size: 11px; font-weight: 680; white-space: nowrap; }
.scan-dock-button:disabled { opacity: .45; cursor: not-allowed; }
.background-task-notice { position: fixed; right: 14px; bottom: 76px; z-index: 25; max-width: calc(100vw - 28px); padding: 11px 14px; border: 1px solid #d6e7fb; border-radius: 9px; background: #fff; box-shadow: 0 5px 20px rgba(24, 50, 85, .12); color: #2467ab; font-size: 12px; line-height: 1.5; pointer-events: none; }
.background-task-notice::after { content: ""; position: absolute; right: 17px; bottom: -6px; width: 10px; height: 10px; background: #fff; border-right: 1px solid #d6e7fb; border-bottom: 1px solid #d6e7fb; transform: rotate(45deg); }
.dock-button .task-count { background: var(--accent); box-shadow: 0 0 0 2px white; }
.icon-button, .mini-icon { display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 6px; width: 34px; height: 34px; padding: 0; cursor: pointer; }
.icon-button:hover, .mini-icon:hover { background: var(--soft); }
.panel-main { padding: 16px 16px 82px; }
.dock-button.active { color: var(--accent); background: var(--accent-soft); }
.history-main { padding-bottom: 100px; }
.history-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.history-back { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; }
.history-back:hover { color: var(--accent); }
.history-back svg { width: 15px; height: 15px; }
.history-brand { font-weight: 720; font-size: 14px; letter-spacing: 1px; }
.history-page-title { margin-bottom: 17px; }
.history-page-title h1 { font-size: 23px; }
.history-manage-button { border: 0; padding: 7px 0 7px 12px; color: var(--accent); background: none; font-size: 12px; cursor: pointer; }
.history-manage-button:disabled { color: var(--muted); opacity: .45; cursor: default; }
.history-search { display: flex; align-items: center; gap: 8px; padding: 0 11px; min-height: 41px; border: 1px solid var(--line); border-radius: 8px; background: white; color: #929aa3; }
.history-search svg { width: 16px; height: 16px; flex: none; }
.history-search input { width: 100%; min-width: 0; border: 0; padding: 11px 0; outline: none; background: transparent; font-size: 12px; color: var(--ink); }
.history-search:focus-within { border-color: var(--accent); }
.history-filters { display: flex; gap: 7px; margin: 14px 0 20px; }
.history-filters button { display: flex; align-items: center; gap: 5px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); padding: 7px 9px; font-size: 11px; cursor: pointer; }
.history-filters button.active { background: var(--accent-soft); color: var(--accent); }
.history-filters span { font-size: 10px; opacity: .8; }
.history-group-title { margin: 21px 0 10px; font-size: 11px; color: var(--muted); font-weight: 600; }
.history-card { position: relative; border: 1px solid var(--line); background: white; border-radius: 9px; margin-bottom: 10px; overflow: hidden; }
.history-card:hover { border-color: #bfcee0; }
.history-card.is-selected { border-color: var(--accent); background: #f9fcff; }
.history-card-main { display: block; width: 100%; border: 0; background: transparent; text-align: left; padding: 14px 13px 12px; cursor: pointer; }
.history-job-heading { display: flex; align-items: flex-start; gap: 9px; justify-content: space-between; }
.history-job-heading strong { min-width: 0; font-size: 14px; line-height: 1.5; font-weight: 680; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.history-salary { flex: none; color: var(--accent); font-size: 11px; font-weight: 650; line-height: 21px; max-width: 110px; }
.history-company { display: block; margin: 5px 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.history-meta { display: block; font-size: 10px; color: var(--muted); line-height: 1.7; }
.history-origin { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 10px; font-size: 10px; line-height: 1.6; color: #929aa3; }
.history-current { color: var(--accent); background: var(--accent-soft); padding: 0 5px; font-size: 9px; border-radius: 3px; font-weight: 500; }
.history-result { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.history-score { color: var(--accent); font-size: 17px; font-weight: 720; }
.history-score small { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.history-pending { color: var(--muted); background: var(--soft); border-radius: 4px; padding: 4px 6px; font-size: 10px; }
.history-view-label { display: flex; align-items: center; gap: 3px; font-size: 10px; color: var(--muted); }
.history-view-label svg { width: 13px; height: 13px; }
.history-generated, .history-draft-note { display: flex; align-items: center; gap: 5px; color: #448265; font-size: 10px; margin-top: 9px; }
.history-generated svg, .history-draft-note svg { width: 13px; height: 13px; }
.history-card-footer { border-top: 1px solid #f0f2f4; margin: 0 13px; padding: 9px 0; }
.history-source-link { display: inline-flex; align-items: center; gap: 3px; color: var(--accent); text-decoration: none; font-size: 11px; line-height: 20px; }
.history-source-link:hover { text-decoration: underline; }
.history-source-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.history-source-link svg { width: 13px; height: 13px; }
.history-source-missing { color: #929aa3; font-size: 10px; line-height: 20px; }
.history-empty { min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.history-empty h2 { margin: 0 0 8px; font-size: 16px; }
.history-empty p { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; max-width: 260px; overflow-wrap: anywhere; }
.history-empty .state-illustration { width: 52px; height: 52px; margin-bottom: 16px; }
.history-skeleton { border: 1px solid var(--line); border-radius: 8px; padding: 20px 13px; margin: 10px 0; }
.history-skeleton .skeleton-line { margin-bottom: 12px; }
.history-checkbox { position: absolute; left: 10px; top: 14px; z-index: 1; }
.history-checkbox input, .history-select-all input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.history-managing { padding-bottom: 160px; }
.history-managing .history-card-main { padding-left: 36px; }
.history-select-all { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; font-size: 11px; color: var(--muted); }
.history-select-all span { margin-left: auto; }
.history-delete-bar { position: fixed; bottom: 72px; left: 14px; right: 14px; z-index: 19; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); font-size: 12px; }
.history-delete-bar button { display: flex; align-items: center; gap: 5px; padding: 6px 12px; border: 0; border-radius: 5px; background: #fff1ef; color: var(--danger); font-size: 11px; cursor: pointer; }
.history-delete-bar button:disabled { opacity: .4; cursor: default; }
.history-delete-bar svg { width: 14px; height: 14px; }
.history-detail-source { margin-top: 11px; }
.history-detail .eyebrow { font-size: 10px; }
.history-detail .eyebrow svg { width: 13px; height: 13px; }
.history-detail .jd-details p { white-space: pre-wrap; overflow-wrap: anywhere; }
.history-notice { display: flex; align-items: flex-start; gap: 6px; padding: 10px; border-radius: 6px; background: var(--amber-soft); color: var(--amber); font-size: 11px; line-height: 1.7; margin: 15px 0; }
.history-notice svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.history-resume-label { display: flex; flex-direction: column; gap: 7px; padding: 18px 0 13px; font-size: 10px; color: var(--muted); }
.history-resume-label strong { font-size: 13px; color: var(--ink); overflow-wrap: anywhere; }
.history-optimizations h3 { font-size: 13px; margin: 18px 0 10px; }
.history-optimizations > div { padding: 12px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 9px; }
.history-optimizations strong { font-size: 12px; }
.history-optimizations p { font-size: 11px; line-height: 1.8; color: var(--muted); margin: 5px 0 0; white-space: pre-wrap; }
.history-optimizations small { color: var(--accent); display: block; font-size: 10px; margin-top: 8px; }
.history-detail-actions { display: grid; gap: 9px; margin-top: 22px; }
.history-detail-actions > p { text-align: center; color: var(--muted); font-size: 10px; margin: 3px 0; }
.history-analysis-empty { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 20px 0; }
.history-work-banner { display: flex; align-items: center; gap: 9px; padding: 10px 16px; background: var(--accent-soft); font-size: 10px; color: var(--accent); }
.history-work-banner span { margin-right: auto; }
.history-work-banner button { border: 0; padding: 4px 0; font-size: 10px; color: var(--accent); background: none; cursor: pointer; }
.history-more { margin-top: 12px; }
.center-state { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.state-illustration { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.state-illustration.neutral { background: #f0f0f0; color: #5b5b5b; }
.state-illustration.warm { background: var(--amber-soft); color: var(--amber); }
.state-illustration svg { width: 27px; height: 27px; }
.center-state h1 { margin: 0 0 8px; font-size: 19px; letter-spacing: 0; }
.center-state > p { max-width: 300px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.resume-upload-hint { margin-top: 12px; color: var(--muted); font-size: 11px; }
.privacy-note { display: flex; gap: 7px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.privacy-note svg { width: 14px; height: 14px; flex: 0 0 auto; }
.primary-button, .secondary-button, .upgrade-button, .outline-button { min-height: 42px; border-radius: 6px; padding: 0 15px; border: 1px solid transparent; display: inline-flex; justify-content: center; align-items: center; gap: 8px; cursor: pointer; font-weight: 680; font-size: 13px; }
.primary-button { background: var(--accent); color: white; }
.primary-button:hover { background: #086bd0; }
.primary-button:disabled, .upgrade-button:disabled { opacity: .55; cursor: wait; }
.secondary-button { background: white; border-color: var(--line); }
.secondary-button:hover { border-color: #bfbfbf; }
.full { width: 100%; }
.job-summary { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.job-summary-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.job-summary-top .eyebrow { margin-bottom: 0; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 680; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.job-summary h1 { margin: 0; font-size: 20px; line-height: 1.32; }
.company-line { margin: 3px 0 9px; font-size: 12px; color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-row span { padding: 3px 7px; border-radius: 4px; background: var(--soft); color: #5b5b5b; font-size: 10px; }
.jd-details { margin-top: 11px; }
.jd-details summary { list-style: none; display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; cursor: pointer; }
.jd-details summary::-webkit-details-marker { display: none; }
.jd-details summary svg { width: 13px; height: 13px; }
.jd-details p { max-height: 130px; overflow: auto; color: var(--muted); font-size: 11px; line-height: 1.65; background: var(--soft); border-radius: 6px; padding: 10px; }
.text-button { border: 0; background: transparent; color: var(--accent); padding: 7px 0 0; font-size: 11px; display: flex; align-items: center; gap: 5px; cursor: pointer; }
.text-button svg { width: 13px; height: 13px; }
.text-button:disabled { opacity: .55; cursor: wait; }
.spin-icon { animation: spin .7s linear infinite; }
.scanning-view { min-height: 100vh; background: #fcfcfc; }
.skeleton { display: block; overflow: hidden; position: relative; background: #ebebeb; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); animation: skeleton-shimmer 1.35s ease-in-out infinite; }
.skeleton-line { height: 10px; border-radius: 3px; }
.skeleton-line.title { width: 58%; height: 24px; margin-top: 17px; }.skeleton-line.company { width: 31%; margin-top: 9px; }
.scan-skeleton-head { position: relative; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.scan-skeleton-tags { display: flex; gap: 6px; margin-top: 15px; }
.scan-skeleton-tags .skeleton { width: 52px; height: 22px; border-radius: 4px; }.scan-skeleton-tags .skeleton:nth-child(2) { width: 64px; }.scan-skeleton-tags .skeleton:nth-child(3) { width: 48px; }
.scan-skeleton-analysis { min-height: 190px; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.scan-skeleton-score { width: 72px; height: 72px; border-radius: 50%; }
.scan-skeleton-chart { justify-self: center; width: 150px; max-width: 100%; aspect-ratio: 1; clip-path: polygon(50% 5%, 96% 38%, 79% 92%, 21% 92%, 4% 38%); }
.scan-skeleton-groups { padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
.scan-skeleton-groups > div { display: grid; grid-template-columns: 63px minmax(0, 1fr); gap: 7px; align-items: center; min-height: 53px; }
.skeleton-line.label { width: 52px; height: 11px; }.skeleton-line.wide { width: 92%; }.skeleton-line.medium { grid-column: 2; width: 65%; margin-top: -14px; }
.scan-skeleton-directions { padding-top: 19px; }.scan-skeleton-directions > .label { margin-bottom: 14px; }
.skeleton-row { height: 46px; margin-top: 8px; border-radius: 5px; }
@keyframes skeleton-shimmer { to { transform: translateX(100%); } }
.workflow-section { padding-top: 20px; }
.section-heading > h2 { margin: 0; font-size: 15px; }
.section-heading > div { display: flex; gap: 10px; align-items: flex-start; }
.step-index { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: white; background: var(--accent); font-size: 11px; font-weight: 700; flex: none; }
.section-heading h2 { margin: 1px 0 3px; font-size: 15px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.upload-zone { width: 100%; height: 122px; padding: 0; margin-top: 15px; border: 1px dashed #c1c1c1; border-radius: 7px; background: white; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: .16s ease; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--accent); background: #f8fafc; }
.upload-zone.busy { cursor: wait; background: var(--soft); }
.upload-zone > svg { color: var(--accent); width: 25px; height: 25px; margin-bottom: 8px; }
.upload-zone strong { font-size: 13px; }
.upload-zone span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.resume-file-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-bottom: 14px; padding: 11px; border: 1px solid var(--line); background: white; border-radius: 7px; }
.file-icon { display: grid; place-items: center; width: 38px; height: 42px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); }
.resume-file-row strong, .resume-file-row span { display: block; }
.resume-file-row strong { font-size: 12px; }
.resume-file-row span { margin-top: 3px; color: var(--accent); font-size: 10px; }
.analysis-hint { margin: 0 0 12px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.resume-selection { margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.resume-selection-label { min-height: 24px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 700; }
.resume-alternatives-label { margin-top: 8px; }
.selected-resume { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.selected-resume-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 5px; background: var(--accent-soft); color: var(--accent); }
.selected-resume-icon svg { width: 16px; height: 16px; }
.selected-resume strong, .selected-resume small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-resume strong { font-size: 11px; }.selected-resume small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.selected-resume > b { color: var(--accent); font-size: 11px; }
.resume-picker { margin-top: 6px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; box-shadow: 0 8px 20px rgba(24, 26, 27, .07); }
.resume-picker button { width: 100%; min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 8px; align-items: center; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line); background: white; text-align: left; cursor: pointer; }
.resume-picker button:last-child { border-bottom: 0; }.resume-picker button:hover, .resume-picker button.selected { background: #f6f8fa; }
.resume-picker span { min-width: 0; }.resume-picker strong, .resume-picker small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resume-picker strong { font-size: 10px; }.resume-picker small { margin-top: 3px; color: var(--muted); font-size: 8px; }.resume-picker b { color: var(--accent); font-size: 10px; }.resume-picker svg { width: 13px; height: 13px; color: var(--accent); }
.analysis-block { padding-top: 12px; }
.analysis-overview { min-height: 176px; display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 2px; padding: 3px 0 10px; border-bottom: 1px solid var(--line); }
.analysis-head { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin: 0; }
.score-ring { --score: 70; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--score) * 1%), #e6e6e6 0); position: relative; flex: none; }
.score-ring::after { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; background: #fcfcfc; }
.score-ring div { position: relative; z-index: 1; text-align: center; }
.score-ring strong, .score-ring span { display: block; }
.score-ring strong { font-size: 20px; line-height: 1; }
.score-ring span { margin-top: 3px; font-size: 8px; color: var(--muted); }
.analysis-label { color: var(--accent); font-size: 10px; font-weight: 700; }
.analysis-head h2 { margin: 3px 0 2px; font-size: 15px; white-space: nowrap; }
.analysis-head p { margin: 0; color: var(--muted); font-size: 9px; }
.radar-block { min-width: 0; margin: 0; padding: 0; }
.radar-chart { display: block; width: 100%; height: 166px; overflow: visible; }
.radar-grid { fill: none; stroke: #e0e0e0; stroke-width: .8; }
.radar-axis { stroke: #e6e6e6; stroke-width: .8; }
.radar-area { fill: rgba(8, 127, 245, .16); stroke: var(--accent); stroke-width: 1.7; stroke-linejoin: round; }
.radar-dot { fill: var(--accent); stroke: white; stroke-width: 1; }
.radar-label, .radar-value { text-anchor: middle; dominant-baseline: middle; }
.radar-label { fill: #5b5b5b; font-size: 9px; font-weight: 680; }
.radar-value { fill: var(--accent); font-size: 8px; font-weight: 720; }
.coverage-list { padding-top: 3px; }
.coverage-group { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 7px; margin: 11px 0; }
.coverage-group h3 { display: flex; align-items: center; gap: 5px; margin: 3px 0 0; font-size: 10px; color: #5b5b5b; white-space: nowrap; }
.coverage-group h3 svg { width: 14px; height: 14px; color: var(--accent); }
.tag-list { min-width: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.tag-list span { max-width: 100%; border-radius: 4px; padding: 4px 7px; overflow-wrap: anywhere; font-size: 9px; }
.tag-list.positive span { background: var(--accent-soft); color: #123d69; }
.tag-list.warning span { background: var(--amber-soft); color: #8d581a; }
.optimization-panel { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.optimization-heading { display: flex; align-items: center; justify-content: space-between; }
.optimization-heading h3 { margin: 0; font-size: 12px; }
.optimization-list { margin-top: 7px; }
.optimization-item { border-bottom: 1px solid var(--line); }
.optimization-item summary { min-height: 47px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.optimization-item summary::-webkit-details-marker { display: none; }
.optimization-item summary > span { min-width: 0; display: block; }
.optimization-item summary strong, .optimization-item summary small { display: block; }
.optimization-item summary strong { font-size: 11px; }
.optimization-item summary small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.optimization-item summary > svg { width: 14px; height: 14px; color: var(--muted); transition: transform .16s ease; }
.optimization-item[open] summary > svg { transform: rotate(180deg); }
.optimization-content { padding: 0 0 12px; }
.optimization-instruction { margin: 0 0 8px; color: #4d4d4d; font-size: 10px; line-height: 1.55; }
.optimization-draft, .optimization-evidence { padding: 8px 9px; background: var(--soft); border-left: 2px solid #bfbfbf; }
.optimization-draft span, .optimization-evidence span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 700; }
.optimization-draft p, .optimization-evidence p { margin: 0; color: #3c3c3c; font-size: 10px; line-height: 1.55; white-space: pre-wrap; }
.optimization-evidence { margin-top: 7px; border-left-color: var(--accent); background: #f5f8fa; }
.optimization-fields { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.optimization-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 6px; margin-top: 9px; }
.optimization-action, .optimization-edit { min-height: 29px; border-radius: 5px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; font-size: 9px; font-weight: 680; }
.optimization-action { border: 0; background: var(--accent); color: white; }
.optimization-action.selected { background: var(--accent-soft); color: var(--accent); }
.optimization-edit { border: 1px solid var(--line); background: white; color: var(--muted); }
.optimization-action svg, .optimization-edit svg { width: 12px; height: 12px; }
.optimization-action:disabled { opacity: .45; cursor: not-allowed; }
.evidence-flow { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.evidence-flow h4 { margin: 0 0 6px; font-size: 12px; line-height: 1.5; }
.evidence-flow > p { margin: 6px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.evidence-flow > label { display: block; margin-top: 11px; font-size: 11px; line-height: 1.6; }
.evidence-flow input[type="text"], .evidence-flow textarea, .evidence-flow select { display: block; width: 100%; min-width: 0; margin-top: 5px; border: 1px solid #b7bec6; border-radius: 5px; padding: 9px; background: var(--surface); color: var(--ink); font: inherit; font-size: 12px; line-height: 1.6; }
.evidence-flow textarea { min-height: 98px; resize: vertical; }
.evidence-flow textarea:focus-visible, .evidence-flow select:focus-visible { outline: 2px solid rgba(8, 127, 245, .35); outline-offset: 2px; }
.evidence-field-hint { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.evidence-field-error, .evidence-flow > .evidence-error-summary { display: block; margin: 6px 0 0; color: var(--danger); font-size: 11px; font-weight: 600; line-height: 1.6; }
.evidence-flow input[aria-invalid="true"], .evidence-flow textarea[aria-invalid="true"] { border-color: var(--danger); }
.evidence-flow [aria-invalid="true"]:focus-visible { outline-color: var(--danger); }
.evidence-optional { color: var(--muted); }
.evidence-choices { display: grid; gap: 7px; margin: 12px 0; }
.evidence-choices .optimization-edit { min-height: 38px; justify-content: flex-start; padding: 9px; text-align: left; font-size: 11px; line-height: 1.5; color: var(--ink); }
.evidence-choices .optimization-edit:hover { border-color: var(--accent); background: var(--accent-soft); }
.evidence-flow-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.evidence-flow-actions button { min-height: 34px; }
.evidence-flow > .evidence-confirm { display: flex; align-items: flex-start; gap: 7px; margin: 12px 0; }
.evidence-confirm input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--accent); }
.evidence-gap, .evidence-flow > .evidence-gap { margin: 9px 0; padding: 9px; color: var(--amber); background: var(--amber-soft); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
@media (pointer: coarse) {
  .evidence-flow button, .optimization-actions button, .evidence-confirm { min-height: 44px; }
  .evidence-flow input[type="text"], .evidence-flow textarea, .evidence-flow select { font-size: 16px; }
}
.generation-action { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.match-actions { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 8px; }
.match-actions button { min-width: 0; padding-inline: 10px; }
.generation-view { min-height: calc(100vh - 132px); display: flex; flex-direction: column; align-items: center; padding-top: 70px; }
.generating-symbol { width: 68px; height: 68px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-radius: 8px; position: relative; }
.generating-symbol svg { width: 29px; height: 29px; }
.generating-symbol span { position: absolute; inset: -5px; border: 1px solid var(--accent); border-radius: 11px; opacity: .25; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .08; } }
.generation-view h1 { margin: 20px 0 5px; font-size: 18px; }
.generation-view > p { margin: 0; color: var(--muted); font-size: 11px; }
.task-progress { width: 100%; min-width: 0; }
.generation-progress { margin-top: 28px; }
.analysis-progress { margin-bottom: 16px; }
.task-progress-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 11px; line-height: 1.6; color: #40576b; }
.task-progress-label small { flex-shrink: 0; color: var(--accent); font-size: 10px; }
.task-progress-track { display: flex; gap: 4px; height: 6px; border-radius: 4px; overflow: hidden; background: #e6edf5; }
.task-progress-segment { flex: 1; min-width: 0; background: #e6edf5; border-radius: 3px; position: relative; overflow: hidden; }
.task-progress-segment.is-done { background: var(--accent); }
.task-progress-segment.is-active { background: #b9dbff; }
.task-progress-indeterminate, .task-progress-segment.is-active::after { display: block; content: ""; width: 40%; height: 100%; border-radius: 3px; background: var(--accent); animation: task-progress-slide 1.6s ease-in-out infinite alternate; }
.task-progress > p { margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
@keyframes task-progress-slide { from { transform: translateX(0); } to { transform: translateX(150%); } }
.generation-progress + .stage-list { margin-top: 24px; }
.stage-list { width: 100%; margin-top: 32px; }
.stage-row { min-height: 45px; display: grid; grid-template-columns: 25px 1fr auto; gap: 10px; align-items: center; color: #a0a0a0; position: relative; }
.stage-row > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #ebebeb; font-size: 10px; z-index: 1; }
.stage-row:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 30px; bottom: -7px; width: 1px; background: var(--line); }
.stage-row.done, .stage-row.active { color: var(--ink); }
.stage-row.done > span { background: var(--accent); color: white; }
.stage-row.active > span { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
.stage-row svg { width: 13px; height: 13px; }
.stage-row b { font-size: 12px; }
.stage-row em { font-style: normal; font-size: 9px; color: var(--accent); }
.generation-tip { display: flex; align-items: center; gap: 7px; margin-top: 24px; color: var(--muted); font-size: 10px; }
.generation-tip svg { width: 14px; height: 14px; }
.ready-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 4px 0 16px; }
.ready-heading > svg { width: 22px; height: 22px; color: var(--accent); }
.ready-heading h1 { margin: 0 0 4px; font-size: 18px; }
.ready-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.result-preview { margin: 4px 0 15px; padding: 16px 18px; background: white; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(24, 26, 27, .06); }
.result-preview-head { display: flex; justify-content: space-between; gap: 12px; color: var(--accent); font-size: 10px; font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.result-preview-legend { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: var(--muted); font-size: 10px; }
.writing-notes { margin: 12px 0; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; background: #f8fafc; color: #475569; font-size: 12px; line-height: 1.6; }
.writing-notes strong { color: #334155; }
.writing-notes p { margin: 6px 0 0; }
@media print { .writing-notes { display: none !important; } }
.highlight-swatch { width: 15px; height: 9px; flex: none; border-radius: 2px 3px 2px 1px; background: #fff09a; transform: rotate(-4deg); }
.result-preview-content { max-height: min(62vh, 680px); padding: 18px 7px 4px 0; overflow-y: auto; overflow-wrap: break-word; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #c5cbd1 transparent; }
.result-preview-content:focus-visible { outline: 2px solid rgba(8, 127, 245, .35); outline-offset: 4px; }
.result-resume-identity h2 { margin: 0 0 5px; font-family: Georgia, "Songti SC", serif; font-size: 23px; line-height: 1.35; }
.result-resume-headline { margin: 0; color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.65; }
.result-resume-contact { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.result-resume-section { margin-top: 19px; }
.result-resume-section > h3 { margin: 0 0 11px; padding-bottom: 7px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 700; }
.result-resume-section p, .result-detail-list { margin: 0; color: #454b50; font-size: 11px; line-height: 1.75; }
.result-resume-section p + p { margin-top: 6px; }
.result-resume-entry + .result-resume-entry { margin-top: 16px; }
.result-entry-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 10px; }
.result-entry-head h4 { flex: 1 1 140px; min-width: 0; margin: 0; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.65; }
.result-entry-head time { flex: none; color: var(--muted); font-size: 10px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.result-resume-section .result-entry-role { margin-top: 3px; color: #25577e; font-weight: 600; }
.result-entry-details:not(:empty) { margin-top: 7px; }
.result-resume-section .result-detail-label { margin: 10px 0 4px; color: var(--ink); font-weight: 600; }
.result-entry-details > .result-detail-label:first-child { margin-top: 0; }
.result-detail-list { padding-left: 1.6em; }
.result-detail-list li { padding-left: 2px; }
.result-detail-list li + li { margin-top: 5px; }
.result-detail-list li::marker { color: #65727e; font-variant-numeric: tabular-nums; }
.result-resume-section .result-education-meta { margin-top: 3px; color: var(--muted); font-size: 10px; }
.ai-highlight { padding: 0; border-radius: 2px 4px 3px 1px; background: linear-gradient(176deg, transparent 12%, rgba(255, 226, 73, .5) 19%, rgba(255, 230, 82, .68) 82%, transparent 91%); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.resume-paper.exporting .ai-highlight { background: none !important; box-shadow: none !important; color: inherit; }
@media print { .ai-highlight { background: none !important; box-shadow: none !important; color: inherit; } .ai-annotation, .ai-review-bar { display: none !important; } }
.result-preview + .primary-button { margin-bottom: 8px; }
.result-preview + .primary-button + .secondary-button { margin-bottom: 0; }
.ready-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ready-secondary-actions .secondary-button { min-width: 0; padding: 0 9px; }
.greeting-panel { margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.greeting-panel.empty { padding-top: 12px; }
.greeting-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.greeting-heading h2 { margin: 0; font-size: 12px; }
.greeting-heading button { display: inline-flex; align-items: center; gap: 4px; border: 0; padding: 4px 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 9px; font-weight: 700; }
.greeting-heading button svg { width: 12px; height: 12px; }
.greeting-panel > p { margin: 10px 0; padding: 11px 12px; border-left: 2px solid var(--accent); background: #f5f8fa; color: #3c3c3c; font-size: 11px; line-height: 1.65; }
.greeting-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.greeting-actions button { min-width: 0; min-height: 38px; padding-inline: 9px; font-size: 11px; }
.page-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.page-title h1 { margin: 0; font-size: 20px; }.page-title p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.version-list { display: grid; gap: 10px; }
.version-item { position: relative; background: white; border: 1px solid var(--line); border-radius: 7px; padding: 14px; overflow: hidden; }
.version-item.is-draggable { cursor: grab; }.version-item.is-draggable:active { cursor: grabbing; }.version-item.dragging { opacity: .58; border-color: var(--accent); }
.version-accent { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #d0d0d0; }.version-accent.recommended { background: var(--accent); }
.version-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.version-top > div { min-width: 0; }
.version-date { color: var(--muted); font-size: 9px; }.version-top h2 { margin: 3px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.version-item > p { margin: 5px 0 10px; color: var(--muted); font-size: 10px; }
.match-badge { color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 4px 6px; font-size: 10px; font-weight: 720; }
.version-target { min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; align-items: center; margin: 11px 0 12px; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.version-target > svg { width: 15px; height: 15px; color: var(--accent); }.version-target b, .version-target small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.version-target b { font-size: 10px; }.version-target small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.recommend-reason { display: flex; gap: 5px; align-items: center; padding: 7px 8px; background: #f6f8f9; color: #5b5b5b; font-size: 9px; margin-bottom: 10px; }
.recommend-reason svg { width: 12px; height: 12px; color: var(--accent); }
.version-actions { display: flex; gap: 4px; align-items: center; }
.version-actions button { height: 28px; border: 0; background: transparent; border-radius: 5px; padding: 0 7px; display: flex; align-items: center; gap: 4px; font-size: 9px; cursor: pointer; }
.version-actions button:hover { background: var(--soft); }.version-actions svg { width: 12px; height: 12px; }
.drag-handle { width: 26px; height: 28px; display: grid; place-items: center; border-radius: 5px; color: #8c8c8c; cursor: grab; }.drag-handle:hover { color: var(--ink); background: var(--soft); }.drag-handle:active { cursor: grabbing; }
.master-resume-panel { padding: 16px 0; border-top: 1px solid var(--line); }
.master-resume-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.master-resume-heading h2 { margin: 0; font-size: 12px; }
.master-resume-file { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.master-resume-icon { width: 34px; height: 34px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.master-resume-icon svg { width: 16px; height: 16px; }
.master-resume-file strong, .master-resume-file small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.master-resume-file strong { font-size: 11px; }
.master-resume-file small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.master-resume-actions { display: flex; align-items: center; gap: 2px; }
.master-resume-actions button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.master-resume-actions button:hover { background: var(--soft); color: var(--ink); }
.master-resume-actions button:disabled { opacity: .55; cursor: wait; }
.master-resume-actions svg { width: 14px; height: 14px; }
.master-resume-empty { width: 100%; height: 42px; padding: 0; background: transparent; border: 1px dashed #c1c1c1; border-radius: 6px; color: var(--accent); display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; font-size: 11px; font-weight: 680; }
.master-resume-empty:hover { border-color: var(--accent); background: #f8fafc; }
.master-resume-empty.busy { cursor: wait; color: var(--muted); background: var(--soft); }
.master-resume-empty svg { width: 15px; height: 15px; }
.usage-panel { padding: 15px 0 19px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usage-panel > div:first-child { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }.usage-panel b { font-size: 13px; }
.usage-track { height: 5px; border-radius: 3px; background: #e5e5e5; overflow: hidden; margin: 10px 0 6px; }.usage-track span { display: block; height: 100%; background: var(--accent); }
.usage-panel small { color: var(--muted); font-size: 9px; }
.upgrade-panel { background: var(--accent); color: white; border-radius: 7px; padding: 17px; margin-top: 16px; }
.plan-label { color: #74a3d2; font-size: 9px; font-weight: 800; }
.upgrade-panel h2 { font-size: 15px; margin: 8px 0 5px; }.upgrade-panel p { margin: 0; color: #bdbdbd; font-size: 10px; line-height: 1.55; }
.price-row { display: flex; align-items: baseline; margin: 15px 0 11px; }.price-row strong { font-size: 26px; }.price-row span { color: #bdbdbd; font-size: 10px; }.price-row em { margin-left: auto; color: #74a3d2; font-size: 9px; font-style: normal; }
.upgrade-button { width: 100%; background: #70a0d0; color: #101a25; border: 0; }
.pro-status { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: center; margin: 16px 0 0; padding: 14px; background: var(--accent-soft); border-radius: 7px; color: var(--accent); }
.pro-status > svg { width: 19px; height: 19px; }
.pro-status b, .pro-status small { display: block; }.pro-status b { font-size: 12px; }.pro-status small { margin-top: 3px; color: #526273; font-size: 9px; }
.pro-status button { min-height: 30px; padding: 0 8px; border: 1px solid #b8cadc; border-radius: 5px; background: rgba(255,255,255,.7); color: var(--accent); font-size: 9px; font-weight: 700; cursor: pointer; }
.settings-list { margin-top: 17px; border-top: 1px solid var(--line); }
.settings-list button { width: 100%; min-height: 51px; display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.settings-list button > svg { width: 16px; }.settings-list button > svg:last-child { width: 14px; color: var(--muted); }
.settings-list b, .settings-list small { display: block; }.settings-list b { font-size: 11px; }.settings-list small { max-width: 230px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 9px; margin-top: 2px; }
.toast-region { position: fixed; z-index: 100; top: calc(80px + env(safe-area-inset-top, 0px)); bottom: auto; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); display: grid; grid-auto-rows: max-content; align-content: start; gap: 8px; pointer-events: none; }
.toast { min-width: 0; width: 100%; max-width: 360px; height: auto; min-height: 42px; align-self: start; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #dce5f0; color: #26364a; padding: 10px 14px; border-radius: 10px; box-shadow: 0 6px 20px #1e293b14; font-size: 12px; line-height: 1.6; animation: toast-in .18s ease-out; }
.toast.error { background: #fff7f6; border-color: #f1d5d1; color: #a3342b; }.toast svg { width: 17px; height: 17px; color: var(--accent); flex: none; }.toast.error svg { color: #c4483d; }.toast > span { min-width: 0; overflow-wrap: anywhere; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; background: rgba(24, 26, 27, .42); padding: 18px; }
.modal-card { width: min(100%, 350px); background: white; border-radius: 8px; padding: 24px; position: relative; box-shadow: 0 20px 60px rgba(24, 26, 27, .22); }
.modal-close { position: absolute; right: 10px; top: 10px; border: 0; background: transparent; width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; }
.modal-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); }
.modal-card h2 { margin: 15px 0 6px; font-size: 19px; }.modal-card > p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.modal-card label { display: block; margin-top: 12px; font-size: 10px; font-weight: 650; }
.input-wrap, .code-row { display: flex; height: 40px; margin-top: 6px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.input-wrap span { display: grid; place-items: center; padding: 0 10px; color: var(--muted); border-right: 1px solid var(--line); font-size: 11px; }
.input-wrap input, .code-row input { min-width: 0; flex: 1; border: 0; padding: 0 10px; outline: 0; font-size: 12px; }
.code-row button { border: 0; border-left: 1px solid var(--line); background: var(--soft); color: var(--accent); padding: 0 10px; font-size: 10px; }
.code-row button:disabled { color: var(--muted); cursor: default; }
.login-status { margin-top: 6px; color: var(--muted); font-size: 10px; }
.login-modal .primary-button { margin-top: 15px; }.agreement { display: block; margin-top: 10px; text-align: center; color: var(--muted); font-size: 9px; }.form-error { min-height: 15px; margin-top: 6px; color: var(--danger); font-size: 10px; }
.optimization-modal textarea { width: 100%; min-height: 112px; margin-top: 6px; resize: vertical; border: 1px solid var(--line); border-radius: 6px; padding: 10px; color: var(--ink); background: white; outline: 0; font: inherit; font-size: 11px; line-height: 1.55; }
.optimization-modal textarea:focus { border-color: #8ca4bd; box-shadow: 0 0 0 2px rgba(8, 127, 245, .1); }
.optimization-modal .primary-button { margin-top: 4px; }
.plan-modal > .plan-label { color: var(--accent); }.plan-option { position: relative; display: grid !important; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.plan-option.selected { border-color: var(--accent); background: #f8fafc; }.plan-option input { accent-color: var(--accent); }.plan-option span b, .plan-option span small { display: block; }.plan-option span b { font-size: 12px; }.plan-option span small { color: var(--muted); margin-top: 3px; font-size: 9px; }.plan-option > strong { font-size: 17px; }.plan-option > strong small { color: var(--muted); font-size: 9px; }.plan-option em { position: absolute; right: 9px; top: -7px; background: var(--amber-soft); color: var(--amber); border-radius: 3px; padding: 2px 5px; font-size: 8px; font-style: normal; }.plan-modal .upgrade-button { margin-top: 15px; }
.button-spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.dark-spinner { width: 14px; height: 14px; border: 2px solid #d6d6d6; border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }

/* Subscription */
.subscription-main { min-height: 100vh; padding: 0 16px 112px; background: #fcfcfc; }
.subscription-toolbar { height: 58px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; border-bottom: 1px solid var(--line); }
.subscription-toolbar .icon-button { margin-left: -8px; }
.subscription-toolbar strong { text-align: center; font-size: 12px; }
.subscription-heading { padding: 27px 0 20px; }
.subscription-heading h1 { max-width: 290px; margin: 0; font-size: 20px; line-height: 1.4; letter-spacing: 0; }
.quota-payment-context { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 11px 0 12px; border-bottom: 1px solid var(--line); color: var(--accent); }
.quota-payment-context > svg { width: 18px; height: 18px; }
.quota-payment-context b, .quota-payment-context small { display: block; }
.quota-payment-context b { font-size: 11px; }.quota-payment-context small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.plan-list { display: grid; gap: 9px; }
.subscription-plan { position: relative; width: 100%; min-height: 68px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: white; text-align: left; cursor: pointer; }
.subscription-plan:hover { border-color: #c1c1c1; }
.subscription-plan.selected { border-color: var(--accent); background: #f7f9fb; box-shadow: inset 0 0 0 1px var(--accent); }
.subscription-plan span b, .subscription-plan span small, .subscription-plan > strong small { display: block; }
.subscription-plan span b { font-size: 13px; }.subscription-plan span small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.subscription-plan > strong { text-align: right; font-size: 18px; }.subscription-plan > strong small { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 500; }
.subscription-plan em { position: absolute; top: -7px; right: 10px; padding: 2px 6px; border-radius: 3px; background: var(--amber-soft); color: var(--amber); font-size: 8px; font-style: normal; font-weight: 700; }
.payment-section { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); }
.payment-section h2 { margin: 0 0 11px; font-size: 12px; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.payment-method { min-width: 0; height: 48px; display: grid; grid-template-columns: 26px minmax(0, 1fr) 14px; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: white; text-align: left; font-size: 10px; font-weight: 680; cursor: pointer; }
.payment-method:hover { border-color: #c1c1c1; }.payment-method.selected { border-color: var(--accent); background: #f7f9fb; }
.payment-method > svg { width: 13px; height: 13px; color: var(--accent); opacity: 0; }.payment-method.selected > svg { opacity: 1; }
.payment-mark { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: white; font-size: 10px; font-weight: 800; }
.payment-mark.alipay { background: #1677ff; }
.checkout-footer { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); }
.checkout-footer .primary-button svg { width: 15px; height: 15px; }
.checkout-footer > small { display: block; margin-top: 7px; color: var(--muted); text-align: center; font-size: 8px; }
.payment-state { display: flex; flex-direction: column; align-items: stretch; padding-bottom: 30px; }
.payment-state .subscription-toolbar { align-self: stretch; }
.payment-state-symbol { width: 62px; height: 62px; display: grid; place-items: center; align-self: center; margin-top: 66px; border-radius: 10px; }
.payment-state-symbol.pending { background: var(--soft); }.payment-state-symbol.pending .dark-spinner { width: 22px; height: 22px; }
.payment-state-symbol.success { color: white; background: var(--accent); }.payment-state-symbol.failed { color: var(--danger); background: #faeae8; }
.payment-state-symbol svg { width: 27px; height: 27px; }
.payment-state > h1 { margin: 18px 0 7px; text-align: center; font-size: 19px; }.payment-state > p { margin: 0; color: var(--muted); text-align: center; font-size: 11px; }
.payment-order-summary { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; margin: 31px 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.payment-order-summary span { font-size: 11px; font-weight: 680; }.payment-order-summary strong { grid-row: span 2; align-self: center; font-size: 19px; }.payment-order-summary small { color: var(--muted); font-size: 9px; }
.payment-state > .secondary-button { margin-top: 8px; }.payment-state > .primary-button svg, .payment-state > .secondary-button svg { width: 15px; height: 15px; }
.payment-text-action { align-self: center; margin-top: 13px; padding: 6px 8px; border: 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.manage-subscription { padding-bottom: 30px; }
.manage-plan { padding: 28px 0 21px; border-bottom: 1px solid var(--line); }.manage-plan span { color: var(--muted); font-size: 9px; }.manage-plan h1 { margin: 7px 0 0; font-size: 20px; }
.subscription-details { margin: 0; }.subscription-details > div { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.subscription-details dt { color: var(--muted); font-size: 10px; }.subscription-details dd { margin: 0; text-align: right; font-size: 11px; font-weight: 680; }
.cancel-renewal-button { margin-top: 20px; color: var(--danger); }
.center-state.compact { min-height: calc(100vh - 120px); }.center-state.compact h1 { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .spin-icon, .button-spinner, .dark-spinner, .generating-symbol span, .skeleton::after, .task-progress-indeterminate, .task-progress-segment.is-active::after { animation: none; }
}

/* Editor */
.editor-body { min-width: 1024px; height: 100vh; overflow: hidden; }
.editor-header { height: 64px; display: grid; grid-template-columns: 220px minmax(320px, 1fr) auto; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); background: white; }
.editor-brand { font-size: 16px; }.file-title { justify-self: center; display: flex; align-items: center; gap: 10px; }.file-title input { width: 300px; border: 0; border-bottom: 1px solid transparent; background: transparent; padding: 6px 3px; text-align: center; font-size: 13px; font-weight: 650; }.file-title input:hover, .file-title input:focus { border-color: var(--line); outline: 0; }
#saveStatus { display: flex; gap: 5px; align-items: center; min-width: 53px; color: var(--muted); font-size: 9px; }.unsaved-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }.editor-actions { display: flex; justify-content: flex-end; align-items: center; gap: 7px; }.editor-actions .secondary-button, .editor-actions .primary-button { min-height: 36px; font-size: 11px; }
.editor-layout { height: calc(100vh - 64px); display: grid; grid-template-columns: 250px minmax(650px, 1fr) 280px; }
.requirements-rail, .changes-rail { min-width: 0; overflow-y: auto; padding: 18px; background: white; }.requirements-rail { border-right: 1px solid var(--line); }.changes-rail { border-left: 1px solid var(--line); }
.rail-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; font-size: 12px; font-weight: 700; }.rail-title b { min-width: 30px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); padding: 4px 6px; text-align: center; font-size: 10px; }
.target-job { padding-bottom: 14px; border-bottom: 1px solid var(--line); }.target-job strong, .target-job span { display: block; }.target-job strong { font-size: 13px; }.target-job span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.requirement-list { list-style: none; padding: 7px 0 0; margin: 0; }.requirement-list li { display: flex; align-items: center; gap: 8px; min-height: 34px; color: #575757; font-size: 10px; }.requirement-list svg { width: 14px; height: 14px; flex: none; }.requirement-list .covered svg { color: var(--accent); }.requirement-list .missing svg { color: var(--amber); }
.unresolved-block { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }.unresolved-block h3 { margin: 0 0 8px; color: var(--amber); font-size: 10px; }.unresolved-block p { margin: 7px 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.editor-canvas { overflow: auto; padding: 30px 34px 60px; background: #f0f0f0; }.resume-paper { width: 794px; height: 1123px; overflow: hidden; margin: 0 auto; background: white; box-shadow: 0 8px 30px rgba(24, 26, 27, .1); padding: 54px 62px; color: #171d23; }
.overflow-notice { display: none; width: 794px; margin: 0 auto 10px; color: #805017; background: var(--amber-soft); padding: 8px 11px; font-size: 10px; align-items: center; gap: 6px; }.overflow-notice.visible { display: flex; }.overflow-notice svg { width: 14px; }
.resume-identity { padding-bottom: 21px; border-bottom: 2px solid #172b3f; }.resume-identity h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 31px; line-height: 1.2; }.resume-headline { margin: 7px 0 8px; color: var(--accent); font-size: 13px; font-weight: 680; }.resume-contact { margin: 0; color: #646464; font-size: 10px; }
.resume-section { position: relative; padding-top: 19px; }.section-control { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #b5b5b5; padding-bottom: 6px; margin-bottom: 9px; }.section-control h2 { margin: 0; font-size: 13px; letter-spacing: 0; }.section-control > div { display: flex; opacity: 0; transition: opacity .15s; }.resume-section:hover .section-control > div { opacity: 1; }.mini-icon { width: 23px; height: 23px; }.mini-icon svg { width: 12px; height: 12px; }.mini-icon.danger:hover { color: var(--danger); background: #fff0ee; }
.editable-content { min-height: 22px; color: #3d3d3d; font-size: 10px; line-height: 1.62; white-space: pre-wrap; }.editable-content p { margin: 3px 0; }.editable-content p:nth-child(odd):not(:first-child) { margin-top: 9px; font-weight: 650; color: #2d2d2d; }.editable-content.compact { color: #3c3c3c; }.editable-content:empty::before, [contenteditable]:empty::before { content: attr(data-placeholder); color: #a6a6a6; }
[contenteditable] { border-radius: 2px; }.resume-paper [contenteditable]:hover { background: #f7f8fa; }.resume-paper [contenteditable]:focus { background: #f7f8fa; outline: 1px solid #b7c7d8; outline-offset: 3px; }
.resume-paper.exporting .section-control > div { display: none; }.resume-paper.exporting [contenteditable] { background: transparent; outline: 0; }
.change-list { display: grid; gap: 0; }.change-item { display: grid; grid-template-columns: 28px 1fr; gap: 8px; position: relative; padding-bottom: 17px; }.change-item:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 27px; bottom: 3px; width: 1px; background: var(--line); }.change-marker { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--muted); z-index: 1; }.change-item.active .change-marker { color: var(--accent); background: var(--accent-soft); }.change-marker svg { width: 13px; height: 13px; }.change-item span { color: var(--accent); font-size: 9px; font-weight: 700; }.change-item p { margin: 4px 0 0; color: #5d5d5d; font-size: 10px; line-height: 1.5; }.change-diff { margin-top: 8px; padding: 7px; background: var(--soft); border-radius: 4px; font-size: 8px; }.change-diff del, .change-diff ins { display: block; text-decoration: none; }.change-diff del { color: #9b6b66; text-decoration: line-through; }.change-diff ins { color: var(--accent); margin-top: 3px; }.empty-rail { text-align: center; color: var(--muted); padding-top: 80px; }.empty-rail svg { width: 22px; }.empty-rail p { font-size: 10px; }
.editor-empty { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }.editor-empty h1 { margin: 16px 0; font-size: 18px; }

@media (max-width: 1180px) {
  .editor-layout { grid-template-columns: 220px minmax(650px, 1fr); }.changes-rail { display: none; }
}
@media print {
  .editor-header, .requirements-rail, .changes-rail, .overflow-notice { display: none !important; }.editor-body { min-width: 0; overflow: visible; background: white; }.editor-layout { display: block; height: auto; }.editor-canvas { padding: 0; overflow: visible; background: white; }.resume-paper { box-shadow: none; margin: 0; width: 210mm; height: 297mm; }.section-control > div { display: none !important; }
}

/* Structured resume editor */
.editor-body { min-width: 960px; background: #f4f6f7; color: #171d23; }
.editor-header { position: relative; z-index: 10; height: 64px; grid-template-columns: 150px minmax(300px, 1fr) auto; padding: 0 20px; box-shadow: 0 1px 0 rgba(24, 26, 27, .06); }
.editor-header .file-title input { width: min(360px, 34vw); }
.editor-actions .icon-button { width: 36px; height: 36px; }
.editor-actions .secondary-button, .editor-actions .primary-button { padding-inline: 14px; }
.editor-workspace { height: 100vh; display: grid; grid-template-columns: minmax(470px, 48%) minmax(490px, 52%); overflow: hidden; }
.form-pane, .preview-pane { min-width: 0; min-height: 0; }
.form-pane { display: grid; grid-template-rows: 70px minmax(0, 1fr); border-right: 1px solid #e3e3e3; background: #fff; }
.form-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 28px; border-bottom: 1px solid #e9e9e9; }
.form-section-head > div > span { display: block; margin-bottom: 3px; color: #777777; font-size: 10px; font-weight: 650; }
.form-pane-head h1, .form-section-head h2 { margin: 0; letter-spacing: 0; }
.form-pane-head h1 { font-size: 18px; }
.form-section-nav { display: flex; align-items: center; gap: 3px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.form-section-nav::-webkit-scrollbar { display: none; }
.form-section-nav button { flex: none; border: 0; border-radius: 4px; background: transparent; color: #707070; padding: 7px 8px; font-size: 10px; cursor: pointer; }
.form-section-nav button:hover, .form-section-nav button:focus-visible { background: #eef1f4; color: #143f6b; outline: 0; }
.form-scroll { overflow: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.form-inner { width: min(760px, 100%); margin: 0 auto; padding: 24px 32px 64px; }
.job-context { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 12px; border-bottom: 1px solid #e3e3e3; }
.job-context span, .job-context strong { display: block; }
.job-context span { margin-bottom: 3px; color: #7d7d7d; font-size: 10px; }
.job-context strong { font-size: 13px; }
.job-context b { flex: none; border-radius: 4px; background: #e5ecf3; color: #164473; padding: 5px 8px; font-size: 10px; }
.job-keywords { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 4px; }
.job-keywords span { border: 1px solid #e1e1e1; border-radius: 4px; color: #666666; background: #fafbfc; padding: 4px 7px; font-size: 9px; }
.job-keywords span.covered { border-color: #b7c8d9; background: #e8eef4; color: #0865be; }
.job-keywords span.gap { border-style: dashed; color: #828282; background: #fff; }
.supplement-panel { margin-top: 12px; border-top: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; }
.supplement-head { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.supplement-head > div { display: flex; align-items: center; gap: 7px; }
.supplement-head svg { width: 14px; height: 14px; color: #0865be; }
.supplement-head strong { font-size: 11px; }
.supplement-head > span { color: #8a8a8a; font-size: 9px; font-variant-numeric: tabular-nums; }
.supplement-list { border-top: 1px solid #efefef; }
.supplement-item + .supplement-item { border-top: 1px solid #efefef; }
.supplement-row { width: 100%; min-height: 44px; display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; gap: 9px; border: 0; background: transparent; padding: 0 2px; text-align: left; cursor: pointer; }
.supplement-row:hover { color: #0865be; }
.supplement-status { width: 22px; height: 22px; display: grid; place-items: center; border: 1px dashed #b3b3b3; border-radius: 4px; color: #7c7c7c; }
.supplement-status.saved { border-style: solid; border-color: #7891aa; background: #e8eef4; color: #0865be; }
.supplement-status svg, .supplement-row > svg { width: 12px; height: 12px; }
.supplement-row > span:nth-child(2) { min-width: 0; }
.supplement-row strong, .supplement-row small { display: block; }
.supplement-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.supplement-row small { margin-top: 2px; color: #8d8d8d; font-size: 8.5px; }
.supplement-row > svg { color: #939393; transition: transform .15s ease; }
.supplement-item.active .supplement-row > svg { transform: rotate(180deg); }
.supplement-editor { padding: 0 0 12px 33px; }
.supplement-editor textarea { width: 100%; min-height: 78px; resize: vertical; border: 1px solid #d3d3d3; border-radius: 5px; padding: 9px 10px; color: #2d2d2d; background: #fff; font: inherit; font-size: 10px; line-height: 1.55; outline: 0; }
.supplement-editor textarea:focus { border-color: #4c7095; box-shadow: 0 0 0 3px rgba(8, 127, 245, .09); }
.supplement-editor > div { display: flex; justify-content: flex-end; gap: 5px; margin-top: 7px; }
.supplement-editor button { min-height: 29px; border: 0; border-radius: 4px; padding: 0 9px; color: #707070; background: transparent; font-size: 9px; font-weight: 680; cursor: pointer; }
.supplement-editor button:hover { background: #edf0f3; }
.supplement-editor .supplement-save { color: #fff; background: #087ff5; }
.supplement-editor .supplement-save:hover { background: #086bd0; }
.form-section { scroll-margin-top: 16px; padding: 28px 0; border-bottom: 1px solid #e7e7e7; }
.form-section:last-child { border-bottom: 0; }
.form-section-head { min-height: 38px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.form-section-head h2 { font-size: 15px; }
.form-section-actions { display: flex; gap: 2px; }
.form-section-actions .mini-icon { opacity: 1; width: 28px; height: 28px; color: #7a7a7a; }
.profile-form { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 22px; align-items: start; }
.avatar-editor { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.avatar-preview { width: 88px; height: 112px; overflow: hidden; display: grid; place-items: center; border: 1px solid #dedede; border-radius: 6px; background: #edf0f3; color: #1a446e; font-family: Georgia, "Songti SC", serif; font-size: 28px; }
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-upload { display: inline-flex; align-items: center; gap: 5px; color: #0865be; font-size: 10px; font-weight: 680; cursor: pointer; }
.avatar-upload svg { width: 13px; height: 13px; }
.avatar-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.text-button { border: 0; background: transparent; color: #919191; padding: 2px 5px; font-size: 9px; cursor: pointer; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid-3 { grid-template-columns: 1.2fr .9fr .8fr; }
.form-field { min-width: 0; display: grid; gap: 6px; }
.form-field.field-wide { grid-column: 1 / -1; }
.form-field > span { color: #5b5b5b; font-size: 10px; font-weight: 680; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #dddddd; border-radius: 5px; background: #fff; color: #1e252c; padding: 10px 11px; font: inherit; font-size: 11px; line-height: 1.55; transition: border-color .15s, box-shadow .15s; }
.form-field textarea { min-height: 84px; resize: none; overflow: hidden; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a2a2a2; }
.form-field input:hover, .form-field textarea:hover { border-color: #c2c2c2; }
.form-field input:focus, .form-field textarea:focus { border-color: #087ff5; box-shadow: 0 0 0 3px rgba(8, 127, 245, .1); outline: 0; }
.entry-list { display: grid; gap: 12px; }
.form-entry { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) 28px; gap: 10px; padding: 16px 12px 16px 10px; border: 1px solid #e4e4e4; border-radius: 6px; background: #fcfcfc; }
.project-entry { border-left: 3px solid #738da7; }
.education-entry { background: #fff; }
.entry-number { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #e9eef2; color: #0865be; font-size: 9px; font-weight: 750; }
.entry-fields { min-width: 0; display: grid; gap: 12px; }
.entry-delete { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 4px; background: transparent; color: #919191; cursor: pointer; }
.entry-delete:hover { background: #fff0ee; color: #b3473d; }
.entry-delete svg { width: 14px; height: 14px; }
.add-entry { width: fit-content; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; border: 1px dashed #b8b8b8; border-radius: 5px; background: #fff; color: #0865be; padding: 7px 10px; font-size: 10px; font-weight: 680; cursor: pointer; }
.add-entry:hover { border-color: #2c5a88; background: #f4f6f9; }
.add-entry svg { width: 13px; height: 13px; }
.ai-review-bar { position: sticky; top: 12px; z-index: 4; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0 2px; padding: 8px 10px 8px 12px; border: 1px solid #b9c6d4; border-radius: 6px; background: rgba(247, 250, 253, .96); box-shadow: 0 8px 20px rgba(24, 50, 77, .08); backdrop-filter: blur(10px); }
.ai-review-bar > div { display: flex; align-items: center; gap: 7px; }
.ai-review-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 4px; background: #087ff5; color: #fff; }
.ai-review-icon svg { width: 14px; height: 14px; }
.ai-review-bar strong { color: #202831; font-size: 11px; }
.ai-review-copy { display: grid; gap: 3px; }
.ai-review-copy small { font-size: 10px; color: #637281; }
.ai-review-bar b { min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 9px; background: #dce4ec; color: #0865be; font-size: 9px; }
.ai-review-actions button, .ai-annotation-actions button { min-height: 30px; border: 0; border-radius: 4px; background: transparent; color: #6c6c6c; padding: 6px 9px; font-size: 10px; font-weight: 680; cursor: pointer; }
.ai-review-actions button:hover, .ai-annotation-actions button:hover { background: #eaeef2; color: #0865be; }
.ai-review-actions .apply-all, .ai-annotation-actions .apply-suggestion { background: #087ff5; color: #fff; }
.ai-review-actions .apply-all:hover, .ai-annotation-actions .apply-suggestion:hover { background: #086bd0; color: #fff; }
.ai-annotation { position: relative; margin-top: 12px; overflow: hidden; border: 1px solid #d4dde5; border-left: 3px solid #087ff5; border-radius: 4px; background: #f7f9fb; }
.ai-annotation-reason { margin: 10px 12px 0; color: #566676; font-size: 11px; line-height: 1.6; }
.ai-annotation-head { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 12px; border-bottom: 1px solid #dbe2e8; }
.ai-annotation-head > div { min-width: 0; display: flex; align-items: center; gap: 7px; }
.ai-annotation-head svg { flex: none; width: 13px; height: 13px; color: #0865be; }
.ai-annotation-head strong { flex: none; color: #0865be; font-size: 10px; }
.ai-annotation-head span { min-width: 0; overflow: hidden; color: #6c6c6c; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.ai-annotation-head .mini-icon { flex: none; width: 26px; height: 26px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
.ai-annotation-head .mini-icon:hover { background: #e6ebf0; }
.ai-diff { display: grid; grid-template-columns: 1fr 1fr; }
.ai-diff > div { min-width: 0; padding: 11px 12px 12px; }
.ai-diff-before { border-right: 1px solid #dbe2e8; background: #fcfcfc; }
.ai-diff span { display: block; margin-bottom: 6px; color: #818181; font-size: 9px; font-weight: 680; }
.ai-diff p { overflow-wrap: anywhere; margin: 0; color: #4b4b4b; font-size: 11px; line-height: 1.7; white-space: pre-line; }
.ai-diff-before p { color: #858585; text-decoration: line-through; text-decoration-color: #cdcdcd; }
.ai-diff-after p { color: #1d2d3d; }
.ai-annotation-actions { display: flex; justify-content: flex-end; gap: 4px; padding: 0 10px 10px; }
.ai-annotation-actions .apply-suggestion { display: inline-flex; align-items: center; gap: 5px; }
.ai-annotation-actions svg { width: 12px; height: 12px; }
.ai-annotation button:focus-visible, .ai-review-bar button:focus-visible { outline: 2px solid #087ff5; outline-offset: 2px; }
.resume-paper .pdf-skills-descriptive { grid-template-columns: 1fr; }
.preview-pane { display: grid; grid-template-rows: 70px minmax(0, 1fr); background: #e8ebee; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 16px 0 24px; border-bottom: 1px solid #dddddd; background: #f5f6f8; }
.preview-toolbar > div:first-child { display: flex; align-items: center; gap: 10px; }
.preview-toolbar span { color: #3d3d3d; font-size: 11px; font-weight: 700; }
.preview-toolbar b { color: #828282; font-size: 9px; font-weight: 600; }
.preview-toolbar-controls, .preview-toolbar-actions { min-width: 0; display: flex; align-items: center; gap: 6px; }
.preview-toolbar-actions { padding-left: 6px; border-left: 1px solid #dddddd; }
.preview-toolbar-actions .icon-button { flex: none; width: 30px; height: 30px; color: #5b5b5b; }
.preview-toolbar-actions .download-button { border: 1px solid #dbdbdb; background: #fff; }
.preview-toolbar-actions .secondary-button, .preview-toolbar-actions .primary-button { flex: none; min-height: 30px; padding: 0 9px; gap: 5px; font-size: 10px; }
.preview-toolbar-actions .save-button { width: 30px; padding: 0; background: var(--accent); color: #fff; }
.preview-toolbar-actions .save-button:hover { background: #086bd0; color: #fff; }
.preview-toolbar-actions .secondary-button svg, .preview-toolbar-actions .primary-button svg { width: 14px; height: 14px; }
.template-control { flex: none; height: 30px; display: flex; align-items: center; gap: 4px; border: 1px solid #dbdbdb; border-radius: 5px; background: #fff; padding: 0 4px 0 7px; }
.template-control svg { width: 13px; height: 13px; color: #6d6d6d; }
.template-control select { width: 50px; border: 0; background: transparent; color: #3d3d3d; outline: 0; font-size: 9px; font-weight: 680; cursor: pointer; }
.pdf-font-control { height: 30px; display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid #dbdbdb; border-radius: 5px; background: #fff; }
.pdf-font-control > span { padding: 0 6px; color: #707070; font-size: 9px; font-weight: 650; }
.pdf-font-control button { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 3px; background: transparent; color: #555555; cursor: pointer; }
.pdf-font-control button:hover:not(:disabled) { background: #eaeef2; color: #0865be; }
.pdf-font-control button:disabled { color: #c2c2c2; cursor: default; }
.pdf-font-control button svg { width: 12px; height: 12px; }
.pdf-font-control output { min-width: 34px; color: #2d2d2d; text-align: center; font-size: 9px; font-weight: 700; font-variant-numeric: tabular-nums; }
.preview-scroll { min-height: 0; overflow: auto; padding: 28px 32px 64px; }
#previewMount { min-width: 0; }
.pdf-export-mount { position: fixed; left: -10000px; top: 0; width: 794px; pointer-events: none; }
.pdf-export-mount .resume-paper { transform: none; box-shadow: none; }
.preview-pages { display: grid; justify-items: center; gap: 24px; }
.preview-page-wrap { position: relative; flex: none; }
.resume-paper { --preview-scale: 1; --pdf-font-scale: 1.2; box-sizing: border-box; width: 794px; height: 1123px; overflow: hidden; margin: 0; padding: 50px 56px; color: #171d23; background: #fff; box-shadow: 0 8px 28px rgba(24, 26, 27, .12); transform: scale(var(--preview-scale)); transform-origin: top left; }
.preview-source { position: fixed; left: -10000px; top: 0; height: auto; min-height: 0; overflow: visible; visibility: hidden; box-shadow: none; transform: none; pointer-events: none; }
.resume-paper.exporting { transform: none !important; box-shadow: none; }
.resume-identity { min-height: 118px; display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: 28px; align-items: start; padding: 0 0 20px; border-bottom: 2px solid #1f3d5c; }
.resume-identity-copy { min-width: 0; }
.resume-identity h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: calc(30px * var(--pdf-font-scale)); line-height: 1.15; }
.resume-headline { margin: 7px 0 10px; color: #164473; font-size: calc(13px * var(--pdf-font-scale)); font-weight: 700; }
.resume-contact { display: flex; flex-wrap: wrap; gap: 4px 13px; margin: 0; color: #6f6f6f; font-size: calc(9.5px * var(--pdf-font-scale)); }
.resume-contact span { position: relative; }
.resume-contact span:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 3px; width: 1px; height: 8px; background: #d1d1d1; }
.resume-avatar { width: 78px; height: 100px; overflow: hidden; display: grid; place-items: center; border-radius: 5px; background: #e9edf1; color: #1a446e; font-family: Georgia, "Songti SC", serif; font-size: calc(25px * var(--pdf-font-scale)); }
.resume-avatar img { width: 100%; height: 100%; object-fit: cover; }
.resume-sections { display: grid; gap: 0; }
.pdf-section { padding-top: 18px; break-inside: avoid; }
.pdf-section > h2 { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid #a9a9a9; font-size: calc(13px * var(--pdf-font-scale)); letter-spacing: 0; }
.pdf-summary p, .pdf-details p { margin: 0; color: #404040; font-size: calc(9.7px * var(--pdf-font-scale)); line-height: 1.58; }
.pdf-summary p + p, .pdf-details p + p { margin-top: 4px; }
.pdf-details .pdf-detail-label { margin: 7px 0 3px; color: var(--ink); font-weight: 700; }
.pdf-details > .pdf-detail-label:first-child { margin-top: 0; }
.pdf-detail-list { margin: 3px 0; padding-left: 1.6em; color: #404040; font-size: calc(9.7px * var(--pdf-font-scale)); line-height: 1.58; }
.pdf-detail-list li + li { margin-top: 4px; }
.pdf-entry-list { display: grid; gap: 12px; }
.pdf-entry { break-inside: avoid; }
.pdf-entry-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.pdf-entry-head strong { font-size: calc(10.7px * var(--pdf-font-scale)); }
.pdf-entry-head time, .pdf-education-list time { flex: none; color: #6e6e6e; font-size: calc(9px * var(--pdf-font-scale)); }
.pdf-entry h3 { margin: 3px 0 5px; color: #164473; font-size: calc(9.5px * var(--pdf-font-scale)); font-weight: 680; }
.pdf-education-list { display: grid; gap: 9px; }
.pdf-education-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; break-inside: avoid; }
.pdf-education-list strong, .pdf-education-list span { display: block; }
.pdf-education-list strong { font-size: calc(10.5px * var(--pdf-font-scale)); }
.pdf-education-list span, .pdf-education-list p { margin: 2px 0 0; color: #5c5c5c; font-size: calc(9.2px * var(--pdf-font-scale)); }
.pdf-education-list p { grid-column: 1 / -1; }
.pdf-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 22px; margin: 0; padding: 0; list-style: none; }
.pdf-skills li { position: relative; padding-left: 10px; color: #404040; font-size: calc(9.5px * var(--pdf-font-scale)); line-height: 1.5; }
.pdf-skills li::before { content: ""; position: absolute; left: 0; top: 5px; width: 4px; height: 4px; border-radius: 50%; background: #385f87; }

/* PDF templates */
.template-minimal { padding: 54px 62px; color: #171a19; }
.template-minimal .resume-identity { min-height: 108px; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid #242826; }
.template-minimal .resume-identity h1 { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: calc(27px * var(--pdf-font-scale)); font-weight: 760; }
.template-minimal .resume-headline { color: #303633; font-weight: 650; }
.template-minimal .resume-avatar { border-radius: 2px; background: #f0f1f1; color: #303633; filter: grayscale(1); }
.template-minimal .pdf-section { padding-top: 20px; }
.template-minimal .pdf-section > h2 { border-bottom-color: #303633; color: #171a19; font-size: calc(12px * var(--pdf-font-scale)); }
.template-minimal .pdf-entry h3 { color: #303633; }
.template-minimal .pdf-skills li::before { border-radius: 0; background: #303633; }

.template-blueprint { padding: 0 56px 50px; color: #152c40; }
.template-blueprint:not(.resume-page-first) { padding-top: 50px; }
.template-blueprint .resume-identity { min-height: 154px; margin: 0 -56px; padding: 40px 56px 24px; border: 0; background: #17364f; color: #fff; }
.template-blueprint .resume-identity h1 { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; font-weight: 760; }
.template-blueprint .resume-headline { color: #8fd3c6; }
.template-blueprint .resume-contact { color: #d5e1e8; }
.template-blueprint .resume-contact span:not(:last-child)::after { background: #6e8799; }
.template-blueprint .resume-avatar { background: #f0f6f8; color: #17364f; }
.template-blueprint .pdf-section { padding-top: 20px; }
.template-blueprint .pdf-section > h2 { padding: 0 0 7px 9px; border-bottom-color: #aabcc8; border-left: 3px solid #2c7e86; color: #17364f; }
.template-blueprint .pdf-entry h3 { color: #216c76; }
.template-blueprint .pdf-skills li::before { background: #2c7e86; }

.template-sidebar { padding: 48px 52px; color: #202322; }
.template-sidebar .resume-identity { min-height: 120px; padding: 18px 22px; border: 0; border-left: 6px solid #7d3345; background: #f4f4f5; }
.template-sidebar .resume-identity h1 { font-family: Georgia, "Songti SC", serif; }
.template-sidebar .resume-headline { color: #7d3345; }
.template-sidebar .resume-avatar { border-radius: 2px; background: #e9e7e8; color: #7d3345; }
.template-sidebar .pdf-section { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 22px; padding-top: 22px; }
.template-sidebar .pdf-section > h2 { margin: 0; padding: 1px 12px 0 0; border: 0; border-right: 1px solid #cbbdc1; color: #7d3345; font-size: calc(12px * var(--pdf-font-scale)); }
.template-sidebar .pdf-entry h3 { color: #7d3345; }
.template-sidebar .pdf-skills { grid-template-columns: 1fr; }
.template-sidebar .pdf-skills li::before { background: #7d3345; }

@media (max-width: 1360px) {
  .editor-header { grid-template-columns: 120px minmax(260px, 1fr) auto; }
  .editor-actions .secondary-button, .editor-actions .primary-button { padding-inline: 10px; }
  .editor-workspace { grid-template-columns: minmax(500px, 52%) minmax(520px, 48%); }
  .form-inner { padding-inline: 24px; }
  .form-section-nav button { padding-inline: 6px; }
  .preview-toolbar { padding-inline: 14px; }
  .pdf-font-control > span { display: none; }
}

@media (max-width: 880px) {
  .editor-body { min-width: 0; overflow: auto; }
  .editor-header { position: sticky; top: 0; grid-template-columns: auto minmax(220px, 1fr) auto; }
  .editor-brand > span:last-child, .editor-actions .secondary-button span { display: none; }
  .editor-actions .secondary-button, .editor-actions .primary-button { min-width: 36px; }
  .editor-workspace { height: auto; min-height: 100vh; grid-template-columns: 1fr; overflow: visible; }
  .form-pane { min-height: 100vh; border-right: 0; }
  .preview-pane { min-height: 760px; }
  .ai-diff { grid-template-columns: 1fr; }
  .ai-diff-before { border-right: 0; border-bottom: 1px solid #dbe8e4; }
}

@media print {
  .editor-header, .form-pane, .preview-toolbar, .pdf-export-mount { display: none !important; }
  .editor-body, .editor-workspace, .preview-pane, .preview-scroll { min-width: 0; width: auto; height: auto; display: block; overflow: visible; padding: 0; background: #fff; }
  .preview-pages { display: block; }
  .preview-page-wrap { width: auto !important; height: auto !important; break-after: page; }
  .resume-paper { width: 210mm; height: 297mm; transform: none !important; box-shadow: none; }
}

/* Paid membership remains visually distinct from the product's blue actions. */
.membership-card { --member-gold: #f1d29c; padding: 19px; border: 1px solid #303b4b; border-radius: 12px; background: linear-gradient(120deg, #18212f 0%, #263347 100%); color: #fff; box-shadow: 0 8px 22px rgba(20, 32, 48, .13); }
.membership-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.membership-brand { display: flex; align-items: center; gap: 6px; color: var(--member-gold); font-size: 12px; font-weight: 750; letter-spacing: .6px; }.membership-brand svg { width: 16px; height: 16px; }
.membership-tag { color: #e2c58f; border: 1px solid #72654e; border-radius: 4px; padding: 3px 6px; font-size: 9px; }
.membership-card h2 { margin: 16px 0 6px; font-size: 18px; line-height: 1.4; letter-spacing: -.3px; }.membership-card > p { color: #c3ccd8; font-size: 11px; line-height: 1.6; }
.membership-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; margin: 20px 0 15px; }
.membership-monthly > small, .membership-lifetime > small { display: block; font-size: 10px; color: #c8d0dc; margin-bottom: 7px; }
.membership-price { display: flex; align-items: baseline; gap: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.membership-currency { color: var(--member-gold); font-size: 17px; font-weight: 650; }.membership-amount { font-size: clamp(32px, 8vw, 38px); line-height: 1.1; letter-spacing: -1px; font-weight: 780; }.membership-amount > span { font-size: .48em; letter-spacing: -.3px; }.membership-unit { margin-left: 4px; color: #c8d0dc; font-size: 11px; }
.membership-lifetime { text-align: left; border: 0; border-left: 1px solid #536071; background: transparent; padding: 0 0 0 17px; color: var(--member-gold); cursor: pointer; }.membership-lifetime .membership-amount { font-size: clamp(23px, 5vw, 28px); }.membership-lifetime .membership-currency { font-size: 13px; }.membership-lifetime-link { display: flex; align-items: center; gap: 2px; margin-top: 6px; font-size: 10px; }.membership-lifetime-link svg { width: 12px; height: 12px; }.membership-lifetime:hover .membership-lifetime-link { text-decoration: underline; }.membership-lifetime:disabled { cursor: wait; }
.membership-card .upgrade-button { min-height: 43px; border-radius: 7px; background: #f1d29c; color: #222b38; box-shadow: 0 3px 8px #0e172326; font-size: 13px; }.membership-card .upgrade-button:hover:not(:disabled) { background: #f8dfb5; }.membership-card .upgrade-button > svg:last-child { margin-left: auto; width: 15px; }.membership-card .upgrade-button > svg:first-child { margin-right: auto; width: 17px; }.membership-card .upgrade-button:disabled { opacity: .7; }
.membership-assurance { display: block; margin-top: 9px; text-align: center; color: #c3ccd8; font-size: 9px; }.membership-price-status:empty { display: none; }.membership-price-status { color: #f1d29c; font-size: 11px; line-height: 1.5; margin-bottom: 12px; }.membership-price-status button { border: 0; background: transparent; color: #fff; text-decoration: underline; padding: 4px; cursor: pointer; }.membership-card button:focus-visible { outline: 2px solid #f1d29c; outline-offset: 4px; }
@media (max-width: 370px) { .membership-card { padding: 16px; }.membership-card h2 { font-size: 17px; }.membership-prices { gap: 8px; }.membership-lifetime { padding-left: 12px; } }

.membership-amount.is-long, .membership-lifetime .membership-amount.is-long { font-size: 20px; letter-spacing: -.5px; }

/* Personal workspace: identity, preparation, membership, then account controls. */
.account-dashboard { min-height: 100vh; padding-top: 22px; padding-bottom: 94px; background: #f6f8fa; }
.account-heading { margin-bottom: 18px; }.account-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.account-heading h1 { margin: 0; color: #192333; font-size: 24px; font-weight: 760; letter-spacing: -.6px; }
.account-plan-badge { padding: 5px 9px; border: 1px solid #e1e6eb; border-radius: 6px; background: #fff; color: #5f6c7c; font-size: 10px; font-weight: 650; }.account-plan-badge.is-pro { background: #fbf1df; border-color: #e7d6b3; color: #775721; }
.account-identity { min-width: 0; display: flex; gap: 8px; align-items: center; margin: 8px 0 0; color: #687586; font-size: 10px; line-height: 1.6; }.account-identity > strong { min-width: 0; color: #586474; font-size: 11px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-dashboard .account-card, .account-dashboard .master-resume-panel { border: 1px solid #e4e9ef; border-radius: 12px; background: #fff; }
.account-dashboard .master-resume-panel { padding: 15px; margin-bottom: 12px; }.account-dashboard .master-resume-heading { gap: 10px; margin-bottom: 13px; }.account-dashboard .master-resume-heading h2, .account-section-heading h2, .account-settings-section > h2 { margin: 0; color: #263344; font-size: 12px; font-weight: 700; }
.account-card-caption { color: #687586; font-size: 10px; white-space: nowrap; font-weight: 400; }.account-dashboard .master-resume-file { gap: 9px; grid-template-columns: 36px minmax(0, 1fr) auto; }.account-dashboard .master-resume-icon { width: 36px; height: 40px; border-radius: 8px; background: #edf5ff; }.account-dashboard .master-resume-file strong { color: #263344; font-size: 12px; font-weight: 650; }.account-dashboard .master-resume-file small { margin-top: 5px; color: #687586; font-size: 10px; }
.account-dashboard .master-resume-actions { gap: 3px; }.account-dashboard .master-resume-actions button { width: auto; min-width: 28px; height: 32px; padding: 0 5px; gap: 4px; grid-auto-flow: column; font-size: 10px; }.account-dashboard .master-resume-actions button:first-child { color: #52749d; }.account-dashboard .master-resume-empty { height: 52px; border-color: #dce6f2; border-radius: 8px; background: #f8fbff; color: #3471b3; font-size: 11px; }
.account-dashboard .usage-panel { margin-bottom: 14px; padding: 15px; }.account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.account-quota-value { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 11px; color: #687586; font-size: 11px; }.account-quota-value strong { color: #21364e; font-size: 29px; font-weight: 750; line-height: 1; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }.account-dashboard .usage-track { height: 5px; margin: 0 0 9px; background: #eaf0f6; }.account-dashboard .usage-track span { border-radius: inherit; background: #4c87cb; }.account-quota-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px 10px; color: #687586; font-size: 10px; line-height: 1.5; }.account-quota-footer .account-bonus { color: #50769d; }.account-dashboard .is-unlimited .account-quota-value strong { font-size: 23px; }.account-quota-note { margin: 0; color: #687586; font-size: 10px; line-height: 1.6; }
.account-dashboard .membership-card { margin: 0 0 20px; }.account-dashboard .membership-card h2 { font-size: 17px; }.account-dashboard .membership-assurance { line-height: 1.6; }
.account-dashboard .account-pro-status { margin: 0 0 20px; padding: 17px 15px; grid-template-columns: 32px minmax(0, 1fr) auto; border: 1px solid #e4d4b4; border-radius: 12px; background: #fff8ec; color: #81612b; }.account-pro-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #f3e4c6; }.account-pro-icon svg { width: 18px; height: 18px; }.account-pro-status small { color: #8a795b; line-height: 1.5; }.account-pro-status button { display: inline-flex; align-items: center; gap: 2px; padding: 0; border: 0; background: transparent; color: #81612b; font-size: 10px; }.account-pro-status button svg { width: 12px; height: 12px; }
.account-settings-section > h2 { margin: 0 0 10px 2px; color: #687586; font-size: 10px; font-weight: 550; }.account-dashboard .settings-list { margin: 0; padding: 0 13px; }.account-dashboard .settings-list button { min-height: 62px; grid-template-columns: 32px minmax(0, 1fr) 14px; gap: 10px; border-bottom-color: #edf0f4; }.account-dashboard .settings-list button:last-child { border-bottom: 0; }.account-setting-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #f2f5f8; color: #6b7e93; }.account-setting-icon svg { width: 15px; height: 15px; }.account-dashboard .settings-list b { color: #344254; font-size: 11px; font-weight: 600; }.account-dashboard .settings-list small { color: #687586; font-size: 10px; margin-top: 5px; max-width: none; }
.account-login-panel { padding: 28px 20px; text-align: center; }.account-login-panel > svg { width: 24px; height: 24px; color: #52749d; }.account-login-panel h2 { margin: 16px 0 8px; font-size: 17px; }.account-login-panel p { margin: 0 0 22px; color: #687586; font-size: 11px; line-height: 1.6; }
@media (max-width: 370px) { .account-dashboard { padding-left: 12px; padding-right: 12px; }.account-dashboard .master-resume-panel, .account-dashboard .usage-panel { padding: 13px; }.account-dashboard .master-resume-actions button { padding: 0 3px; }.account-dashboard .master-resume-actions svg { width: 13px; height: 13px; }.account-dashboard .membership-card h2 { font-size: 16px; } }

/* Installed version stays visible while release metadata is checked on account entry. */
.account-dashboard .account-version { margin-top: 12px; padding: 15px; }
.account-version-row { display: flex; align-items: center; gap: 10px; }
.account-version-copy { flex: 1; min-width: 0; }
.account-version-copy h2 { margin: 0; color: #344254; font-size: 11px; font-weight: 600; line-height: 1.6; }
.account-version-copy h2 span { margin-left: 5px; color: #687586; font-size: 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.account-version-copy p { margin: 4px 0 0; color: #687586; font-size: 10px; line-height: 1.5; }
.account-version.has-update { border-color: #c7dcf7; }
.account-version.has-update .account-version-copy p { color: #1768bd; }
.extension-download { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 4px; min-height: 30px; padding: 0 9px; border: 1px solid #d7e4f4; border-radius: 6px; background: #f1f7ff; color: #1768bd; font-size: 10px; text-decoration: none; white-space: nowrap; }
.extension-download svg { width: 12px; height: 12px; }
.extension-download:hover { background: #e7f1ff; border-color: #adcaee; }
.account-version.has-update .extension-download { background: #087ff5; color: #fff; border-color: #087ff5; }
.account-version.has-update .extension-download:hover { background: #086bd0; }
.extension-check { padding: 5px 8px; border: 0; border-radius: 5px; background: #f1f7ff; color: #1768bd; font-size: 10px; cursor: pointer; }
.extension-install-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #edf0f4; color: #687586; font-size: 10px; line-height: 1.7; }
.extension-download:focus-visible, .dock-button:focus-visible { outline: 2px solid #087ff5; outline-offset: 3px; }
@media (max-width: 370px) { .account-version-row { gap: 7px; }.account-version .account-setting-icon { display: none; }.extension-download { padding: 0 7px; }.scan-dock-button { padding: 0 7px; gap: 4px; font-size: 10px; } }
.service-notice{padding:10px 14px;color:#2c537e;background:#eff5fd;font-size:12px;line-height:1.6;}
.resume-paper .pdf-section>h2,.resume-paper .pdf-entry h3{color:var(--template-color);}.template-blueprint .resume-identity{background:var(--template-color);}.template-sidebar .resume-identity{border-left-color:var(--template-color);}.template-sidebar .resume-headline{color:var(--template-color);}
