/* Desktop CV formatting row. All native controls, handlers and mobile sheets remain. */
@media(min-width:901px){
html[data-pg139] body.pg306-cv #pg308-formatbar{display:flex!important;flex:0 0 auto!important;align-items:center!important;align-self:stretch!important;flex-wrap:wrap!important;gap:8px!important;height:auto!important;min-height:56px!important;box-sizing:border-box!important;margin:0!important;padding:8px 12px!important;border:1px solid var(--ui-line)!important;border-radius:18px!important;background:var(--ui-panel)!important;overflow:visible!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel{display:block!important;position:static!important;flex:1 1 440px!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel summary{display:none!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel #designTools{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel .pg-quick-row{display:block!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;gap:0!important;border:0!important;background:none!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel .pg130-inline{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;overflow:visible!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel :is(.pg128-type-row,.pg128-colors){display:contents!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel :is(.pg128-family,.pg-quick-size){display:contents!important;font-size:0!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel #fontSelector{width:110px!important;min-width:110px!important;max-width:110px!important;height:38px!important;min-height:38px!important;flex:none!important;padding:7px 20px 7px 9px!important;border:1px solid var(--ui-line)!important;border-radius:9px!important;background:var(--ui-panel)!important;color:var(--ui-text)!important;font-size:12px!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel #designSize{width:54px!important;min-width:54px!important;max-width:54px!important;height:38px!important;min-height:38px!important;flex:none!important;padding:7px!important;border:1px solid var(--ui-line)!important;border-radius:9px!important;font-size:12px!important;background:var(--ui-panel)!important;color:var(--ui-text)!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel .pg-quick-color{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;position:relative!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:3px!important;border:0!important;background:none!important;font-size:0!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel .pg-quick-color svg{display:block!important;width:19px!important;height:19px!important;min-height:19px!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel .pg-quick-ink{position:static!important;display:block!important;width:7px!important;height:7px!important;min-height:7px!important;flex:none!important;border-radius:50%!important;background:var(--ink-color)!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel .pg-quick-color input[type=color]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;opacity:0!important;cursor:pointer}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel :is(.pg128-color-label,.pg-quick-palette,.design-help,.design-heading){display:none!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel #designReset{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:38px!important;min-height:38px!important;padding:6px!important;margin:0!important;border:0!important;background:none!important;color:var(--ui-muted)!important;font-size:0!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel #designApply{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex:0 0 auto!important;width:auto!important;min-width:82px!important;height:38px!important;min-height:38px!important;padding:8px 12px!important;margin:0!important;border:0!important;border-radius:11px!important;background:#5354ff!important;color:#fff!important;font-size:12px!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #designToolsPanel #designApply span{display:inline!important;font-size:12px!important}
html[data-pg139] body.pg306-cv #pg308-formatbar :is(#designApply,#designReset) svg{width:19px!important;height:19px!important;flex:none!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg128-tabs{display:flex!important;flex-wrap:wrap!important;position:static!important;inset:auto!important;transform:none!important;align-items:center!important;flex:1 1 220px!important;gap:4px!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:40px!important;margin:0!important;padding:0 0 0 10px!important;border:0!important;border-inline-start:1px solid var(--ui-line)!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg128-tabs>button{display:inline-flex!important;align-items:center!important;gap:6px!important;flex:none!important;height:36px!important;min-height:36px!important;padding:8px 11px!important;border:0!important;border-radius:11px!important;background:none!important;color:var(--ui-muted)!important;font-size:12px!important;white-space:nowrap!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg128-tabs>button[aria-pressed=true]{background:color-mix(in srgb,#5354ff 10%,var(--ui-panel))!important;color:#5354ff!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg128-tabs svg{width:18px!important;height:18px!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg128-undo,html[data-pg139] body.pg306-cv #pg308-formatbar #pg98-undo-bar{display:flex!important;align-items:center!important;flex:none!important;height:38px!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #pg98-undo-bar button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px!important;min-width:28px!important;height:34px!important;min-height:34px!important;padding:5px!important;border:0!important;background:none!important;font-size:0!important}
html[data-pg139] body.pg306-cv #pg308-formatbar #pg98-undo-bar svg{width:18px!important;height:18px!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg25-readiness{display:flex!important;flex-wrap:wrap!important;align-items:center!important;flex:0 1 auto!important;max-width:100%!important;gap:8px!important;width:auto!important;margin:0 0 0 auto!important;padding:0!important;border:0!important;background:none!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg25-readiness button{display:inline-flex!important;align-items:center!important;gap:9px!important;min-width:0!important;max-width:100%!important;min-height:36px!important;height:auto!important;padding:4px 9px!important;border:1px solid var(--ui-line)!important;border-radius:24px!important;background:var(--ui-panel)!important;font-size:0!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg25-readiness button:before{content:attr(data-pg141-label)!important;font-size:11px!important;line-height:1.3!important;white-space:normal!important;max-width:100%!important;color:var(--ui-text)!important}
html[data-pg139] body.pg306-cv #pg308-formatbar .pg25-readiness button:after{content:attr(data-pg141-score)!important;width:26px!important;height:26px!important;font-size:11px!important;flex:none!important}
}
@media(max-width:900px){html[data-pg139] body.pg306-cv #pg308-formatbar{display:none!important}}
@media print{#pg308-formatbar{display:none!important}}

@media(min-width:901px){
html[data-pg139] body.pg306-cv #previewArea .pg141-preview-top.pg310-preview-host{display:block!important;width:100%!important;margin:0 0 10px!important;padding:0!important;min-height:0!important;height:auto!important;border:0!important;border-radius:0!important;background:none!important}
html[data-pg139] body.pg306-cv #previewArea .pg310-preview-host>.pg236-preview-meta{display:none!important}
html[data-pg139] body.pg306-cv #previewArea .pg310-preview-host>.pg143-preview-controls:empty{display:none!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar{width:100%!important;max-width:100%!important;margin:0!important;flex:none!important}
}

/* v314: scores occupy normal flex space, rather than overlaying labels. */
@media(min-width:901px){
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar .pg25-readiness{display:flex!important;flex-wrap:wrap!important;flex:0 0 auto!important;gap:8px!important;min-width:0!important;max-width:100%!important;margin-inline-start:auto!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar .pg25-readiness button{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;position:static!important;flex:0 0 auto!important;width:auto!important;min-width:120px!important;max-width:100%!important;height:38px!important;min-height:38px!important;gap:10px!important;padding:5px 8px 5px 12px!important;background:var(--ui-panel)!important;background-image:none!important;border:1px solid var(--ui-line)!important;border-radius:22px!important;box-sizing:border-box!important;font-size:0!important;overflow:hidden!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar .pg25-readiness button>*{display:none!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar .pg25-readiness button:before{content:attr(data-pg141-label)!important;position:static!important;inset:auto!important;display:block!important;flex:0 1 auto!important;width:auto!important;max-width:none!important;height:auto!important;min-width:0!important;margin:0!important;padding:0!important;background:none!important;border:0!important;transform:none!important;overflow:visible!important;text-overflow:clip!important;font-size:12px!important;line-height:1.3!important;white-space:normal!important;color:var(--ui-text)!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar .pg25-readiness button:after{content:attr(data-pg141-score)!important;position:static!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 27px!important;width:27px!important;min-width:27px!important;height:27px!important;box-sizing:border-box!important;margin:0!important;padding:0!important;transform:none!important;border:0!important;border-radius:50%!important;background:#ddf8ec!important;color:#117653!important;font-size:12px!important;line-height:1!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar .pg25-readiness button:nth-child(2):after{background:#e9e5ff!important;color:#5142c6!important}
}
