/* Stable two-row desktop CV toolbar. Native controls/actions remain mounted. */
@media(min-width:901px){
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"design design" "tabs scores"!important;gap:10px!important;width:auto!important;height:auto!important;min-height:0!important;margin:8px 12px!important;padding:12px!important;border:1px solid var(--ui-line)!important;border-radius:18px!important;background:var(--ui-panel)!important;box-shadow:0 6px 24px #1b315908!important;overflow:visible!important;align-items:center!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel{grid-area:design!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg130-inline{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;padding:3px!important;margin:0!important;background:var(--ui-panel2)!important;border:1px solid var(--ui-line)!important;border-radius:12px!important;overflow:visible!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel #fontSelector{width:clamp(84px,18cqw,180px)!important;min-width:84px!important;max-width:180px!important;height:36px!important;min-height:36px!important;border:1px solid var(--ui-line)!important;border-radius:8px!important;background:var(--ui-panel)!important;font-size:12px!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel #designSize{width:44px!important;min-width:44px!important;max-width:44px!important;height:36px!important;min-height:36px!important;padding:5px!important;border-radius:8px!important;font-size:12px!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg-quick-color{width:30px!important;min-width:30px!important;max-width:30px!important;flex:0 0 30px!important;height:34px!important;min-height:34px!important;border-radius:8px!important;background:var(--ui-panel)!important;border:1px solid var(--ui-line)!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg128-undo{gap:2px!important;min-width:0!important;margin:0!important;padding:0!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #pg98-undo-bar button{width:26px!important;min-width:26px!important;height:34px!important;min-height:34px!important;padding:4px!important;border-radius:7px!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel #designReset{width:28px!important;min-width:28px!important;height:34px!important;min-height:34px!important;padding:5px!important;border-radius:8px!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel #designApply{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex:none!important;margin-inline-start:auto!important;width:auto!important;min-width:72px!important;height:36px!important;min-height:36px!important;padding:7px 12px!important;border-radius:9px!important;background:linear-gradient(110deg,#1763ff,#6848ed)!important;color:#fff!important;font-size:12px!important;white-space:nowrap!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg128-tabs{grid-area:tabs!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:3px!important;min-width:0!important;width:auto!important;height:38px!important;min-height:38px!important;margin:0!important;padding:3px!important;border:0!important;border-radius:10px!important;background:var(--ui-panel2)!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg128-tabs>button{min-width:0!important;height:32px!important;min-height:32px!important;padding:6px 9px!important;font-size:11px!important;border-radius:8px!important;gap:5px!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg128-tabs>button[aria-pressed=true]{background:var(--ui-panel)!important;color:var(--ui-accent)!important;box-shadow:0 1px 5px #21385912!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness{grid-area:scores!important;display:flex!important;flex-wrap:nowrap!important;gap:6px!important;min-width:0!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;justify-content:flex-end!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness button{position:relative!important;display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;min-width:0!important;max-width:160px!important;height:34px!important;min-height:34px!important;padding:4px 6px 4px 9px!important;border-radius:10px!important;background:var(--ui-panel)!important;font-size:0!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness button:before{font-size:10px!important;max-width:95px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness button:after{position:static!important;inset:auto!important;transform:none!important;display:grid!important;place-items:center!important;width:24px!important;height:24px!important;min-width:24px!important;font-size:10px!important;flex:none!important;border-width:2px!important}
@container pg327-preview (max-width:620px){html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg128-tabs>button>span{display:none!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg128-tabs>button{width:32px!important;padding:6px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness button:before{max-width:65px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness button{padding-inline-start:6px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg130-inline{gap:3px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel #designApply{min-width:36px!important;padding:6px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designApply>span{display:none!important}}
@container pg327-preview (max-width:400px){html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar{padding:8px!important;margin-inline:8px!important;gap:8px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel #fontSelector{width:78px!important;min-width:78px!important;font-size:11px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg-quick-color{width:26px!important;min-width:26px!important;max-width:26px!important;flex-basis:26px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #pg98-undo-bar button{width:23px!important;min-width:23px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness{gap:3px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness button:before{max-width:46px!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar .pg25-readiness button{gap:3px!important}}
}
@media print{#pg308-formatbar{display:none!important}}
@media(min-width:901px){html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg346-history{display:none!important;position:relative;flex:none;min-width:30px}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar.pg346-compact #designToolsPanel .pg346-history{display:block!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg346-history>summary{display:grid!important;place-items:center;list-style:none;width:30px;height:34px;padding:5px!important;border:1px solid var(--ui-line)!important;border-radius:8px;background:var(--ui-panel)!important;cursor:pointer}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg346-history>summary::-webkit-details-marker{display:none}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg346-history svg{width:18px;height:18px}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg346-history-panel{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:40;display:flex;align-items:center;gap:8px;width:max-content;padding:10px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);color:var(--ui-text);box-shadow:0 10px 35px #10284725}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg346-history:not([open])>.pg346-history-panel{display:none!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg346-history-panel #designReset{margin:0!important;background:var(--ui-panel2)!important}html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar #designToolsPanel .pg346-history>summary:focus-visible{outline:3px solid #8eb0ff;outline-offset:2px}}
@media(min-width:901px){html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar,html[data-pg139] body.pg306-cv #previewArea #pg308-formatbar#pg308-formatbar *{box-sizing:border-box}}
@media(max-width:900px){#designToolsPanel .pg346-history{display:none!important}}
