/* Phone refinements based on the actual premium-test feedback. */
body.v40-builder .workspace-20261011 :is(.v26-blank-button,.sample-alert-actions,.help-anchor,.v26-context-guide){display:none!important}
.premium-guide-launch{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px!important;font-size:14px!important}
.premium-guide-launch svg{width:18px!important;height:18px!important;flex:0 0 18px}
body.v40-builder .workspace-20261011 .preview-actions>button{height:auto!important;min-height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;line-height:1.65!important;white-space:normal!important;text-align:center!important}
body.v40-builder .workspace-20261011 .preview-actions>button>span{position:static!important;display:inline!important;line-height:inherit!important;font-size:inherit!important;min-width:0;overflow-wrap:anywhere}
body.v40-builder .workspace-20261011 .preview-actions>button>svg{width:20px!important;height:20px!important;flex:0 0 20px}
body.v40-builder .workspace-20261011 .preview-actions>[data-premium-image],body.v40-builder .workspace-20261011 .preview-actions>.dark-button{display:none!important}
body.v40-builder .workspace-20261011 .list-item-row{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;width:100%;gap:8px!important}
body.v40-builder .workspace-20261011 .list-item-fields{min-width:0!important;width:100%!important}
body.v40-builder .workspace-20261011 .list-item-fields input{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
body.v40-builder .workspace-20261011 .certificate-item-row{grid-template-columns:minmax(0,1fr) 44px 44px!important}
body.v40-builder .workspace-20261011 .list-item-reorder{display:flex!important;flex-direction:column;gap:6px!important}
body.v40-builder .workspace-20261011 .template-switcher{border:1px solid var(--ws-line)!important;background:var(--ws-surface)!important;color:var(--ws-ink)!important;border-radius:14px!important;padding:16px!important;margin:0 0 16px!important}
body.v40-builder .workspace-20261011 .template-switcher b{font-size:17px!important;color:var(--ws-ink)!important}
body.v40-builder .workspace-20261011 .template-switcher small{font-size:13px!important;line-height:1.8;color:var(--ws-muted)!important}
body.v40-builder .workspace-20261011 .template-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%!important}
body.v40-builder .workspace-20261011 .template-buttons button{min-width:0!important;min-height:44px!important;font-size:14px!important;line-height:1.6!important;white-space:normal!important;padding:10px!important}
body.v40-builder .workspace-20261011 .sample-data-alert{padding:12px!important;margin:0 0 16px!important;grid-template-columns:28px minmax(0,1fr)!important}
body.v40-builder .workspace-20261011 .sample-data-alert b{font-size:13px!important}
body.v40-builder .workspace-20261011 .sample-data-alert p{font-size:12px!important;line-height:1.8!important}
.premium-portfolio-link{display:inline-flex;padding:12px;color:var(--ws-accent);min-height:44px;text-decoration:underline}
html.v30-dark :is(.v27-guide-card,.v27-guide-intro,.v27-guide-footer){background:#1a263c!important;color:#edf2fa!important;border-color:#35425a!important}
html.v30-dark :is(.v27-guide-top,.v27-guide-scroll,.v27-guide-route article,.v27-guide-grid article){background:#101a2d!important;border-color:#35425a!important}
html.v30-dark :is(.v27-guide-intro h2,.v27-guide-route b,.v27-guide-grid b){color:#edf2fa!important}
html.v30-dark :is(.v27-guide-intro p,.v27-guide-route p,.v27-guide-grid p){color:#bbc6db!important}
html.v30-dark .v27-guide-brand img{background:#fff;border-radius:8px;padding:4px}
html.v30-dark .ma-cv-word{color:#15213a!important}
@media(max-width:767px){body.v40-builder .workspace-20261011 .editor{padding-inline:15px!important;width:100%!important;max-width:100%!important}body.v40-builder .workspace-setup-collapsed>.template-switcher{display:block!important}.premium-mobile-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}.premium-mobile-tools .premium-guide-launch{border:1px solid var(--ws-line)!important;background:var(--ws-surface)!important;border-radius:10px!important;padding:8px!important}.workspace-20261011 .preview-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.workspace-20261011 .preview-actions>.premium-download-launch,.workspace-20261011 .preview-actions>.premium-ats-open{grid-column:1/-1}.workspace-20261011 .preview-actions>button{width:100%!important}.workspace-20261011 .preview-actions>button>span{font-size:15px!important}body.v40-builder .workspace-20261011 .preview-toolbar{position:relative!important;top:auto!important}.workspace-20261011 .premium-readiness-card{display:none!important}}
@media(max-width:767px){body.v40-builder .workspace-20261011 .display-text-controls{display:grid!important;grid-template-columns:minmax(0,1fr) repeat(3,44px);gap:5px!important;padding:10px!important;min-height:64px}body.v40-builder .workspace-20261011 .display-text-controls>span{font-size:13px!important;min-width:0!important}body.v40-builder .workspace-20261011 .display-text-controls>button{padding:5px!important;min-width:0!important;min-height:40px!important;font-size:15px!important}body.v40-builder .workspace-20261011 .app-header .brand-mark>div{display:none!important}body.v40-builder .workspace-20261011 .app-header .logo-emblem{width:122px!important}body.v40-builder .workspace-20261011 .template-switcher{padding:12px!important}.premium-mobile-tools>.premium-ai-launch,.premium-mobile-tools>.premium-download-launch{display:none!important}.premium-mobile-tools{display:block!important}.premium-mobile-tools>.premium-guide-launch{width:100%!important}}
body.v40-builder .workspace-20261011 .preview-actions>.premium-download-launch{flex-direction:row!important;color:#fff!important}body.v40-builder .workspace-20261011 .preview-actions>.premium-download-launch>span{color:#fff!important}body.v40-builder .workspace-20261011 .preview-actions>.premium-download-launch>svg{color:#fff!important}body.v40-builder .workspace-20261011 .preview-actions>.premium-ats-open{flex-direction:row!important}body.v40-builder .workspace-20261011 .template-buttons button{font-family:MotazInterface,Arial,sans-serif!important}body.v40-builder .workspace-20261011 .template-buttons button.active{background:#3150d9!important;color:#fff!important;border-color:#3150d9!important}
