/* CarVital 2026.10.17.27: outline belongs only to the upload action. */
html body #view .cv-doc-panel-v18 .cv-doc-row-v18.scan,
html body #view .cv-local-registration>.cv-doc-access{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--text)!important}
html body #view .cv-document-add-label{background:transparent!important;color:var(--text)!important;border:1px solid #aeea2b!important;border-radius:10px!important;padding:11px 12px!important;min-height:44px!important;box-sizing:border-box!important;box-shadow:none!important}
html body #view .cv-document-add-label::before,
html body #view .cv-doc-panel-v18 button.scan::before{background:#aeea2b!important}
html body #view .cv-doc-panel-v18 button.scan:not(.cv-doc-row-v18){background:transparent!important;color:var(--text)!important;border:1px solid #aeea2b!important;box-shadow:none!important}
html body:is(.cv-comfort,.visual-comfort) #view .cv-document-add-label,
html body:is(.cv-comfort,.visual-comfort) #view .cv-doc-panel-v18 button.scan:not(.cv-doc-row-v18){background:#fff!important;color:#203010!important;border-color:#76a51b!important}
html body:is(.cv-comfort,.visual-comfort) #view .cv-document-add-label::before,
html body:is(.cv-comfort,.visual-comfort) #view .cv-doc-panel-v18 button.scan::before{background:#5d8a16!important}
html body #view details.cv-document-scan-v28{background:transparent!important;border:1px solid #aeea2b!important;box-shadow:none!important}
html body #view details.cv-document-scan-v28 .home-doc-visual{color:#aeea2b!important}
html body #view details.cv-document-scan-v28 .home-doc-chevron{color:var(--text)!important}
html body:is(.cv-comfort,.visual-comfort) #view details.cv-document-scan-v28{background:#fff!important;border-color:#76a51b!important}
html body:is(.cv-comfort,.visual-comfort) #view details.cv-document-scan-v28 .home-doc-visual{color:#5d8a16!important}
html body:is(.cv-comfort,.visual-comfort) #view :is(.cv-doc-accordion-v18,.cv-doc-head-v18,.cv-local-registration>.cv-doc-access,.cv-doc-panel-v18 .cv-doc-row-v18){background:#fff!important;color:#203010!important}
html body:is(.cv-comfort,.visual-comfort) #view .cv-local-registration>.cv-doc-access{border-color:transparent!important}
html body:is(.cv-comfort,.visual-comfort) #view #cv-documents-panel :is(p,.home-doc-copy small){color:#46523e!important}

/* Native file pickers, including Garage, Négoce, Parc and administration.
   Keep the native control: keyboard access, picker and selected filename. */
html body input[type="file"]:not([hidden]){box-sizing:border-box!important;max-width:100%!important;min-width:0!important;background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important;padding:0!important;font:inherit}
html body input[type="file"]::file-selector-button,
html body :is(form[data-form="proof"],form[data-form="dealer-document"]) button[type="submit"]{box-sizing:border-box;min-height:44px;max-width:100%;padding:10px 12px 10px 38px;margin:4px 10px 4px 0;border:1px solid #76a51b;border-radius:10px;color:inherit;background-color:transparent!important;color:inherit!important;border:1px solid #76a51b!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2376a51b' stroke-width='1.8' d='M4 7h4l2-3h4l2 3h4v14H2V7h2Z'/%3E%3Ccircle fill='none' stroke='%2376a51b' stroke-width='1.8' cx='12' cy='13.5' r='4'/%3E%3C/svg%3E");background-position:10px center;background-size:20px 20px;background-repeat:no-repeat;font:inherit;cursor:pointer;white-space:normal}
html body input[type="file"]:focus-visible{outline:2px solid #76a51b;outline-offset:3px}
html body #view :is(.home-doc-choices>button,.choose-photo,.tutorial-evidence){background:transparent!important;color:var(--text)!important;border:1px solid #aeea2b!important;box-shadow:none!important;min-height:44px!important}
html body #view .home-doc-choices>button .home-scan-icon{color:#aeea2b!important}
html body:is(.cv-comfort,.visual-comfort) #view :is(.home-doc-choices>button,.choose-photo,.tutorial-evidence){background:#fff!important;color:#203010!important;border-color:#76a51b!important}

/* Shared professional upload control: the native input covers the labelled action. */
html body .cv-pro-upload-field{display:block;min-width:0;max-width:100%;margin:10px 0}
html body .cv-pro-upload-action{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;box-sizing:border-box!important;min-height:46px!important;width:100%!important;max-width:100%!important;padding:11px 12px!important;border:1px solid #76a51b!important;border-radius:10px!important;background:transparent!important;color:inherit!important;font-size:13px!important;line-height:1.4!important;cursor:pointer;overflow:hidden}
html body .cv-pro-upload-action>span:last-of-type{min-width:0;overflow-wrap:anywhere}
html body .cv-pro-upload-action .cv-pro-upload-input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;margin:0!important;padding:0!important;cursor:pointer}
html body .cv-pro-upload-action:focus-within{outline:2px solid #76a51b;outline-offset:3px}
html body .cv-pro-upload-camera{display:block!important;flex:0 0 22px;width:22px;height:22px;background:#76a51b;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M4 7h4l2-3h4l2 3h4v14H2V7h2Z'/%3E%3Ccircle fill='none' stroke='black' stroke-width='1.8' cx='12' cy='13.5' r='4'/%3E%3C/svg%3E") center/contain no-repeat}
html body .cv-pro-upload-filename{margin:7px 0 0!important;font-size:12px!important;line-height:1.4;overflow-wrap:anywhere;color:inherit;max-width:100%}

html body .cv-pro-upload-action[aria-busy="true"]{opacity:.7;cursor:progress}
html body .cv-pro-upload-action[aria-busy="true"] .cv-pro-upload-input{cursor:progress}

html body .cv-vault-source-add{background:transparent!important;color:inherit!important;border:1px solid #aeea2b!important;box-shadow:none!important;min-height:46px;padding:11px 12px;display:flex;align-items:center;gap:10px}
html body .cv-vault-source-add::before{content:"";display:block;flex:0 0 22px;width:22px;height:22px;background:#aeea2b;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M4 7h4l2-3h4l2 3h4v14H2V7h2Z'/%3E%3Ccircle fill='none' stroke='black' stroke-width='1.8' cx='12' cy='13.5' r='4'/%3E%3C/svg%3E") center/contain no-repeat}
html body:is(.cv-comfort,.visual-comfort) .cv-vault-source-add{background:white!important;color:#203010!important;border-color:#76a51b!important}
html body:is(.cv-comfort,.visual-comfort) .cv-vault-source-add::before{background:#76a51b!important}
