html:root body .vault-r32{color:var(--ma-ink,#18243b);min-width:0;display:grid;gap:14px}
html:root body .vault-r32 *,html:root body .vault-r32 *:before,html:root body .vault-r32 *:after{box-sizing:border-box}
html:root body .vault-r32 button,html:root body .vault-r32 summary{min-height:44px!important;white-space:normal!important;line-height:1.5!important;font-size:14px!important;border-radius:12px!important;cursor:pointer}
html:root body .vault-r32 button:disabled{cursor:default;opacity:.55}
html:root body .vault-r32 .vault-message,html:root body .vault-r32 .vault-backup,html:root body .vault-r32 .vault-import-review,html:root body .vault-r32 .vault-recovery{border:1px solid var(--ma-line,#d7dfec);background:var(--ma-surface,#fff);border-radius:16px;padding:14px;min-width:0}
html:root body .vault-r32 .vault-message{font-size:14px;line-height:1.8;overflow-wrap:anywhere;border-inline-start:4px solid #3150d9}
html:root body .vault-r32 .vault-error{border-inline-start-color:#c94b43}
html:root body .vault-r32 .vault-backup>summary{display:flex;align-items:center;font-weight:800;padding:4px;color:var(--ma-ink,#18243b)}
html:root body .vault-r32 .vault-backup p,html:root body .vault-r32 .vault-recovery p{font-size:14px;line-height:1.8;color:var(--ma-muted,#5c6a83);margin:10px 0}
html:root body .vault-r32 .vault-backup small{display:block;margin-top:10px;font-size:12px;line-height:1.7;color:var(--ma-muted,#5c6a83)}
html:root body .vault-r32 .vault-backup-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;min-width:0}
html:root body .vault-r32 .vault-backup-actions>button{flex:1 1 140px;min-width:0;padding:10px;border:1px solid var(--ma-line,#d7dfec);background:var(--ma-surface,#fff);color:var(--ma-ink,#18243b)}
html:root body .vault-r32 .vault-import-review{border-color:#3150d9}
html:root body .vault-r32 .vault-confirm-import{background:#3150d9!important;color:#fff!important}
html:root body .vault-r32 .vault-tabs{display:flex;gap:6px;padding:5px;border:1px solid var(--ma-line,#d7dfec);border-radius:15px;background:var(--ma-surface,#fff)}
html:root body .vault-r32 .vault-tabs>button{flex:1;min-width:0;padding:8px 5px;border:0;background:transparent;color:var(--ma-ink,#18243b)}
html:root body .vault-r32 .vault-tabs>button[aria-pressed=true]{background:#3150d9!important;color:#fff!important}
html:root body .vault-r32 .vault-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;min-width:0}
html:root body .vault-r32 .vault-filters label{display:grid;gap:7px;min-width:0;font-size:13px;font-weight:700}
html:root body .vault-r32 .vault-filters input,html:root body .vault-r32 .vault-filters select{width:100%!important;min-width:0!important;min-height:46px!important;font-size:14px!important;padding:10px;border:1px solid var(--ma-line,#d7dfec);border-radius:12px;background:var(--ma-surface,#fff);color:var(--ma-ink,#18243b)}
html:root body .vault-r32 .saved-cv-list{display:grid;gap:12px}
html:root body .vault-r32 .saved-cv-card{display:grid!important;gap:12px;padding:14px!important;border-radius:16px!important;background:var(--ma-surface,#fff)!important;min-width:0!important;border:1px solid var(--ma-line,#d7dfec)!important}
html:root body .vault-r32 .saved-cv-card.active{border-color:#3150d9!important}
html:root body .vault-r32 .vault-card-main{display:flex;align-items:flex-start;gap:12px;min-width:0}
html:root body .vault-r32 .saved-cv-copy{min-width:0;flex:1}
html:root body .vault-r32 .saved-cv-copy b,html:root body .vault-r32 .vault-recovery-card b{overflow-wrap:anywhere;font-size:16px;color:var(--ma-ink,#18243b)!important}
html:root body .vault-r32 .saved-cv-copy p{font-size:13px;margin:6px 0;overflow-wrap:anywhere;color:var(--ma-muted,#5c6a83)}
html:root body .vault-r32 .saved-cv-copy small{font-size:12px;line-height:1.8;overflow-wrap:anywhere;color:var(--ma-muted,#5c6a83)!important}
html:root body .vault-r32 .vault-mini{width:68px;flex-shrink:0;aspect-ratio:.71;border:1px solid var(--ma-line,#d7dfec);border-radius:5px;padding:7px;background:var(--ma-surface,#fff);display:grid;align-content:start;gap:6px;overflow:hidden}
html:root body .vault-r32 .vault-mini b{font-size:9px;color:var(--ma-muted,#5c6a83)}
html:root body .vault-r32 .vault-mini span{font-size:8px;white-space:nowrap;overflow:hidden;color:var(--ma-ink,#18243b)}
html:root body .vault-r32 .vault-mini i{height:3px;border-radius:2px;background:var(--ma-line,#d7dfec)}
html:root body .vault-r32 .saved-cv-actions{display:flex!important;align-items:start;gap:8px;min-width:0}
html:root body .vault-r32 .saved-cv-actions>.open{flex:2;min-width:0;background:#3150d9!important;color:#fff!important;border:0!important;padding:10px}
html:root body .vault-r32 .vault-more{flex:1;min-width:0;border:1px solid var(--ma-line,#d7dfec);border-radius:12px}
html:root body .vault-r32 .vault-more summary{display:flex;align-items:center;justify-content:center;font-weight:700;padding:10px;color:var(--ma-ink,#18243b)}
html:root body .vault-r32 .vault-more>div{display:grid;gap:4px;padding:5px}
html:root body .vault-r32 .vault-more button{width:100%;border:0;padding:9px;background:var(--ma-surface,#fff);color:var(--ma-ink,#18243b)}
html:root body .vault-r32 .vault-recovery-list{display:grid;gap:10px}
html:root body .vault-r32 .vault-recovery-card{display:grid;gap:5px;padding:12px;border:1px solid var(--ma-line,#d7dfec);border-radius:13px;min-width:0}
html:root body .vault-r32 .vault-recovery-card small{color:var(--ma-muted,#5c6a83);line-height:1.7}
html:root body .vault-r32 :is(input,button,select,summary):focus-visible{outline:3px solid #7e99ff!important;outline-offset:3px!important}
@media(max-width:620px){html:root body .vault-r32 .vault-filters{grid-template-columns:1fr 1fr}html:root body .vault-r32 .vault-filters>label:first-child{grid-column:1/-1}html:root body .vault-r32 .vault-backup-actions>button{flex-basis:100%}}

/* Compact saved-library entry; hide editor setup only while this view exists. */
html:root body.v40-builder .app-shell:has(.vault-r32) .r26-controls{display:none!important}
html:root body.v40-builder .vault-r32 .vault-head h2{font-size:24px!important;line-height:1.5!important;margin:0!important}
html:root body.v40-builder .vault-r32 .vault-head p{font-size:14px!important;line-height:1.7!important;margin:5px 0!important;color:var(--ma-muted,#5c6a83)}
html:root body.v40-builder .vault-r32 .vault-save-panel{border:1px solid var(--ma-line,#d7dfec);border-radius:14px;background:var(--ma-surface,#fff);padding:6px 12px}
html:root body.v40-builder .vault-r32 .vault-save-panel>summary{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:800;padding:8px 0;color:var(--ma-ink,#18243b)}
html:root body.v40-builder .vault-r32 .vault-save-panel>summary:after{content:'+';font-size:20px;padding-inline-start:8px}
html:root body.v40-builder .vault-r32 .vault-save-panel[open]>summary:after{content:'−'}
html:root body.v40-builder .vault-r32 .library-save-card{margin:6px 0!important;padding:12px!important}
html:root body.v40-builder .vault-r32 .library-primary{background:#3150d9!important;color:#fff!important;border-color:#3150d9!important}
html:root body.v40-builder .vault-r32 .library-save-actions>button{min-height:44px!important;font-size:14px!important}
html.motaz-android-app:root body.v40-builder.v40-builder .app-shell.workspace-20261011:has(.vault-r32) .editor>.r26-controls{display:none!important}
html:root body.v40-builder .vault-r32 .saved-cv-copy{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}
html:root body.v40-builder .vault-r32 .saved-cv-copy>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
html:root body.v40-builder .vault-r32 .saved-cv-copy b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
html:root body.v40-builder.v40-builder .app-shell.workspace-20261011 .builder-layout:has(>.editor.mobile-active .vault-r32){grid-template-columns:minmax(0,1fr)!important;max-width:1120px!important;margin-inline:auto!important}
html:root body.v40-builder.v40-builder .app-shell.workspace-20261011 .builder-layout:has(>.editor.mobile-active .vault-r32)>.editor{width:100%!important;max-width:none!important}
html:root body.v40-builder.v40-builder .app-shell.workspace-20261011 .builder-layout:has(>.editor.mobile-active .vault-r32)>.preview-stage{display:none!important}
html:root body.v40-builder .vault-r32 .vault-return-editor{display:none;padding:8px 12px;border:1px solid var(--ma-line,#d7dfec);background:var(--ma-surface,#fff);color:var(--ma-ink,#18243b)}
@media(min-width:768px){html:root body.v40-builder .vault-r32 .vault-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}html:root body.v40-builder .vault-r32 .vault-head p{grid-column:1/-1}html:root body.v40-builder .vault-r32 .vault-return-editor{display:block;grid-row:1;grid-column:2}html:root body.v40-builder .vault-r32 .saved-cv-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
