/* Recruiter tools are persistent; the reading view keeps the content plain. */
.rail-recruiter-tools{display:grid;gap:9px;margin-top:24px;padding-top:22px;border-top:1px solid #d9e1ec}
.rail-tool-label{font:500 12px/1.5 'Space Grotesk',sans-serif;letter-spacing:.07em;color:#687c98;margin:0 0 2px}
.professional-page .recruiter-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 13px;border:1px solid #bdcde6;border-radius:6px;background:#fff;color:#34558d;font:500 14px/1.5 'Space Grotesk',sans-serif;text-align:center;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s}
.professional-page .recruiter-button:hover{background:#edf2fc;border-color:#809ccb}
.professional-page .recruiter-button.primary{background:#365fce;border-color:#365fce;color:white}
.professional-page .recruiter-button.primary:hover{background:#294faf;border-color:#294faf}
.professional-page .recruiter-button:disabled{opacity:.65;cursor:wait}
.recruiter-download{font-size:14px;color:#34558d;min-height:44px;display:flex;align-items:center;justify-content:center;text-decoration:underline;text-underline-offset:4px}
.mobile-recruiter-tools,.cv-mobile-tools{display:none}
.recruiter-copy-status{position:fixed;z-index:50;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);background:#223b65;color:#fff;font-size:15px;line-height:1.5;border-radius:8px;box-shadow:0 8px 30px #162a4926}
.recruiter-copy-status:not(:empty){padding:14px 21px}
.complete-history{margin-top:24px;border-top:1px solid #d9e1ec}
.complete-history>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0 2px;cursor:pointer;list-style:none;color:#34558d}
.complete-history>summary::-webkit-details-marker{display:none}
.complete-history>summary strong{display:block;font:500 18px/1.4 'Space Grotesk',sans-serif}
.complete-history>summary small{display:block;color:#67788f;font-size:14px;line-height:1.6;margin-top:5px}
.history-expand{font-size:25px;transition:transform .2s}
.complete-history[open] .history-expand{transform:rotate(45deg)}
.role-history{margin:25px 0 0;padding:0;list-style:none}
.role-history>li{padding:23px 0;border-top:1px solid #e0e6ef}
.role-history h3{font:500 20px/1.4 'Space Grotesk',sans-serif;letter-spacing:-.02em;margin:0 0 7px;color:#30496c}
.role-history .role-meta{font-size:14px;color:#67788f;line-height:1.7;margin:0 0 14px}
.role-history ul{padding-left:21px;margin:0;color:#536984;font-size:16px;line-height:1.8}
.role-history li li+li{margin-top:8px}
.role-history .role-note{color:#67788f;font-size:14px;line-height:1.7;margin:14px 0 0}
.history-reader-link{display:inline-block;color:#34558d;font-size:14px;line-height:1.6;text-decoration:underline;text-underline-offset:4px;padding:10px 0}
.professional-page .proof-code{font-size:21px;letter-spacing:-.035em}
.professional-page .proof-detail h4{font:600 16px/1.5 'Space Grotesk',sans-serif;color:#3b5274;margin:22px 0 7px}
.professional-page .proof-detail h4:first-child{margin-top:0}
.cv-page{background:#fff;--bg:#fff;--ink:#23334a;--muted:#52647a}
.cv-page .professional-topline{background:#fff}
.cv-rail .rail-brand{margin-bottom:25px}
.cv-back{font-size:14px;line-height:1.6;color:#34558d;text-decoration:underline;text-underline-offset:4px;padding:8px 0;margin-bottom:27px}
.cv-rail nav>a{min-height:42px;padding-block:9px}
.cv-rail .rail-label{margin-left:0}
.cv-rail .rail-recruiter-tools{margin-top:23px}
.professional-page .cv-sheet,.professional-page .cv-ai-section{max-width:800px;margin-inline:auto}
.cv-sheet{font-size:16px;line-height:1.85;padding:25px 0 0}
.cv-heading{padding-bottom:30px}
.cv-page .cv-eyebrow{font:500 12px/1.5 'Space Grotesk',sans-serif;letter-spacing:.065em;color:#5d7190;margin:0 0 15px}
.cv-page h1{font:500 clamp(2.1rem,4vw,3rem)/1.15 'Space Grotesk',sans-serif;letter-spacing:-.045em;margin:0 0 18px}
.cv-heading>p:not(.cv-eyebrow):not(.cv-updated){font-size:19px;line-height:1.6;color:#415978;margin:0 0 22px}
.cv-heading .social-links{gap:25px}
.cv-page .cv-updated{font-size:13px;line-height:1.6;color:#61728a;margin:20px 0 0}
.cv-sheet section{padding:32px 0;border-top:1px solid #d9e1ec;scroll-margin-top:100px}
.cv-page h2{font:500 27px/1.3 'Space Grotesk',sans-serif;letter-spacing:-.025em;margin:0 0 22px;color:#23334a}
.cv-page h3{font:600 18px/1.5 'Space Grotesk',sans-serif;letter-spacing:0;margin:27px 0 10px;color:#30496c}
.cv-page p{margin:0 0 16px}
.cv-page ul{padding-left:22px;margin:0 0 20px}
.cv-page li+li{margin-top:10px}
.cv-sheet dl{margin:0}
.cv-sheet dl>div{margin-bottom:22px}
.cv-sheet dt{font-weight:600;color:#30496c;margin-bottom:4px}
.cv-sheet dd{margin:0}
.cv-sheet a:not(.social-link){color:#345ca4;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.cv-page .cv-role-meta{font-size:14px;line-height:1.8;color:#546a89;margin:0 0 14px}
.cv-page .cv-note{font-size:14px;color:#62748e;margin:14px 0 0;line-height:1.8}
.cv-role+.cv-role{margin-top:30px}
.cv-page #cv-projects>div{margin-bottom:27px}
.cv-ai-section{padding:32px 0 50px;border-top:1px solid #d9e1ec;scroll-margin-top:100px;line-height:1.8}
.cv-ai-section>p:not(.cv-eyebrow){color:#52647a;max-width:700px}
.professional-page .prompt-dialog{padding:0;border:1px solid #cbd5e3;border-radius:16px;width:min(880px,calc(100% - 32px));height:min(790px,90dvh);max-height:90dvh;background:#fff;color:#23334a;overflow:hidden;box-shadow:0 25px 90px #14294940}
.prompt-dialog[open]{display:flex;flex-direction:column}
.prompt-dialog::backdrop{background:#15253e99;backdrop-filter:blur(5px)}
.prompt-dialog [hidden]{display:none}
.prompt-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 25px 20px;flex-shrink:0}
.professional-page .prompt-dialog h2{font:500 24px/1.3 'Space Grotesk',sans-serif;letter-spacing:-.025em;margin:0 0 10px}
.professional-page .prompt-dialog-heading p{font-size:14px;line-height:1.7;color:#61718a;margin:0;max-width:620px}
.prompt-icon-button{display:inline-grid;place-items:center;flex-shrink:0;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:7px;background:transparent;color:#52647a;cursor:pointer}
.prompt-icon-button:hover{background:#e3e9f2;color:#284c89}
.prompt-icon-button:disabled{opacity:.6;cursor:wait}
.prompt-icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.prompt-icon-button .prompt-copied-icon{display:none}
.prompt-copy.is-copied .prompt-copy-icon{display:none}
.prompt-copy.is-copied .prompt-copied-icon{display:block;color:#287147}
.prompt-code-block{display:flex;flex-direction:column;min-height:0;flex:1;margin:0 25px;border:1px solid #dce3ed;border-radius:9px;background:#f6f8fb;overflow:hidden}
.prompt-code-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:5px 10px 5px 20px;border-bottom:1px solid #dce3ed;background:#edf1f7;flex-shrink:0;color:#52647a;font-size:14px}
.reader-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.reader-download{display:flex;align-items:center;min-height:44px;font-size:14px;color:#34558d;text-decoration:underline;text-underline-offset:4px}
.cv-dialog .prompt-code-block{background:#fff}
.cv-dialog .prompt-text,.cv-dialog .prompt-manual-text{font:16px/1.85 'Inter',sans-serif;letter-spacing:0}
.history-reader-link{border:0;background:none;cursor:pointer;text-align:left}
.prompt-text,.prompt-manual-text{display:block;flex:1;min-height:0;width:100%;overflow:auto;overscroll-behavior:contain;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2;padding:23px;margin:0;border:0;background:transparent;color:#334761;font:14px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;text-align:left}
.prompt-manual-text{resize:none;border-radius:0}
.prompt-text:focus-visible,.prompt-manual-text:focus-visible{outline:2px solid #365fce;outline-offset:-3px}
.professional-page .prompt-dialog-status{flex-shrink:0;min-height:24px;padding:12px 25px 18px;margin:0;color:#52647a;font-size:14px;line-height:1.6}
@media(max-width:600px){.professional-page .prompt-dialog{width:calc(100% - 20px);height:90dvh;border-radius:12px}.prompt-dialog-heading{padding:19px 16px 16px;gap:10px}.professional-page .prompt-dialog h2{font-size:22px}.prompt-code-block{margin-inline:12px}.prompt-code-toolbar{padding-left:16px}.prompt-text,.prompt-manual-text{padding:17px}.professional-page .prompt-dialog-status{padding:10px 16px 14px}.cv-dialog .prompt-code-toolbar{flex-wrap:wrap;gap:0;padding-top:12px}.cv-dialog .reader-actions{margin-left:auto}}
.professional-page .copy-fallback{padding:26px;border:1px solid #b8c9e4;background:#fff;color:#23334a;max-height:90dvh;width:min(760px,calc(100% - 32px));overflow:auto}
.copy-fallback::backdrop{background:#172c4a99;backdrop-filter:blur(4px)}
.copy-fallback-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.professional-page .copy-fallback h2{font:500 25px/1.3 'Space Grotesk',sans-serif;letter-spacing:-.025em;margin:0}
.copy-fallback-header button{min-height:44px;padding:10px 15px;border:1px solid #bdcde6;border-radius:6px;background:#f5f7fb;color:#34558d;font-size:14px}
.copy-fallback p{font-size:15px;line-height:1.7;margin:0 0 16px}
.copy-fallback textarea{display:block;width:100%;height:50dvh;resize:vertical;border:1px solid #a5b9d9;border-radius:5px;padding:16px;background:#fff;color:#23334a;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}
.copy-fallback textarea:focus{outline:2px solid #365fce;outline-offset:3px}
@media(max-width:900px){.mobile-recruiter-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.cv-mobile-tools{display:flex;gap:10px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid #d9e1ec}.cv-mobile-tools>a:first-child{width:100%;font-size:14px;color:#345ca4;text-decoration:underline;text-underline-offset:4px;padding:5px 0 12px}.cv-mobile-tools .recruiter-download{padding-inline:12px}.cv-sheet{padding-top:30px}.cv-page .cv-sheet,.cv-page .cv-ai-section{max-width:720px}}
@media(max-width:600px){.professional-page .proof-code{font-size:19px}.mobile-recruiter-tools{gap:8px}.mobile-recruiter-tools .recruiter-button{flex:1;padding-inline:8px;font-size:14px}.cv-sheet{font-size:16px;line-height:1.8}.cv-page h2{font-size:25px}.cv-page h3{font-size:18px}.cv-sheet section{padding-block:28px}.cv-heading>p:not(.cv-eyebrow):not(.cv-updated){font-size:17px}.professional-page .copy-fallback{padding:20px}.copy-fallback textarea{padding:12px}.cv-mobile-tools .recruiter-button{flex:1;font-size:14px}.cv-mobile-tools .recruiter-download{width:100%;justify-content:flex-start;padding-left:0}.recruiter-copy-status{bottom:16px;font-size:14px;width:max-content}.role-history h3{font-size:18px}}
@media print{.cv-page .site-tools,.cv-page .professional-rail,.cv-page .professional-topline,.cv-mobile-tools,.cv-ai-section,.recruiter-copy-status,.skip{display:none!important}.cv-page main{margin:0;padding:0}.cv-page .cv-sheet{max-width:none;font-size:11pt;line-height:1.6;padding:0}.cv-page section{scroll-margin:0}.cv-page h2,.cv-page h3{break-after:avoid}.cv-page .cv-heading{padding-bottom:12px}.cv-page a{color:#222}.cv-page{background:#fff}}
/* Formatted CV and a separate, editable AI prompt. */
.professional-page .recruiter-reader{width:min(1120px,calc(100% - 32px));height:min(900px,92dvh);max-height:92dvh}
.professional-page .cv-reader{width:min(920px,calc(100% - 32px))}
.reader-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:#f0f3f8}
.reader-footer{flex-shrink:0;padding:15px 24px;border-top:1px solid #d9e1ec;background:#fff}
.reader-copy-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.reader-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;border:1px solid #bdcde6;border-radius:6px;color:#34558d;background:#fff;font:500 14px/1.5 'Space Grotesk',sans-serif;cursor:pointer}
.reader-copy-button:hover{background:#edf2fc;border-color:#809ccb}
.reader-copy-button.primary{background:#365fce;border-color:#365fce;color:#fff}
.reader-copy-button.primary:hover{background:#294faf}
.reader-copy-button:disabled{opacity:.5;cursor:not-allowed}
.reader-copy-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.reader-copy-button .copied-symbol{display:none}
.reader-copy-button.is-copied .copy-symbol{display:none}
.reader-copy-button.is-copied .copied-symbol{display:block}
.professional-page .reader-footer .prompt-dialog-status{padding:10px 0 0;min-height:0;font-size:14px;line-height:1.5}
.reader-footer .prompt-dialog-status:empty{display:none}
.reader-copy-fallback{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0;padding:24px;overflow:auto}
.reader-copy-fallback>p{font-size:15px;line-height:1.6;margin:0}
.reader-copy-fallback textarea{flex:1;min-height:180px;resize:none;width:100%;border:1px solid #bdcde6;border-radius:7px;padding:16px;background:#f7f9fc;color:#23334a;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}
.reader-copy-fallback .reader-return{align-self:flex-start}
.cv-document{margin:24px auto;padding:40px;max-width:760px;background:#fff;box-shadow:0 2px 14px #253b6110;color:#273b55;font:16px/1.8 'Inter',sans-serif}
.professional-page .prompt-dialog .cv-document h2{font:600 32px/1.15 'Space Grotesk',sans-serif;letter-spacing:-.04em;margin:0 0 13px}
.cv-document-heading>p{font-size:17px;line-height:1.6;color:#466591;margin:0 0 16px}
.cv-contact-links a{display:inline-flex;align-items:center;gap:7px}
.cv-contact-links{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:12px}
.cv-document a{color:#345ca4;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.cv-document small{font-size:13px;color:#63738a}
.cv-document section{padding-top:28px;margin-top:27px;border-top:1px solid #d9e1ec}
.professional-page .cv-document h3{font:600 21px/1.4 'Space Grotesk',sans-serif;letter-spacing:-.02em;color:#34558d;margin:0 0 19px}
.professional-page .cv-document h4{font:600 17px/1.5 'Inter',sans-serif;color:#2c4566;margin:25px 0 8px}
.cv-document p{margin:0 0 14px}
.cv-document ul{padding-left:22px;margin:0 0 20px}
.cv-document li+li{margin-top:8px}
.cv-document dl{margin:0}
.cv-document dl>div{margin-bottom:17px}
.cv-document dt{font-weight:600;margin-bottom:4px}
.cv-document dd{margin:0}
.cv-document .cv-document-meta{font-size:14px;line-height:1.7;color:#62748e;margin-bottom:13px}
.cv-document .cv-document-notes{font-size:14px;color:#62748e}
.ai-reader-columns{display:grid;grid-template-columns:1.08fr 1fr;gap:16px;height:100%;min-height:0;padding:18px}
.ai-editor-pane,.ai-cv-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;border:1px solid #d9e1ec;border-radius:9px;overflow:hidden}
.ai-pane-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:65px;padding:10px 16px;background:#f8fafd;border-bottom:1px solid #dce3ed;flex-shrink:0}
.ai-pane-heading label,.professional-page .ai-pane-heading h3{font:600 16px/1.4 'Space Grotesk',sans-serif;margin:0;color:#2c4566}
.prompt-draft-state{display:block;font:12px/1.6 'Inter',sans-serif;color:#687b94;margin-top:3px}
.read-only-label{font-size:12px;color:#687b94}
.prompt-reset{border:1px solid #c9d6e9;background:#fff;color:#34558d;min-height:44px;padding:9px 12px;border-radius:6px;font-size:14px;cursor:pointer;white-space:nowrap}
.prompt-reset:hover{background:#edf2fc}
.prompt-reset:disabled{opacity:.45;cursor:default}
.professional-page .prompt-edit-note{padding:12px 16px;margin:0;font-size:14px;line-height:1.6;color:#62748e;flex-shrink:0}
.ai-prompt-editor,.ai-cv-text{display:block;flex:1;min-height:0;width:100%;overflow:auto;overscroll-behavior:contain;resize:none;margin:0;border:0;padding:16px;background:#fff;color:#334761;font:14px/1.8 'Inter',sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}
.ai-cv-text{background:#f8fafd}
.ai-prompt-editor:focus-visible,.ai-cv-text:focus-visible,.reader-copy-fallback textarea:focus-visible{outline:2px solid #365fce;outline-offset:-3px}
.prompt-reset-confirm{padding:15px 16px;border-top:1px solid #decba4;background:#fff8e8;flex-shrink:0}
.professional-page .prompt-reset-confirm p{font-size:14px;line-height:1.6;color:#73521d;margin:0 0 12px}
.prompt-reset-confirm>div{display:flex;gap:9px;flex-wrap:wrap}
.professional-page .prompt-empty-note{font-size:14px;line-height:1.6;padding:12px 16px;margin:0;color:#73521d;border-top:1px solid #decba4;background:#fff8e8}
@media(max-width:760px){.ai-reader-columns{height:auto;grid-template-columns:1fr;grid-template-rows:minmax(430px,55dvh) minmax(300px,45dvh);padding:12px;gap:12px}.cv-document{padding:28px;margin:15px}.reader-footer{padding:13px 16px}.reader-copy-actions{gap:8px}.reader-copy-button{padding-inline:12px}}
@media(max-width:600px){.professional-page .recruiter-reader{width:calc(100% - 16px);height:94dvh;max-height:94dvh}.cv-document{margin:0;padding:25px 20px;box-shadow:none}.professional-page .prompt-dialog .cv-document h2{font-size:28px}.cv-document-heading>p{font-size:16px}.ai-reader .reader-copy-button{flex:1;white-space:nowrap}.ai-reader .reader-copy-button.primary{flex-basis:100%}.reader-copy-fallback{padding:16px}.cv-reader .reader-copy-actions .reader-download{padding-inline:4px}.ai-reader-columns{grid-template-rows:minmax(450px,60dvh) minmax(300px,45dvh)}}

/* Recruiter instructions sit above the editable prompt and CV. */
.ai-reader .reader-body{display:flex;flex-direction:column}
.ai-instructions{padding:18px 24px 0;flex-shrink:0;color:#334761}
.professional-page .ai-instructions h3{font-size:17px;line-height:1.4;margin:0 0 8px}
.ai-instructions ol{padding-left:21px;margin:0;font-size:14px;line-height:1.65}
.ai-instructions li+li{margin-top:4px}
.professional-page .ai-instructions p{font-size:13px;line-height:1.6;margin:9px 0 0;color:#62748e}
.ai-reader-columns{height:auto;flex:1;min-height:320px}
@media(max-width:760px){.ai-instructions{padding:16px 20px 0}.ai-reader-columns{flex:none}}
