/* The document itself follows the new Bidiville art direction. */
.cv-document-pages{display:flex;flex-direction:column;gap:24px;width:100%;min-width:0}
.cv-document-page{margin:0;width:100%;background:#ffffff;box-shadow:0 14px 38px #30251f14;border:1px solid #e2d7c8}
.cv-document-page svg{display:block;width:100%;height:auto;aspect-ratio:794/1123;overflow:visible}
.cv-document-page svg text{font-style:normal;letter-spacing:normal;text-transform:none;user-select:text}
.cv-demo-switch{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 16px;background:#ffffff;border:1px solid #ddd1bf}
.cv-demo-switch button{border:0;border-bottom:1px solid #9e4e32;background:none;padding:5px 0;color:#623e2c;font:600 13px 'Hanken Grotesk',sans-serif;cursor:pointer;min-height:36px}
.cv-demo-switch small{font:12px/1.5 'Hanken Grotesk',sans-serif;color:#58473e;flex:1 1 160px}
.cv-pagination-note{font:12px/1.6 'Hanken Grotesk',sans-serif!important;color:#58473e!important;margin:0}
.atelier-preview{max-height:calc(100dvh - 106px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ba9d84 transparent;padding:3px 12px 24px 3px;scroll-padding-top:8px}
.atelier-editor .cv-field{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}
.atelier-editor .cv-field>span{font:500 12px/1.4 'Hanken Grotesk',sans-serif;color:#59483a;letter-spacing:0;text-transform:none}
.atelier-editor .cv-field input,.atelier-editor .cv-field textarea{width:100%;min-width:0;box-sizing:border-box}
.atelier-editor .cv-field-wide{grid-column:1/-1}
.atelier-editor input:focus-visible,.atelier-editor textarea:focus-visible,.atelier-editor select:focus-visible{outline:2px solid #9e4e32!important;outline-offset:2px!important;border-color:#9e4e32!important}
.atelier-editor button[aria-label^="Niveau"]{width:22px!important;height:28px!important;flex-shrink:0;border-radius:0;box-shadow:inset 0 -5px #fffefa}
.atelier-editor button[aria-label^="Niveau"][aria-pressed=true]{outline:1px solid #34261f;outline-offset:2px}
.atelier-template{min-width:0;padding:12px 5px!important;gap:10px!important;background:#ffffff!important}
.atelier-template[aria-pressed=true]{border-color:#9e4e32!important;box-shadow:inset 0 0 0 1px #9e4e32;background:#ffffff!important}
.atelier-template .template-mini{width:68px!important;height:88px!important;border:1px solid #ded2c4;position:relative;display:block;background:#ffffff!important;overflow:hidden}
.template-mini span{display:block;position:absolute!important}
.template-mini .mini-heading{top:8px;left:7px;right:8px;height:13px;background:linear-gradient(#483127 0 4px,transparent 4px 8px,#9e4e32 8px 10px,transparent 10px)!important}
.template-mini .mini-line{top:26px;left:7px;right:7px;height:1px;background:#d9ccbb}
.template-mini .mini-content{top:35px;left:7px;width:34px;height:40px;background:repeating-linear-gradient(#a89987 0 1px,transparent 1px 6px)}
.template-mini .mini-sidebar{top:35px;right:7px;width:13px;height:28px;background:repeating-linear-gradient(#9e4e32 0 2px,transparent 2px 8px)}
[data-template=bandeau] .template-mini{background:linear-gradient(#34261f 0 28px,#ffffff 28px)!important}
[data-template=bandeau] .mini-heading{background:linear-gradient(#ffffff 0 4px,transparent 4px 8px,#dbac8f 8px 10px,transparent 10px)!important}
[data-template=classique] .mini-content{width:53px}
[data-template=classique] .mini-sidebar{display:none}
.cv-status{position:fixed;bottom:20px;left:20px;right:20px;max-width:680px;z-index:120;background:#34261f;color:#fff6eb;padding:18px 24px;font:14px/1.5 'Hanken Grotesk',sans-serif;box-shadow:0 8px 30px #30251f40}
.atelier-editor button[disabled]{cursor:wait}
@media(max-width:1100px){.atelier-preview{max-height:none;overflow:visible;padding:0}.atelier-editor button[aria-label^="Niveau"]{width:18px!important;min-width:18px!important}}
@media(max-width:700px){.atelier-template .template-mini{width:57px!important;height:76px!important}.atelier-template>span:last-child{font-size:10px!important;letter-spacing:.03em!important}.atelier-editor button[aria-label^="Niveau"]{width:14px!important;min-width:14px!important}.cv-demo-switch{padding:12px}.cv-demo-switch small{flex-basis:100%}.cv-document-pages{gap:18px}.cv-status{bottom:12px;left:12px;right:12px;padding:14px 17px}}
@media(prefers-reduced-motion:reduce){.cv-document-pages *,.atelier-editor *{animation:none!important;transition:none!important}}
.cv-gallery-link{font:500 12px/1.5 'Hanken Grotesk',sans-serif;color:#8c412d;text-decoration:underline;text-underline-offset:4px;align-self:flex-start}
.cv-canvas-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#9e4e32 #eee5d7;outline-offset:-3px}
.cv-document-pages.is-zoomed{width:794px;max-width:none;padding-bottom:10px}
.cv-preview-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:3px}
.cv-preview-controls button{background:#ffffff;border:1px solid #b9997e;color:#583f30;font:500 12px 'Hanken Grotesk',sans-serif;min-height:38px;padding:7px 12px;cursor:pointer}
.cv-preview-controls button[aria-pressed=true]{background:#34261f;color:#fff6e9}
.cv-preview-controls span{flex:1 1 140px;font:12px/1.5 'Hanken Grotesk',sans-serif;color:#58473e}

.cv-writing-tip{background:#e0e5d6;color:#3f4f38;padding:18px;font:13px/1.6 'Hanken Grotesk',sans-serif}.cv-writing-tip strong{font:500 23px/1.15 'Cormorant Garamond',serif}.cv-writing-tip p{margin:10px 0 0}.atelier-editor button[aria-label^="Niveau"]{width:24px!important;min-width:24px!important;min-height:28px!important}
@media(max-width:1150px){.cv-writing-tip{display:none}}
