.settings-title{font-size:14px;margin:23px 0 10px}
.skill-chat{margin-top:16px;padding-top:14px;border-top:1px solid #e0e8e1}.skill-chat textarea{font-size:12px;min-height:78px;line-height:1.7}.skill-chat details{font-size:11px;color:#667c6b}.skill-chat details p{padding:5px 0;border-bottom:1px solid #e7ece7}.final-check h3{font-size:15px;margin:20px 0 10px}.final-check button{font-size:12px}.review-item{margin:12px 0;padding:12px;background:#f5f8f4;border-left:3px solid #91ad99;border-radius:0 5px 5px 0;font-size:12px}.review-item strong{font-size:12px}.review-item p{margin:6px 0;overflow-wrap:anywhere}.review-item blockquote{margin:8px 0;padding-left:8px;border-left:2px solid #c4d5c9;color:#6b7d6e}.review-status{font-size:12px;color:#3f6c50;margin-top:18px}
.template-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.template-choice{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:10px 8px;text-align:left;background:#fff;border:1px solid #d5dfda;border-radius:9px;min-width:0}
.template-choice[aria-pressed=true],.palette-choice[aria-pressed=true]{border:2px solid #246458;box-shadow:0 0 0 2px #e4efea;background:#f5faf7}
.template-choice strong{font-size:12px}.template-choice small{font-size:10px;color:#66766c;line-height:1.5}
.template-mini{display:flex;flex-direction:column;gap:6px;height:102px;padding:12px 9px;background:#fff;border:1px solid #e0e6e2;border-radius:2px}
.template-mini i{display:block;width:50%;height:12px;background:#405e54;margin-bottom:4px}.template-mini b{display:block;height:5px;border-bottom:1px solid #7c9b91}.template-mini em{display:block;height:8px;background:repeating-linear-gradient(to bottom,#d8dfdc 0,#d8dfdc 1px,transparent 1px,transparent 4px)}
.mini-research i{width:100%;height:24px;background:#e2eee7;border-top:3px solid #405e54}.mini-research b{height:9px;background:#e2eee7;border:0}
.mini-practice i{background:none;border-left:3px solid #405e54;width:65%;height:19px}.mini-practice b{border:0;border-left:2px solid #405e54}
.palette-options{display:flex;flex-wrap:wrap;gap:8px}.palette-choice{display:flex;align-items:center;gap:6px;font-size:12px;padding:8px 10px}.palette-choice span{display:block;width:14px;height:14px;background:var(--cv-accent);border-radius:50%}
.section-order{list-style:none;padding:0;margin:10px 0}.section-order li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #e3e9e4}.section-order li>span{display:flex;flex-direction:column;gap:2px}.section-order b{font-size:13px;font-weight:500}.section-order small{font-size:10px;color:#738076}.section-order li>div{display:flex;gap:6px}.section-order button{padding:3px 11px;font-size:17px}.section-order button:disabled{opacity:.3;cursor:default}
.skill-level{max-width:220px}.skill-extra label{margin:5px 0}
.skill-category-bar{display:flex;align-items:end;gap:14px;margin:20px 0 8px}.skill-category-bar>label{flex:1;min-width:0;margin:0}.skill-category-bar .skill-count{white-space:nowrap;margin-bottom:9px}
.level-help{font-size:11px;color:#6d7d74;margin:10px 0 15px}.level-help summary{cursor:pointer}.level-help p{line-height:1.8}
.builder .skill-row{padding:10px 0;border-bottom:1px solid #edf0ed}.skill-row.is-selected{padding:12px;margin:8px 0;background:#f7f9f7;border:1px solid #e9eeea;border-radius:9px}.skill-row-heading .check-label{margin:0!important;font-size:13px;font-weight:500}
.builder .skill-extra{display:flex;gap:12px;padding:10px 0 0 22px;align-items:end}.builder .skill-extra label{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;margin:0;font-size:11px;color:#78877f}.builder .skill-extra .score-field{flex:0 0 88px}
.builder .skill-extra input,.builder .skill-extra select{height:34px;min-height:0;padding:5px 9px;margin:0;font-size:12px;line-height:1.4;border:1px solid #dbe3dd;border-radius:5px;background:#fff;color:#233c32;max-width:none;width:100%}
.skill-note-details{margin:8px 0 0 22px;font-size:11px;color:#6c8074}.skill-note-details summary{cursor:pointer;list-style:none}.skill-note-details summary:before{content:'＋ ';color:#608671}.skill-note-details[open] summary:before{content:'− '}.skill-note-details summary span{color:#94a197;margin-left:5px}.builder .skill-note{height:34px;padding:5px 9px;font-size:12px;margin-top:6px;border-radius:5px;border-color:#dbe3dd;background:white}
.builder .skill-row input:focus,.builder .skill-row select:focus{outline:2px solid #adc8bb;outline-offset:1px;box-shadow:none;border-color:#789e8b}
.skill-polish{margin:16px 0;padding:16px 0;border-top:1px solid #dce6df;border-bottom:1px solid #dce6df}.polish-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.polish-heading strong{font-size:13px}.polish-heading span{font-size:10px;color:#527562;background:#edf3ee;padding:3px 7px;border-radius:4px}.skill-polish>p{font-size:11px;color:#748277;margin:7px 0 12px}.skill-polish button{font-size:12px;padding:7px 11px}.skill-polish .text-button{margin-left:8px;font-size:11px}.skill-proposal{margin-top:15px;padding:14px;background:#f0f6f1;border-radius:7px}.skill-proposal>b{font-size:12px}.skill-proposal ul{margin:10px 0;padding-left:16px;font-size:12px;line-height:1.8}.skill-proposal li{margin-bottom:8px}
.builder button:focus-visible{outline:2px solid #246458;outline-offset:3px}
.skill-rating-field{flex:1;min-width:0;font-size:11px;color:#78877f}.skill-rating-field>span{display:block;margin-bottom:5px}.skill-rating-field small{font-size:10px;color:#96a198;margin-left:4px}.rating-buttons{display:flex;gap:0;max-width:200px}.builder .rating-buttons button{flex:1;border-radius:0;padding:4px;min-width:26px;height:30px;border:1px solid #dbe3dd;border-right:0;background:#fff;font-size:12px;font-weight:500}.builder .rating-buttons button:first-child{border-radius:5px 0 0 5px}.builder .rating-buttons button:last-child{border-radius:0 5px 5px 0;border-right:1px solid #dbe3dd}.builder .rating-buttons button[aria-pressed=true]{background:#246458;color:#fff;border-color:#246458}.rating-caption{display:flex;align-items:center;gap:8px;font-size:10px;min-height:23px}.builder .rating-clear{padding:0;border:0;background:none;color:#7f8f84;font-size:10px}.builder .skill-extra .score-field{align-self:start;padding-top:0}.builder .skill-extra .score-field input{margin-top:1px}
@media(max-width:450px){.template-options{gap:5px}.template-choice{padding:8px 5px}.template-choice small{font-size:10px}}
.custom-color-control{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:12px;color:#53656a}
.custom-color-control label{margin:0}.builder .custom-color-control input[type=color]{width:48px;height:34px;padding:3px;cursor:pointer;border-radius:6px}.custom-color-control span{font-variant-numeric:tabular-nums}
.optional-answer{margin-top:14px;padding-top:10px;border-top:1px solid #e3eae5}.optional-answer .row{flex-wrap:wrap;gap:8px}.optional-answer button{font-size:12px;padding:7px 10px}.entry-name-hint{margin-top:4px}
.entry-ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:stretch;margin:12px 0 6px}.entry-card .entry-ai-actions button{width:100%;min-height:42px;height:100%;margin:0;padding:8px 10px;font-size:12px;line-height:1.4;border-radius:7px}.entry-assist-card{margin-top:14px;padding:14px;background:#f0f5f1;border:1px solid #dce7de;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.entry-assist-card h4{margin:0 0 10px;font-size:13px}.entry-assist-card p{margin:7px 0}.entry-assist-card .row{flex-wrap:wrap;gap:8px}.entry-assist-card button{font-size:12px;padding:7px 10px}.entry-proposal{padding-left:18px;line-height:1.65}.entry-proposal li{margin:7px 0}.entry-followup{margin:14px 0;padding-top:12px;border-top:1px solid #d9e3dc}.entry-followup b{font-weight:600;line-height:1.7}.entry-optional{margin-top:10px}.entry-history{margin-top:14px;color:#60776b}.entry-history p{white-space:pre-wrap}.entry-assist-card textarea{font-size:12px;min-height:85px}.entry-history summary{cursor:pointer}#mode-coach[hidden]{display:none}
.entry-versions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0 8px}.entry-versions button{min-height:40px;margin:0;font-size:12px;line-height:1.45;padding:7px 8px;background:white}.entry-versions button[aria-pressed=true]{background:#246458;border-color:#246458;color:white}.entry-versions button:focus-visible{outline:2px solid #246458;outline-offset:2px}
.entry-ai-actions > button:only-child { grid-column: 1 / -1; }

/* Keep the resume beside a long form; scroll the paper without moving its editor. */
.workspace>.preview{position:sticky;top:var(--preview-top,12px);height:calc(100dvh - var(--preview-top,12px) - 16px);min-height:240px;display:flex;flex-direction:column;min-width:0;align-self:start;background:var(--bg);z-index:2}
.preview-toolbar,#preview-tabs,#preview-tip,#preview-location{flex-shrink:0}
#preview-location{padding:0 3px 8px;color:#356557;min-height:26px}
#preview-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:6px 8px 18px;overflow-anchor:none;border-radius:8px}
#preview-scroll:focus-visible{outline:2px solid #72988a;outline-offset:1px}
#paper .editing-preview{background:#edf5ef;outline:3px solid #d4e6dc;border-radius:3px}
@media(max-width:850px){
 .workspace>.preview{order:-1;align-self:stretch;height:38dvh;min-height:200px;max-height:360px;box-shadow:0 5px 12px #203d3214;border-bottom:1px solid var(--line)}
 .preview-toolbar{margin-bottom:3px;align-items:center;gap:5px}.preview-toolbar strong{font-size:13px;display:inline}.preview-toolbar button{font-size:11px;padding:3px 6px}.preview-toolbar #version{display:none}
 #preview-tip{display:none}#preview-location{padding-bottom:3px;font-size:10px;min-height:20px}#preview-scroll{padding:4px 5px 12px}
}
@media print{
 .workspace>.preview{position:static;height:auto;max-height:none;display:block;box-shadow:none}
 #preview-scroll{overflow:visible;height:auto;max-height:none;padding:0}#preview-location{display:none}
 #paper .editing-preview{background:transparent;outline:none}
}

/* Start with a choice rather than an empty editor. */
body.landing-active{min-height:100vh;background-repeat:no-repeat;background:radial-gradient(ellipse at 12% 15%,#e7efe7 0,transparent 55%),#f5f7f3}
.landing-active>.workspace,.landing-active>.mode-nav,.landing-active .top-actions{display:none!important}
#home-screen{max-width:1080px;margin:0 auto;padding:64px 36px 38px}
.home-intro{max-width:680px;margin-bottom:35px}.home-intro .eyebrow{letter-spacing:3px}.home-intro h1{font-size:clamp(30px,4vw,46px);font-weight:650;letter-spacing:-1px;line-height:1.32;margin:14px 0 18px}.home-intro>p:last-child{font-size:16px;color:#64766c}
.home-choices{display:grid;grid-template-columns:1fr 1fr;gap:22px}.home-choice{text-align:left;padding:28px 30px;border:1px solid #d8e3d9;border-radius:16px;background:#ffffffed;box-shadow:0 8px 26px #284a3410;transition:transform .15s,border-color .15s;min-width:0}.home-choice:hover{transform:translateY(-3px);border-color:#719c87;background:#fff}.home-choice:focus-visible{outline:3px solid #739e89;outline-offset:4px}.home-choice h2{font-size:22px;margin:18px 0 12px}.home-choice p{font-size:14px;font-weight:400;color:#66776f;line-height:1.8;margin-bottom:26px}.home-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eaf2e9;color:#2b6957;font-size:26px}.home-link{display:flex;justify-content:space-between;color:#246458;font-size:14px}.home-note{margin-top:20px;color:#6a7b71;font-size:12px}.home-footer{margin-top:44px;color:#7c8a80;font-size:12px;text-align:center}.home-footer span{padding:0 12px;color:#a3afa6}
.home-existing-panel{margin-top:24px;padding:24px;border:1px solid #d8e3da;border-radius:14px;background:#fff}.home-existing-panel h2{font-size:18px;margin:0 0 17px}.home-current{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid #e3e9e3}.home-current p{font-size:12px;color:#718276;margin:3px 0 0}.home-existing-panel>.micro{margin:10px 0 0}
@media(max-width:650px){#home-screen{padding:32px 20px}.home-choices{grid-template-columns:1fr;gap:16px}.home-choice{padding:22px}.home-choice h2{font-size:20px;margin-top:13px}.home-choice p{margin-bottom:18px}.home-intro{margin-bottom:25px}.home-footer{line-height:2}.home-footer span{padding:0 4px}.home-current{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.home-choice{transition:none}.home-choice:hover{transform:none}}
@media print{#home-screen,#home-open{display:none!important}}
.home-module-status{display:inline-block;font-size:11px;font-weight:500;color:#31634d;background:#eaf2e9;border-radius:20px;padding:3px 10px;margin:12px 0 0}.home-module-status.planned{color:#75664c;background:#f5f0e5}.home-choice-planned{background:#fafbf8}.home-module-panel{margin-top:24px;padding:24px;border:1px solid #d8e3da;border-radius:14px;background:#fff}.home-module-panel>h2{font-size:21px;margin:0 0 10px}.home-start-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.home-start-options .home-choice{padding:20px;box-shadow:none}.home-start-options .home-choice h2{font-size:18px;margin:12px 0}.home-start-options .home-choice p{margin-bottom:16px}.home-module-panel>p,.home-module-panel>ul{font-size:14px;color:#64766c;line-height:1.8}.home-module-panel>.home-module-status{margin:0 0 12px}.home-module-panel .home-existing-panel{background:#f8faf7}.home-footer{line-height:2}@media(max-width:650px){.home-start-options{grid-template-columns:1fr}.home-module-panel{padding:20px}.home-intro h1{font-size:30px}}
.topbar .brand small{font-size:14px;line-height:1.6;color:#526b62;margin-top:3px}
#home-screen .home-intro{max-width:none;width:100%}
#home-title.home-journey{display:flex;align-items:center;justify-content:space-between;gap:20px;width:85%;margin:6px auto 34px;letter-spacing:0}
.journey-stage{display:flex;flex-direction:column;align-items:flex-start;gap:7px;flex:0 0 auto}
.journey-action{font-size:20px;line-height:1.5;font-weight:500;color:#526f63;letter-spacing:3px}
.journey-keyword{font-size:64px;line-height:1.2;font-weight:650;letter-spacing:0}
.journey-stage:nth-of-type(3) .journey-keyword{color:#2f6254}.journey-stage:nth-of-type(5) .journey-keyword{color:#247762}
.journey-arrow{font-size:32px;font-weight:400;color:#77988a;line-height:1;margin-top:30px}
#home-screen .home-intro>p:last-child{font-size:18px;line-height:1.85;color:#526b62;text-align:center;text-wrap:pretty}
#home-screen .eyebrow{font-size:14px}
#home-screen .home-choice p,#home-screen .home-module-panel>p,#home-screen .home-module-panel>ul{font-size:16px;line-height:1.85;color:#526b62}
#home-screen .home-link{font-size:16px}
#home-screen .micro,#home-screen .home-note,#home-screen .home-footer,#home-screen .home-current p{font-size:14px;color:#60766b;line-height:1.8}
.home-icon{line-height:1;flex-shrink:0}.home-icon svg{display:block;width:24px;height:24px;flex:none}
@media(max-width:650px){#home-title.home-journey{gap:8px;width:100%;margin:4px 0 28px}.journey-keyword{font-size:clamp(32px,9vw,44px)}.journey-action{font-size:16px;letter-spacing:2px}.journey-arrow{font-size:22px;margin-top:25px}.journey-stage{gap:5px}#home-screen .home-intro>p:last-child{font-size:17px}}

/* A1 brand asset: image includes its own rounded background. */
.topbar .brand-mark{width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;background:transparent;padding:0;overflow:visible}
.topbar .brand-mark img{display:block;width:64px;height:64px;max-width:none;object-fit:contain}

/* 目标岗位（来自岗位搜索） */
.target-card{margin:0 0 16px;padding:14px 16px;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:8px;background:#fff}
.target-card h2{margin:4px 0;font-size:1.05rem}
.target-card ul{margin:6px 0;padding-left:18px}
.target-card li{margin:6px 0}
.target-card li small{display:block;color:var(--muted)}
.target-card .quote{display:block}
.target-card .stale{color:#9a5b00}
.target-card .target-actions{flex-wrap:wrap;gap:8px;align-items:center}
.cv-entry.target-match{outline:2px solid rgba(60,110,90,.35);outline-offset:2px;border-radius:4px}
.test-banner{padding:10px 24px;background:#fff5dc;border-bottom:1px solid #ebd79e;color:#7a5b12;font-size:13px;text-align:center}
.home-back{color:var(--green);text-decoration:none;font-size:13px;margin-right:6px}

.account-status{padding:10px 24px;background:#edf3f0;color:#254d4b;font-size:13px;text-align:center;overflow-wrap:anywhere}
