#emptyPvHint{position:absolute;inset:0;z-index:5;display:none;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:24px;pointer-events:none;background:rgba(255,255,255,.72);border-radius:inherit}
#emptyPvHint b{font:500 18px "Google Sans",Roboto,Arial,sans-serif;color:#202124}
#emptyPvHint span{font:400 14px "Google Sans",Roboto,Arial,sans-serif;color:#5F6368}
/* Tools live only in the top-bar Tools menu; remove the duplicate list under CV sections */
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6) #colDesign #daTools,html body #daTools{display:none!important}
/* Mobile Preview tab: same Download bar as in the editor (Download only) */


/* Desktop: Prev / Next pinned at the bottom of the CV data card (no extra bar over the preview) */
#daPvNav{display:none!important}
@media (min-width:901px){
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6) #colEdit#colEdit .col-card{display:flex!important;flex-direction:column!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6) #colEdit#colEdit #cvForm#cvForm{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-height:0}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6) #colEdit#colEdit #cvForm#cvForm>*{flex:0 0 auto!important;min-height:auto!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6) #colEdit#colEdit #cvForm#cvForm #daFoot{margin-top:auto!important;position:sticky;bottom:0;background:#fff;padding-top:10px;padding-bottom:6px;border-top:1px solid #F1F3F4}
}
/* Header: the primary nav must not shrink into the utility group (Cover letter / Design Studio overlap) */
@media (min-width:901px){
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerPrimaryNav{flex:0 0 auto!important;min-width:max-content!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup{margin-left:8px!important}
}
@media (min-width:901px) and (max-width:1440px){
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerPrimaryNav a{padding-left:8px!important;padding-right:8px!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup{gap:3px!important}
}
@media (min-width:901px) and (max-width:1180px){
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerPrimaryNav{gap:2px!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerPrimaryNav a{padding-left:6px!important;padding-right:6px!important;font-size:12.5px!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup>button,html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup .da-btn,html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup .da-hist button{padding-left:6px!important;padding-right:6px!important;font-size:12px!important}
}
@media (min-width:901px) and (max-width:1050px){
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader {gap:5px!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerPrimaryNav a{padding-left:4px!important;padding-right:4px!important;font-size:12px!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup{gap:2px!important;margin-left:4px!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup>button,html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup .da-btn,html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup .da-hist button{padding-left:4px!important;padding-right:4px!important;font-size:11.5px!important}
}

/* Hidden-in-Studio notice */
.da-hid-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;padding:10px 12px;border:1px solid #F9AB00;background:#FEF7E0;color:#3C4043;border-radius:10px;font-size:13px;line-height:1.4}
.da-hid-note button{border:1px solid #1A73E8;background:#1A73E8;color:#fff;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:600;cursor:pointer}

/* Mobile: toast must sit above the bottom bars; no duplicate download buttons in cover live preview */
@media (max-width:900px){
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7):not(#a8):not(#a9):not(#a10) #appToast{top:76px!important;bottom:auto!important;z-index:2147483000!important;transform:translateX(-50%) translateY(-12px)!important;max-width:90vw;text-align:center}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7):not(#a8):not(#a9):not(#a10) #appToast.show{transform:translateX(-50%) translateY(0)!important}
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7):not(#a8):not(#a9) #coverBuilder#coverBuilder .da-lp button[data-t="clWordBtn"],
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7):not(#a8):not(#a9) #coverBuilder#coverBuilder .da-lp button[data-t="clPngBtn"],
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7):not(#a8):not(#a9) #coverBuilder#coverBuilder .da-lp button[data-t="clJpgBtn"]{display:none!important}
}

/* Photo field while empty: noticeable but calm */
@media (min-width:901px){
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty{background:#f6f9fe!important;border:1px dashed #8ab4f8!important;border-radius:12px!important;padding:10px 12px!important;box-shadow:none!important}
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty .da-pdot{box-shadow:none!important}
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty .da-pbtn{background:#fff!important;border:1px solid #1a73e8!important;color:#1967d2!important;font-weight:600!important;box-shadow:none!important}
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty .da-pbtn::before{content:"\1F4F7  "}
}
@media (max-width:900px){
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty .field-title{color:#1967d2!important;font-weight:700!important}
}
@media (max-width:900px){
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty::before{content:"\1F4F7  Add a profile photo (optional)";display:block;width:100%;flex:0 0 100%;font-weight:700;font-size:14px;color:#1967d2;margin:0 0 8px}
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty{flex-wrap:wrap!important;border-color:#1a73e8!important;background:#e8f0fe!important}
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty #photo{background:#fff!important;border-color:#1a73e8!important}
html:root body.shell[class][class] #cvForm label.photo-field.ph-empty #photo::file-selector-button{background:#1a73e8!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:9px 16px!important;font-weight:700!important;margin-right:10px!important;cursor:pointer}
}

/* Desktop: the section rail must never clip its last buttons (narrow desktop windows hid "Custom section" and "+ Add custom section") */
@media (min-width:901px){
html:root body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7):not(#a8):not(#a9):not(#a10) #desktopSections .v54-section-rail{overflow:visible!important;height:auto!important;max-height:none!important}
}

/* v623: Educational 02 (timeline layout) has a light header, but the "navy" colour style made its name and job title white, so they were invisible */
html body .cv.layout-timeline .cv-top h1,html body .cv.layout-timeline .cv-top #pName{color:#17324f!important}
html body .cv.layout-timeline .cv-top p,html body .cv.layout-timeline .cv-top #pTitle,html body .cv.layout-timeline .cv-top .contact,html body .cv.layout-timeline .cv-top .contact *{color:#4a5d73!important}

/* v639: non-English labels are longer: keep the whole header on screen on laptop widths */
@media (min-width:1000px) and (max-width:1500px){
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup{gap:4px!important;min-width:0!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup>button,html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerPrimaryNav>button{padding-left:8px!important;padding-right:8px!important;font-size:12px!important;letter-spacing:0!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerPrimaryNav{margin-left:8px!important;gap:4px!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #v200ImportBtn .v200-t,html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #v117Downloads .v251-download-caption{display:none!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #v200ImportBtn,html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #v117Downloads{min-width:0!important;width:auto!important;padding-left:10px!important;padding-right:10px!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader .da-hist .da-btn{font-size:0!important;padding-left:10px!important;padding-right:10px!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader .da-hist .da-btn::first-letter{font-size:16px!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader .brand.da-brand{font-size:15px!important}
}
@media (min-width:1000px) and (max-width:1180px){
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerUtilityGroup>button,html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader #headerPrimaryNav>button{font-size:11px!important;padding-left:6px!important;padding-right:6px!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) #appHeader .brand.da-brand{font-size:0!important;min-width:0!important;width:30px!important}
}

@media (min-width:1000px) and (max-width:1500px){
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7) #appHeader #headerUtilityGroup #v200ImportBtn span.v200-t,
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7) #appHeader #headerUtilityGroup #v117Downloads span.v251-download-caption{display:none!important}
}

@media (min-width:1000px) and (max-width:1500px){
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7) #appHeader #headerUtilityGroup #v200ImportBtn span.v200-t{font-size:0!important;width:0!important;max-width:0!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
 html:root[lang]:not([lang="en"]) body.shell[class][class]:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7) #appHeader #headerUtilityGroup #v200ImportBtn{width:44px!important;max-width:44px!important;min-width:0!important;overflow:hidden!important}
}

/* v640 Arabic/RTL CV templates: keep the template's page structure (sidebar columns, background panels, accent bars)
   exactly as designed, and set the text direction to RTL inside each block. */
.cv[dir="rtl"]{direction:ltr !important}
.cv[dir="rtl"]>*{direction:rtl !important}
