@media screen{
html[data-pg139] body.pg141-cv,html[data-pg139] body.pg141-letter{background:var(--ui-bg)!important}
.pg141-icon{width:18px;height:18px;flex:none}
.pg141-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 11px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-text);font:500 12px Outfit,system-ui;text-decoration:none;cursor:pointer;min-width:0}
.pg141-button:hover{background:var(--ui-panel3);color:#2563eb}
.pg141-button span{min-width:0;overflow:hidden;text-overflow:ellipsis}
html body :is(.pg141-sheet,.pg141-letter-design-sheet){position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;width:min(540px,calc(100vw - 24px))!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box;padding:0!important;border:1px solid var(--ui-line)!important;border-radius:16px!important;background:var(--ui-panel)!important;color:var(--ui-text)!important;overflow:auto!important;box-shadow:0 24px 80px #06132740}
.pg141-sheet::backdrop{background:#07162f88;backdrop-filter:blur(4px)}
.pg141-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--ui-line);background:var(--ui-panel)}
.pg141-sheet>header h2{font-size:18px;color:var(--ui-text);margin:0}
.pg141-sheet>header button{font-size:24px;width:36px;min-width:36px;padding:3px}
.pg141-sheet-content{padding:18px;display:flex;flex-direction:column;gap:8px;min-width:0}
html body .pg141-design-sheet #designToolsPanel{padding:0!important;margin:0!important;border:0!important}
.pg141-quick-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-panel)}
.pg141-quick-colors button{display:flex;gap:6px;justify-content:flex-start;padding:8px;font-size:10px;min-height:42px;background:var(--ui-panel2);border:0}
.pg141-quick-colors button .pg141-icon{display:none}
.pg141-quick-colors button i{display:block;width:15px;height:15px;border:2px solid var(--ui-panel);outline:1px solid var(--ui-line);border-radius:50%;flex:none}
.pg141-quick-colors button span{white-space:normal;text-align:start;line-height:1.3}
/* Preview tabs and live, rather than illustrative, readiness values. */
html[data-pg139] body.pg139-cv.pg141-cv .pg141-preview-top{display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap;background:var(--ui-panel);border-bottom:1px solid var(--ui-line);box-sizing:border-box;padding:10px 12px;min-height:62px}
.pg141-preview-actions{display:flex;gap:4px;min-width:0;flex:none}
.pg141-preview-actions button{min-height:36px;padding:7px 9px;border-radius:7px;font-size:11px}
.pg141-preview-actions button:first-child{background:var(--ui-panel3);color:#2563eb;border-color:transparent}
html[data-pg139] body.pg139-cv.pg141-cv .pg141-preview-top .pg25-readiness{display:flex!important;flex-wrap:nowrap!important;min-width:0!important;gap:6px!important;margin-inline-start:auto!important;flex:1 1 auto;justify-content:flex-end}
html[data-pg139] body.pg139-cv.pg141-cv .pg25-readiness button{display:grid!important;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:7px;min-width:0!important;max-width:190px;padding:5px 8px!important;border:1px solid var(--ui-line)!important;border-radius:10px!important;background:var(--ui-panel)!important;font-size:0!important;box-shadow:none!important;line-height:1.2}
html[data-pg139] body.pg139-cv.pg141-cv .pg25-readiness button:before{content:attr(data-pg141-label);font-size:10px;line-height:1.3;text-align:start;overflow:hidden;text-overflow:ellipsis;max-width:110px;white-space:nowrap;color:var(--ui-text)}
html[data-pg139] body.pg139-cv.pg141-cv .pg25-readiness button:after{content:attr(data-pg141-score);display:grid;place-items:center;width:34px;height:34px;box-sizing:border-box;border-radius:50%;font-size:13px;font-weight:700;color:var(--ui-text);border:3px solid transparent;background:linear-gradient(var(--ui-panel),var(--ui-panel)) padding-box,conic-gradient(#21c575 var(--pg141-score),var(--ui-line) 0) border-box}
html[data-pg139] body.pg141-cv .pg141-preview-top>span{display:none}
.pg141-template-strip{display:none}
.pg141-extra-nav{display:grid;gap:4px}
.pg141-extra-nav .pg141-button{justify-content:flex-start;border:0;font-size:12px;padding:11px 10px;color:var(--ui-muted)}
/* Header: matching controls for both editors, existing theme switch retained. */
html[data-pg139] body.pg141-cv .editor-toolbar .toolbar-left{margin-inline-end:0!important;flex:0 0 auto!important;min-width:0}
html[data-pg139] body.pg141-cv .editor-toolbar .toolbar-divider{display:none!important}
html[data-pg139] body.pg141-cv .editor-toolbar #pgCurrentCVName{display:none!important}
html[data-pg139] body.pg141-cv .editor-toolbar .pg128-tabs{border:0!important;padding:0!important;margin:0!important;min-width:0;flex:0 1 auto;gap:3px!important;order:0;background:transparent!important}
html[data-pg139] body.pg141-cv .editor-toolbar .pg128-tabs>button{padding:7px 9px!important;font-size:11px!important;min-height:36px!important;flex:none}
html[data-pg139] body.pg141-cv .editor-toolbar .pg128-tabs .pg128-undo{margin-inline-start:2px}
html[data-pg139] body.pg141-cv .editor-toolbar .pg128-tabs #pg98-undo-bar button{width:30px!important;height:32px!important}
html[data-pg139] body.pg141-cv .editor-toolbar .pg141-dashboard,html[data-pg139] body.pg141-cv .editor-toolbar .pg141-header-templates{order:2;white-space:nowrap}
.pg141-cover-header-tabs{display:flex;align-items:center;gap:4px;min-width:0}
.pg141-cover-header-tabs button{border:0!important;font-size:11px!important}
html[data-pg139] body.pg141-letter>.topbar{flex-wrap:nowrap!important;gap:10px!important;min-height:64px!important}
html[data-pg139] body.pg141-letter>.topbar .brand-sub{display:none!important}
html[data-pg139] body.pg141-letter>.topbar .toolbar-tools{display:none!important}
html[data-pg139] body.pg141-letter>.topbar .actions{margin-inline-start:auto;min-width:0;gap:5px}
html[data-pg139] body.pg141-letter>.topbar .actions .pg141-dashboard{white-space:nowrap}
/* Cover-letter workspace: compact rail, editable content, paper, actual designs. */
.pg141-letter-designs{padding:18px 14px;overflow:auto;min-width:0;min-height:0;background:var(--ui-panel);border-inline-start:1px solid var(--ui-line);box-sizing:border-box}
.pg141-letter-designs h2{font-size:14px;color:var(--ui-text);margin:0 0 14px}
.pg141-letter-designs h3{font-size:12px;color:var(--ui-text);margin:20px 0 12px}
.pg141-letter-templates{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pg141-letter-templates button{display:flex;flex-direction:column;gap:7px;min-width:0;padding:6px;border:1px solid var(--ui-line);background:var(--ui-panel);border-radius:8px;font-size:10px;overflow:hidden}
.pg141-letter-templates button[aria-pressed=true]{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb;color:#2563eb}
.pg141-letter-templates button>.pg141-icon{display:none}
.pg141-letter-art{position:relative;display:flex;flex-direction:column;gap:7px;width:100%;height:115px;padding:16px 10px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:3px;box-sizing:border-box}
.pg141-letter-art i{height:3px;width:100%;background:#cbd5e1}
.pg141-letter-art i:first-child{height:6px;width:65%;background:#2563eb;margin-bottom:9px}
.pg141-letter-art i:last-child{width:50%}
.pg141-letter-art.modern{border-top:4px solid #2563eb}
.pg141-letter-art.classic i:first-child{background:#17233d;align-self:center}
.pg141-letter-art.minimal{border:0;border-top:2px solid #64748b}
.pg141-letter-actions{display:grid;gap:8px;margin-top:22px}
.pg141-letter-actions button{width:100%;justify-content:center}
.pg141-letter-actions button:nth-last-child(2){background:#2563eb;color:#fff;border-color:#2563eb}
.pg141-letter-designs .toolbar-control{border:0;background:transparent;color:var(--ui-text);padding:6px 0;max-width:100%;min-width:0}
.pg141-letter-designs #swatches{display:flex;flex-wrap:wrap;gap:8px;padding:3px}
.pg141-letter-designs #swatches button{width:22px;height:22px;min-width:22px;border:2px solid var(--ui-panel)}
.pg141-letter-designs .toolbar-control label{display:none}
.pg141-letter-designs #template{width:100%;font-size:13px;background:var(--ui-panel2);border-color:var(--ui-line);color:var(--ui-text)}
html[data-pg139] body.pg141-letter .pg141-letter-preview-toolbar{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;flex-wrap:wrap}
html[data-pg139] body.pg141-letter .pg141-letter-preview-toolbar .pg126-preview-heading{order:0!important;flex:1;min-width:65px}
html[data-pg139] body.pg141-letter .pg141-letter-preview-toolbar .pg126-preview-tools{flex:0 1 auto;min-width:0;width:auto;overflow-x:auto}
html[data-pg139] body.pg141-letter .pg141-letter-preview-toolbar .pg-preview-zoom{padding:0!important;border:0!important;min-height:32px!important;background:transparent!important;gap:5px!important;flex:0 1 auto}
html[data-pg139] body.pg141-letter .pg141-letter-preview-toolbar .pg-preview-zoom input{min-width:30px;max-width:65px}
html[data-pg139] body.pg141-letter .pg141-letter-preview-toolbar .pg-preview-zoom label{display:none}
html[data-pg139] body.pg141-letter .pg141-letter-preview-toolbar .pg-preview-zoom button{font-size:10px;padding:6px 8px}
@media(min-width:901px){
 html[data-pg139] body.pg141-cv .editor-body{grid-template-columns:clamp(170px,12vw,215px) clamp(430px,35vw,620px) minmax(0,1fr)!important}
 html[data-pg139] body.pg141-cv .editor-toolbar{gap:8px!important;padding-inline:12px!important}
 html[data-pg139] body.pg141-cv .editor-toolbar .toolbar-logo{width:155px!important;font-size:18px!important}
 html[data-pg139] body.pg141-cv .pg-workflow-nav{background:var(--ui-panel)!important;border-radius:0!important;box-shadow:none!important}
 html[data-pg139] body.pg141-cv .pg-workflow-heading{padding:12px 20px!important}
 html[data-pg139] body.pg141-cv #pgStepHelp{font-size:11px}
 html[data-pg139] body.pg141-cv .pg-workflow-content{padding:10px 20px 20px!important}
 html[data-pg139] body.pg141-cv #previewArea{padding:0 14px 20px!important;min-width:0!important;background:var(--ui-bg)!important}
 html[data-pg139] body.pg141-cv .pg141-preview-top{margin:0 -14px 12px}
 html[data-pg139] body.pg141-letter .layout{grid-template-columns:90px clamp(340px,26vw,430px) minmax(0,1fr) clamp(200px,17vw,270px)!important;gap:0!important}
 html[data-pg139] body.pg141-letter .pg139-letter-rail{padding:16px 8px!important;gap:7px}
 html[data-pg139] body.pg141-letter .pg139-letter-rail .pg139-rail-label,html[data-pg139] body.pg141-letter .pg139-letter-rail .pg141-letter-detail-link{display:none!important}
 html[data-pg139] body.pg141-letter .pg139-letter-rail :is(button,a){flex-direction:column;text-align:center;justify-content:center;gap:7px;min-height:62px;padding:8px 2px!important;font-size:10px!important;line-height:1.3}
 html[data-pg139] body.pg141-letter .pg139-letter-rail :is(button,a) svg{width:20px;height:20px}
 html[data-pg139] body.pg141-letter .form-panel>.panel-head{padding:18px!important}
 html[data-pg139] body.pg141-letter .form{padding-inline:14px!important}
 html[data-pg139] body.pg141-letter .pg139-letter-group{padding:13px}
 html[data-pg139] body.pg141-letter .pg139-letter-fields{grid-template-columns:minmax(0,1fr)!important}
 html[data-pg139] body.pg141-letter .pg139-letter-fields .field.full{grid-column:auto}
 html[data-pg139] body.pg141-letter .preview-wrap{padding:16px!important}
}
@media(min-width:1450px){
 html[data-pg139] body.pg141-cv #previewArea{padding-inline-end:120px!important}
 html[data-pg139] body.pg141-cv .pg141-preview-top{margin-inline-end:-120px!important}
 .pg141-template-strip{position:absolute;inset:76px 10px 12px auto;width:96px;display:flex;flex-direction:column;gap:16px;overflow-y:auto;align-items:stretch;padding:7px;background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:10px;box-sizing:border-box}
 .pg141-mini-template{display:block;background:transparent;border:0;padding:0;text-align:center;font:10px Outfit,system-ui;color:var(--ui-muted);cursor:pointer}
 .pg141-mini-template>.template-option-preview{position:relative!important;width:78px!important;height:112px!important;min-height:0!important;max-height:112px!important;padding:0!important;overflow:hidden!important;border:1px solid var(--ui-line);border-radius:5px;background:#fff;pointer-events:none}
 .pg141-mini-template>.template-option-preview>div{width:794px!important;height:1123px!important;transform:scale(.097)!important;transform-origin:top left!important;margin:0!important;position:absolute!important;left:0;top:0}
 .pg141-mini-template>span{display:block;margin-top:6px}
 .pg141-mini-template[aria-pressed=true]>.template-option-preview{outline:2px solid #2563eb;outline-offset:2px}
 .pg141-template-strip>.pg141-button{font-size:9px;padding:5px 1px;gap:3px}
}
@media(min-width:901px) and (max-width:1449px){.pg141-preview-actions button:not(:first-child)>span{display:none}.pg141-preview-actions button{padding:6px}.pg141-preview-actions button:first-child>.pg141-icon{display:none}html[data-pg139] body.pg141-cv .editor-body{grid-template-columns:165px clamp(390px,33vw,500px) minmax(0,1fr)!important}html[data-pg139] body.pg141-cv .editor-toolbar .pg141-dashboard span,html[data-pg139] body.pg141-cv .editor-toolbar .pg141-header-templates span{display:none}.pg141-cover-header-tabs button span{display:none}}
@media(min-width:901px) and (max-width:1100px){html[data-pg139] body.pg141-letter .layout{grid-template-columns:78px minmax(330px,40vw) minmax(0,1fr)!important}html[data-pg139] body.pg141-cv .editor-body{grid-template-columns:150px minmax(365px,40vw) minmax(0,1fr)!important}html[data-pg139] body.pg141-letter>.topbar .pg141-dashboard span{display:none}html[data-pg139] body.pg141-cv .pg141-preview-actions>button:first-child{display:none}html[data-pg139] body.pg141-cv .pg141-preview-top .pg25-readiness button:before{max-width:65px}}
@media(max-width:900px){
 html[data-pg139] body.pg141-cv .pg139-design-dock{margin-bottom:12px}
 .pg141-quick-colors{padding:7px;gap:5px}
 html[data-pg139] body.pg141-cv .pg141-preview-top{flex-wrap:wrap;margin:0 0 12px;padding:8px}
 html[data-pg139] body.pg141-cv .pg141-preview-top .pg25-readiness{flex:1 0 100%;width:100%!important;justify-content:stretch!important}
 html[data-pg139] body.pg141-cv .pg141-preview-top .pg25-readiness button{flex:1!important;max-width:none!important}
 html[data-pg139] body.pg141-cv .pg141-preview-top .pg25-readiness button:before{max-width:none!important}
 html[data-pg139] body.pg141-cv .editor-toolbar .pg141-dashboard,html[data-pg139] body.pg141-cv .editor-toolbar .pg141-header-templates{display:none!important}
 .pg141-cover-header-tabs{display:none!important}
 html[data-pg139] body.pg141-letter>.topbar .pg141-dashboard{display:none!important}
 html[data-pg139] body.pg141-letter .layout{display:flex!important}
 html body .pg141-letter-design-sheet .pg141-letter-designs{border:0;padding:0;background:var(--ui-panel);overflow:visible}
 .pg141-sheet-content .pg141-letter-designs .pg141-letter-art{height:140px}
 .pg141-sheet-content .pg141-letter-designs .toolbar-control select{font-size:16px!important}
 .pg141-letter-preview-toolbar .pg126-preview-tools select{font-size:16px!important}
}
}
@media print{.pg141-template-strip,.pg141-preview-actions,.pg141-quick-colors,.pg141-letter-designs,.pg141-cover-header-tabs,.pg141-sheet{display:none!important}}
@media screen{html[data-pg139] body.pg139-cv.pg141-cv .pg25-readiness button{display:flex!important;position:relative!important;min-height:46px!important;height:46px!important;max-height:none!important;padding:7px 50px 7px 9px!important;overflow:visible!important}html[data-pg139] body.pg139-cv.pg141-cv .pg25-readiness button:before{display:block;min-width:0;max-width:110px}html[data-pg139] body.pg139-cv.pg141-cv .pg25-readiness button:after{opacity:1!important;position:absolute;inset-inline-start:auto!important;inset-inline-end:8px!important;top:50%;transform:translateY(-50%)}html[data-pg139] body.pg141-letter .topbar .brand-wordmark{display:inline!important;color:var(--ui-text)!important;font-size:19px;font-weight:700;margin-inline-start:6px}html[data-pg139] body.pg141-letter .topbar .brand-logo{width:30px!important;height:30px!important;max-width:30px!important;margin:0!important}}
@media screen and (min-width:901px) and (max-width:1200px){html[data-pg139] body.pg141-cv .editor-toolbar .pg128-tabs>button span{display:none!important}html[data-pg139] body.pg141-cv .editor-toolbar .pg128-tabs>button{width:34px!important;padding:7px!important}}
@media screen{.pg141-section-heading{display:flex;align-items:center;gap:8px}.pg141-section-heading:before{content:'';display:block;width:22px;height:22px;background:#2563eb;mask:var(--pg141-icon-mask) center/contain no-repeat;-webkit-mask:var(--pg141-icon-mask) center/contain no-repeat;flex:none}}
