#careerPanel { padding: 28px !important; font-size: 14px; line-height: 1.65; color: var(--ink); }
#careerPanel h2 { margin: 0; font-size: 22px; letter-spacing: -.5px; }
#careerPanel h3 { margin: 0; font-size: 15px; font-weight: 600; }
#careerPanel p { margin: 8px 0; }
#careerPanel .career-muted, #careerPanel small { color: #667085; font-size: 12px; }
.career-heading, .career-resume-bar, .career-match-heading, .career-analysis-head, .career-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.career-badge { background: #edf6f3; color: #116b5f; padding: 4px 10px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.career-resume-bar { margin: 20px 0; padding: 18px 20px; background: #f7f9fa; border: 1px solid #e7ecef; border-radius: 8px; }
.career-resume-bar > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; }
.career-resume-bar strong { overflow-wrap: anywhere; font-weight: 500; }
.career-caption { color: #667085; font-size: 12px; }
#careerPanel .career-upload { position: relative; cursor: pointer; color: #116b5f; font-weight: 600; white-space: nowrap; text-align: right; }
.career-upload span { display: block; font-size: 11px; font-weight: 400; color: #667085; }
.career-upload input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.career-upload:focus-within { outline: none; }
.career-upload:has(input:focus-visible) { outline: none; }
#careerPanel summary { cursor: pointer; font-size: 14px; font-weight: 600; padding: 12px 0; }
.career-draft > summary { display: flex; align-items: center; gap: 10px; list-style: none; }
.career-draft > summary::before { content: '›'; font-size: 22px; color: #667085; transform: rotate(0); }
.career-draft[open] > summary::before { transform: rotate(90deg); }
.career-draft > summary::-webkit-details-marker { display: none; }
.career-filename { margin-left: 14px; color: #667085; font-size: 13px; font-weight: 400; overflow-wrap: anywhere; }
.career-draft-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 28px; padding-top: 12px; }
.career-editor, .career-analysis { min-width: 0; }
.career-analysis { border-left: 1px solid #e5ebef; padding-left: 28px; }
.career-field { display: flex; flex-direction: column; gap: 7px; }
#careerPanel label { font-size: 13px; font-weight: 500; }
#careerPanel input:not([type=file]), #careerPanel textarea { box-sizing: border-box; width: 100%; border: 1px solid #d6e0e5; border-radius: 7px; background: #fff; padding: 10px 12px; color: #202733; font: inherit; line-height: 1.65; outline: none; }
#careerPanel textarea { resize: vertical; min-height: 104px; }
#careerPanel input:focus-visible, #careerPanel textarea:focus-visible { border-color: #388679; box-shadow: 0 0 0 3px #116b5f14; }
.career-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
#careerPanel .career-previous { color: #667085; font-size: 12px; margin-top: 16px; }
#careerPanel .career-source { color: #526773; font-size: 12px; overflow-wrap: anywhere; }
.career-summary { font-size: 13px; line-height: 1.85; max-height: 160px; overflow-y: auto; }
.career-evidence-list { max-height: 320px; overflow-y: auto; padding-right: 10px; }
.career-evidence-list > div { margin-bottom: 16px; }
.career-evidence-list strong { color: #116b5f; font-size: 13px; }
.career-evidence-list p { font-size: 13px; color: #52606d; }
.career-text pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; padding: 14px; background: #f7f9fa; font: inherit; font-size: 12px; border-radius: 6px; }
.career-actions { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid #e7ecef; }
.career-actions p { font-size: 12px; color: #667085; }
.career-actions > div { display: flex; gap: 10px; flex-shrink: 0; }
#careerPanel button { padding: 9px 16px; min-height: 40px; border: 1px solid #d6e0e5; border-radius: 7px; background: #fff; color: #344854; font-size: 13px; font-weight: 500; cursor: pointer; margin: 0; }
#careerPanel button:hover { background: #f1f6f4; border-color: #91b8ae; }
#careerPanel button.career-primary { background: #116b5f; border-color: #116b5f; color: #fff; }
#careerPanel button.career-primary:hover { background: #0c574d; }
#careerPanel button:disabled { opacity: .5; cursor: wait; }
#careerPanel button:focus-visible, #careerPanel summary:focus-visible { outline: 2px solid #6ba89c; outline-offset: 3px; }
#careerPanel .career-privacy { grid-column: 1 / -1; font-size: 11px; color: #667085; margin: -14px 0 0; }
.career-history { border-top: 1px solid #e7ecef; margin-top: 24px; padding-top: 4px; }
.career-count { color: #667085; margin-left: 8px; font-weight: 400; }
.career-history article { padding: 16px; background: #f7f9fa; border-radius: 8px; margin-bottom: 12px; overflow-wrap: anywhere; }
.career-history-title { display: flex; flex-wrap: wrap; gap: 12px; }
.career-history-actions { display: flex; gap: 8px; }
.history-editor { margin-top: 16px; }
.history-editor label { display: block; margin: 12px 0; }
.career-match-heading { border-top: 1px solid #e7ecef; padding-top: 20px; margin-top: 8px; }
.career-match-heading button { flex-shrink: 0; }
#careerStatus:empty, #matchResults:empty { display: none; }
#careerStatus:not(:empty), #matchResults:not(:empty) { padding: 12px 16px; background: #f0f6f4; border-radius: 6px; margin: 16px 0; }
.career-empty { color: #667085; padding: 16px 0; }
@media (max-width: 1100px) { .career-draft-body { grid-template-columns: 1fr; gap: 20px; } .career-analysis { border-left: 0; border-top: 1px solid #e7ecef; padding: 18px 0 0; } }
@media (max-width: 640px) { #careerPanel { padding: 18px !important; } #careerPanel h2 { font-size: 19px; } .career-resume-bar, .career-actions, .career-match-heading { align-items: stretch; flex-direction: column; gap: 12px; } .career-resume-bar { padding: 14px; } #careerPanel .career-upload { text-align: left; } .career-filename { display: block; margin-left: 0; } .career-field-pair { grid-template-columns: 1fr; } .career-actions > div { flex-wrap: wrap; } .career-actions button { flex: 1; } .career-heading { gap: 10px; } }

#analysisStatus { grid-column: 1 / -1; color: #116b5f; font-size: 13px; }
#analysisStatus:empty { display: none; }

#careerPanel .career-version-tools, .career-history-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#careerPanel .career-file-action { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:9px 14px; border:1px solid #d6e0e5; border-radius:7px; background:#fff; color:#344854; font-size:13px; white-space:nowrap; }
#careerPanel .career-file-action:hover { background:#edf6f3; border-color:#91b8ae; }
#careerPanel .career-file-action:focus-visible { outline:2px solid #6ba89c; outline-offset:3px; }
#careerPanel .career-upload { text-align:center; padding:5px 12px; border:1px solid #d6e0e5; border-radius:7px; background:white; }
.career-version-row { display:flex; justify-content:space-between; gap:20px; align-items:center; }
.career-history-actions { flex-shrink:0; }
#careerPanel .career-history-keywords { margin-top:14px; color:#52606d; font-size:13px; }
#careerPanel .career-privacy { margin:0; }
.career-resume-bar { flex-wrap:wrap; }
@media(max-width:760px) { .career-version-row { flex-direction:column; align-items:stretch; gap:10px; } .career-history-actions { flex-wrap:wrap; } }

#careerPanel .career-resume-bar { flex-direction:column; align-items:flex-start; gap:16px; }
#careerPanel .career-version-tools { justify-content:flex-start; }
#careerPanel .career-history { margin:0 0 20px; padding:0 16px; border:1px solid #e7ecef; border-radius:8px; background:#fafcfc; }
.resume-markdown { max-height:360px; overflow:auto; padding:20px; background:#f7f9fa; border-radius:8px; font-size:13px; line-height:1.9; }
#careerPanel .resume-markdown h4 { font-size:15px; margin:20px 0 10px; }
#careerPanel .resume-markdown p { margin:10px 0; }
.resume-list { padding-left:16px; border-left:2px solid #b8d8cf; }
#careerPanel input[readonly], #careerPanel textarea[readonly] { background:#f7f9fa; }

.career-model-status { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; padding:12px 16px; margin:12px 0 20px; background:#edf6f3; border:1px solid #c8dfd8; border-radius:8px; color:#155e53; font-size:13px; }
.career-model-status strong { font-weight:600; }

#careerPanel .career-resume-bar { flex-direction:row; align-items:center; justify-content:space-between; }
#careerPanel .career-version-tools { margin-left:auto; justify-content:flex-end; }
#careerPanel .career-upload { min-height:40px; display:inline-flex; align-items:center; padding:9px 14px; font-size:13px; font-weight:500; color:#344854; }
#careerPanel .career-view-primary { color:#116b5f; font-weight:700; border-color:#91b8ae; background:#edf6f3; }
#historyDialog { width:min(900px,calc(100vw - 32px)); max-height:80vh; padding:24px; border:1px solid #d9e2ec; border-radius:12px; color:#202733; box-shadow:0 20px 80px #203d3a26; }
#historyDialog::backdrop { background:rgba(20,35,40,.36); }
.career-dialog-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
#careerPanel #historyVersions { padding:0; border:0; background:transparent; margin:0; }
@media(max-width:760px) { #careerPanel .career-resume-bar { align-items:flex-start; } #careerPanel .career-version-tools { margin-left:0; justify-content:flex-start; } #historyDialog { padding:16px; } }

#careerPanel .career-evidence-list { max-height:520px; }
.career-term-group h4 { display:flex; justify-content:space-between; margin:20px 0 10px; font-size:14px; padding-bottom:8px; border-bottom:1px solid #d9e2ec; }
.career-term-group h4 span { font-size:12px; color:#667085; font-weight:400; }
.career-term { padding:12px 0; }
.career-term-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.career-term-heading span { font-size:11px; color:#52606d; background:#f0f5f3; padding:2px 6px; border-radius:4px; }
#careerPanel .career-evidence-status { font-size:11px; color:#667085; margin:6px 0; }
.career-term blockquote { margin:8px 0 0; padding:8px 12px; border-left:2px solid #b8d8cf; background:#f7f9fa; font-size:13px; color:#52606d; line-height:1.8; }
#careerPanel .career-evidence-note { font-size:12px; color:#667085; line-height:1.8; }

#strategyChanges { margin-top:18px; }
.career-diff-title { font-size:12px; font-weight:600; }
.strategy-diff-row { margin:12px 0; font-size:12px; }
.strategy-diff-row strong { display:block; margin-bottom:6px; font-weight:500; }
.strategy-diff-row > div { display:flex; flex-wrap:wrap; gap:6px; }
.strategy-added,.strategy-removed { padding:3px 8px; border-radius:4px; }
.strategy-added { background:#e4f4ed; color:#146447; }
.strategy-removed { background:#fff0eb; color:#9b4328; }
#careerPanel .strategy-changed { border-color:#4c9985; background:#f8fcfa; }

.career-strategy-status { margin-left:auto; font-weight:500; }

.career-plan-scope { margin:12px 0; }
.career-plan-details { padding:8px 0; }
#careerPanel .career-plan-details p { display:grid; grid-template-columns:100px minmax(0,1fr); gap:12px; margin:10px 0; font-size:13px; }
.career-plan-details strong { font-weight:500; color:#344854; }
.career-plan-details span { color:#667085; line-height:1.8; }
@media(max-width:640px) { #careerPanel .career-plan-details p { grid-template-columns:1fr; gap:3px; } }

#careerPanel .career-intro { font-size:14px; color:#667085; line-height:1.65; }

.career-source-warning { padding:12px; background:#fff4e8; color:#895320; border-radius:6px; font-size:13px; }
.career-version-source { font-size:12px; color:#52606d; }

/* Stable single-column reading layout, independent of disclosure state. */
#careerPanel summary:focus, #careerPanel summary:focus-visible { outline:none; box-shadow:none; }
#careerPanel .career-draft-body { grid-template-columns:minmax(0,1fr); gap:20px; }
#careerPanel .career-analysis { border-left:0; border-top:1px solid #e5ebef; padding:20px 0 0; }
#careerPanel .career-editor { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:16px 24px; align-items:start; }
#careerPanel .career-field-pair { margin-top:0; }
#strategyChanges { grid-column:1/-1; }
#careerPanel .career-evidence-list { display:block; max-height:640px; overflow-y:auto; padding-right:12px; }
.career-term-group { min-width:0; margin-bottom:24px; }
.career-term-group h4 { margin-top:12px; }
#careerPanel .career-term { padding:14px 0; }
#careerPanel .career-term-heading { justify-content:flex-start; gap:14px; }
#careerPanel .career-term blockquote { max-width:100%; }
@media(max-width:760px) {
 #careerPanel .career-editor { grid-template-columns:minmax(0,1fr); }
}
#careerPanel .career-resume-bar { padding-left:0; }


.career-operation { flex-basis:100%; display:flex; gap:12px; align-items:baseline; border-top:1px solid #c8dfd8; padding-top:10px; }
.career-operation:has(#careerStatus:empty) { display:none; }
#careerPanel .career-operation #careerStatus { padding:0; margin:0; background:transparent; border-radius:0; }
.career-operation > span { font-weight:600; white-space:nowrap; }

/* Resume identity: restore inset and explicit spacing. */
#careerPanel .career-resume-bar { padding:18px 20px; }
#careerPanel .career-file-identity { display:flex; align-items:center; gap:14px; min-width:0; flex:1 1 240px; }
#careerPanel .career-file-type { display:flex; align-items:center; justify-content:center; flex:0 0 40px; width:40px; height:46px; border:1px solid #cbded8; border-radius:6px; background:#fff; color:#39776b; font-size:11px; font-weight:700; }
#careerPanel .career-file-info { display:flex; flex-direction:column; align-items:flex-start; gap:5px; min-width:0; }
#careerPanel .career-file-info strong { display:block; font-size:14px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
#careerPanel .career-file-meta { display:block; font-size:12px; color:#667085; line-height:1.5; }
@media(max-width:640px) { #careerPanel .career-resume-bar { padding:14px; } }

/* Aligned form and compact progressive evidence reading. */
#careerPanel .career-editor { grid-template-columns:minmax(0,1fr); gap:16px; }
#careerPanel .career-field-pair { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
#careerPanel #strategyKeywords { min-height:96px; }
#careerPanel .career-field > label { line-height:22px; }
#careerPanel .career-term-group { margin:12px 0; border:1px solid #e2e9ed; border-radius:8px; padding:0 14px; }
#careerPanel .career-term-group > summary { display:flex; justify-content:space-between; padding:12px 0; font-size:13px; }
#careerPanel .career-term-group > summary span { font-size:12px; color:#667085; font-weight:400; }
#careerPanel .career-term { padding:0; border-top:1px solid #edf1f3; }
#careerPanel .career-term > summary { display:grid; grid-template-columns:minmax(120px,1fr) minmax(100px,1fr) 80px; align-items:center; gap:14px; padding:10px 0; font-size:13px; font-weight:400; }
#careerPanel .career-term > summary strong { font-weight:700; }
#careerPanel .career-term-heading span { background:none; padding:0; }
#careerPanel .career-term-rating { text-align:right; color:#116b5f; }
.career-term-content { padding:0 12px 16px; }
#careerPanel .career-evidence-list { max-height:none; overflow:visible; padding-right:0; }
#careerPanel .career-diff-disclosure > summary { padding:8px 0; font-size:12px; }
@media(max-width:640px) { #careerPanel .career-field-pair { grid-template-columns:1fr; } #careerPanel .career-term > summary { grid-template-columns:minmax(0,1fr) 64px; gap:8px; } #careerPanel .career-term-heading > span:not(.career-term-rating) { display:none; } }

#careerPanel .career-version-row { align-items:flex-start; gap:16px; }
#careerPanel .career-version-row > div:first-child { min-width:0; flex:1; }
#careerPanel .career-history-title { min-height:40px; align-items:center; gap:8px 12px; }
#careerPanel .career-history-dates { font-size:12px; color:#667085; line-height:1.8; margin:4px 0 0; }
#careerPanel .career-history-actions { align-items:center; }
@media(max-width:760px) { #careerPanel .career-history-title { min-height:0; } }

#careerPanel #strategyChanges { margin-top:0; }
#careerPanel .career-editor { row-gap:10px; }
#careerPanel .career-draft-body { gap:12px; }
#careerPanel .career-diff-disclosure > summary { padding:4px 0; }
#careerPanel .career-analysis { padding-top:12px; }
.career-category-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 12px; }
#careerPanel .career-category-tabs button { min-height:34px; padding:6px 12px; }
#careerPanel .career-category-tabs button[aria-pressed=true] { background:#edf6f3; color:#116b5f; border-color:#91b8ae; font-weight:600; }
.career-category-tabs span { margin-left:6px; font-size:11px; color:#667085; }
#careerPanel .career-evidence-note { font-size:11px; line-height:1.5; margin:4px 0; }
#careerPanel .career-term-group { margin:10px 0; }
#careerPanel .career-term > summary { padding:8px 0; grid-template-columns:minmax(120px,1fr) minmax(160px,1fr) 75px; }
@media(max-width:640px){#careerPanel .career-term > summary {grid-template-columns:minmax(0,1fr) 64px;} }

.career-header-actions { display:flex; gap:8px; flex-shrink:0; flex-wrap:wrap; }
#planHelpDialog { width:min(680px,calc(100vw - 32px)); max-height:80vh; overflow:auto; padding:24px; border:1px solid #d9e2ec; border-radius:12px; color:#202733; box-shadow:0 20px 80px #203d3a26; }
#planHelpDialog::backdrop { background:rgba(20,35,40,.36); }
@media(max-width:640px) { #careerPanel .career-heading { flex-wrap:wrap; } #planHelpDialog { padding:16px; } }

/* Compact, consistent strategy form typography. */
#careerPanel .career-draft-body { padding-top:0; gap:16px; }
#careerPanel .career-editor { gap:12px; }
#careerPanel .career-field { gap:6px; }
#careerPanel .career-field label { font-size:14px; line-height:1.5; font-weight:500; }
#careerPanel .career-field .career-muted, #careerPanel .career-field small { font-size:12px; line-height:1.5; }
#careerPanel .career-field input, #careerPanel .career-field textarea { font-size:14px; padding:9px 12px; line-height:1.6; }
#careerPanel #strategyKeywords { min-height:80px; }
#careerPanel .career-field-pair { gap:16px; }
#careerPanel #strategyChanges { margin:0; padding:10px 0 0; }
#careerPanel .career-diff-heading { font-size:14px; line-height:1.5; font-weight:500; margin:0 0 8px; }
#careerPanel .strategy-diff-row { margin:8px 0 0; font-size:12px; }
#careerPanel .strategy-diff-row strong { font-size:12px; margin-bottom:5px; }
#careerPanel .career-analysis { padding-top:16px; }

#careerPanel .career-heading { align-items:flex-start; }
#careerPanel .career-header-actions { align-items:center; margin-top:0; }
#careerPanel .career-heading h2 { min-height:40px; display:flex; align-items:center; }
.proofread-dialog { box-sizing:border-box; width:min(580px,calc(100vw - 32px)); max-height:85dvh; overflow:auto; margin:auto; padding:24px; border:1px solid #dbe5e3; border-radius:16px; background:#fff; color:#20312f; box-shadow:0 20px 70px #102c3026; font:14px/1.6 system-ui,sans-serif; }
.proofread-dialog::backdrop { background:rgba(24,42,45,.3); }
.proofread-dialog header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.proofread-dialog .proofread-eyebrow { font-size:12px; color:#687c78; }
.proofread-dialog h3 { margin:3px 0 0; font-size:20px; line-height:1.4; }
.proofread-dialog .proofread-count { color:#326d63; background:#eef6f3; padding:4px 12px; border-radius:20px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.proofread-comparison { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.proofread-comparison section { padding:16px; border:1px solid #e1e7e5; border-radius:10px; background:#f7f9f8; min-width:0; }
.proofread-comparison section.proofread-suggestion { background:#edf6f2; border-color:#d3e6de; }
.proofread-dialog h4 { margin:0 0 8px; font-size:12px; color:#62736e; font-weight:500; }
.proofread-comparison p { margin:0; font-size:16px; white-space:pre-wrap; overflow-wrap:anywhere; }
.proofread-reason { margin:18px 0 8px; overflow-wrap:anywhere; }
.proofread-reason strong { margin-right:12px; font-weight:600; }
.proofread-note { margin:0; font-size:12px; color:#70807c; }
.proofread-dialog footer { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; padding-top:18px; border-top:1px solid #edf0ef; }
.proofread-dialog button { min-height:42px; padding:8px 18px; border:1px solid #d6e1dd; border-radius:8px; background:#fff; color:#344d46; font:600 14px/1.5 system-ui,sans-serif; cursor:pointer; }
.proofread-dialog button[data-choice="accept"] { background:#2f6961; color:#fff; border-color:#2f6961; }
.proofread-dialog button:focus-visible { outline:2px solid #687c78; outline-offset:3px; }
@media(max-width:480px) { .proofread-dialog { padding:20px; } .proofread-comparison { grid-template-columns:1fr; } .proofread-dialog footer button { flex:1; } }
.proofread-dialog.proofread-batch { width:min(820px,calc(100vw - 32px)); }
.proofread-batch[open] { display:flex; flex-direction:column; overflow:hidden; }
.proofread-batch header { margin-bottom:8px; flex-shrink:0; }
.proofread-batch-tools { display:flex; justify-content:space-between; align-items:center; padding:14px 0; flex-shrink:0; color:#60756e; }
.proofread-batch-tools label { display:flex; align-items:center; gap:8px; color:#20312f; cursor:pointer; }
.proofread-batch input[type="checkbox"] { width:18px; height:18px; accent-color:#2f6961; flex-shrink:0; }
.proofread-batch-list { overflow:auto; min-height:0; overscroll-behavior:contain; }
.proofread-batch-row { display:grid; grid-template-columns:20px minmax(0,1fr); gap:12px; padding:16px 4px; border-top:1px solid #e5ece9; cursor:pointer; }
.proofread-row-caption { display:flex; gap:12px; margin-bottom:8px; font-weight:600; }
.proofread-row-caption span { font-weight:400; color:#687c78; overflow-wrap:anywhere; }
.proofread-batch .proofread-comparison section { padding:10px 12px; }
.proofread-batch .proofread-comparison p { font-size:14px; }
.proofread-batch footer { margin-top:12px; flex-shrink:0; }
.proofread-batch button:disabled { opacity:.45; cursor:not-allowed; }
#careerPanel #strategyKeywords:disabled,
#careerPanel #weakKeywords:disabled,
#careerPanel #excludedKeywords:disabled {
  background:#f0f2f3;
  border-color:#dce1e3;
  color:#78838b;
  cursor:not-allowed;
  opacity:1;
  resize:none;
  box-shadow:none;
}
#careerPanel #confirmStrategy:disabled {
  background:#e8edeb;
  border-color:#d6dedb;
  color:#6c7974;
  opacity:1;
  cursor:not-allowed;
  box-shadow:none;
}
#careerPanel .career-lock-hint { color:#697780; font-size:13px; }
#careerPanel .career-term-group:not([hidden]) {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 24px;
  align-items:start;
}
#careerPanel .career-term-group[hidden] { display:none; }
#careerPanel .career-term { min-width:0; }
#careerPanel .career-term > summary { grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; padding:12px 0; }
#careerPanel .career-term-heading > strong { grid-column:1; overflow-wrap:anywhere; }
#careerPanel .career-term-heading > span:not(.career-term-rating) { grid-column:1; grid-row:2; display:block; font-size:12px; }
#careerPanel .career-term-heading > .career-term-rating { grid-column:2; grid-row:1 / 3; white-space:nowrap; align-self:center; }
#careerPanel .career-score-value { color:#14806b; font-weight:700; font-size:16px; font-variant-numeric:tabular-nums; }
#careerPanel .career-score-total { color:#52606d; font-weight:400; font-size:12px; }
@media(max-width:700px) { #careerPanel .career-term-group:not([hidden]) { grid-template-columns:1fr; } }

/* Neutral two-column list with a continuous central divider. */
#careerPanel .career-term-group:not([hidden]) {
  position:relative;
  padding:0;
  border:0;
  gap:0 40px;
  align-items:start;
}
#careerPanel .career-term-group:not([hidden])::before {
  content:"";
  position:absolute;
  left:50%;
  top:8px;
  bottom:8px;
  width:1px;
  background:#e3e7eb;
  pointer-events:none;
}
#careerPanel .career-term {
  border:0;
  border-bottom:1px solid #e9edf0;
  border-radius:0;
  background:#fff;
  overflow:hidden;
}
#careerPanel .career-term > summary {
  padding:14px 8px;
  min-height:72px;
  box-sizing:border-box;
  cursor:pointer;
}
#careerPanel .career-term > summary:hover { background:#fafafa; }
#careerPanel .career-term[open] > summary { border-bottom:1px solid #dce6e3; }
#careerPanel .career-term-content { background:#fff; padding:12px 16px; }
#careerPanel .career-term-heading > .career-term-rating {
  min-width:66px;
  padding-left:14px;
  border-left:0;
}
@media(max-width:700px) {
  #careerPanel .career-term-group:not([hidden])::before { display:none; }
}
/* Compact extracted-text disclosure spacing. */
#careerPanel .career-text {margin:6px 0 0;padding:0;}
#careerPanel .career-text > summary {padding:6px 0;}
#careerPanel .career-analysis {padding-bottom:0;}
#careerPanel .career-draft-body {row-gap:12px;}
#careerPanel .career-evidence-list > :last-child {margin-bottom:0;}
#careerPanel .career-privacy {margin-top:0;padding-top:0;}

/* A single disclosure title and compact, aligned setup introduction. */
#preparationSettings #careerPanel {padding:4px 20px 20px !important;}
#careerPanel .career-heading {align-items:center;gap:12px;}
#careerPanel .career-intro {margin:0;flex:1;}
#careerPanel .career-header-actions {flex-shrink:0;}
#careerPanel #openPlanHelp {display:inline-flex;align-items:center;gap:6px;}
#careerPanel .career-resume-bar {margin:14px 0;}
#careerPanel #strategyChanges > p {margin:0;font-size:12px;}
#careerPanel .career-privacy {font-size:12px;line-height:1.6;}
@media(max-width:640px){
  #preparationSettings #careerPanel {padding:4px 14px 16px !important;}
  #careerPanel .career-heading {flex-wrap:wrap;}
  #careerPanel .career-intro {flex-basis:100%;}
}
