/* ==========================================================================
   YAO CONSEIL – Dépôt de pièces : habillage de l'espace client
   Reprend la charte du site (Plus Jakarta Sans, bleu #0756B8, cartes blanches arrondies,
   champs identiques aux formulaires WPForms du site, bouton principal en dégradé).
   ========================================================================== */

/* --- mise en page : neutralise les marges du thème Astra sur cette page uniquement --- */
.yao-dp-page .site-content > .ast-container,
.yao-dp-page #primary, .yao-dp-page .site-main, .yao-dp-page .entry-content,
.yao-dp-page article.page { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; }
.yao-dp-page .entry-content > * { margin-top: 0; margin-bottom: 0; }
/* Astra impose « max-width: none » aux blocs imbriqués des pages pleine largeur : on rétablit nos largeurs */
.yao-dp-page .entry-content .yao-dp-hero-inner { max-width: 1240px !important; margin-left: auto !important; margin-right: auto !important; }
.yao-dp-page .entry-content .yao-dp { max-width: 760px !important; margin-left: auto !important; margin-right: auto !important; }
.yao-dp-page .entry-content .yao-dp-hero, .yao-dp-page .entry-content .yao-dp-body { max-width: none !important; }

/* --- bandeau (identique aux pages légales du site : .yao-page-hero) --- */
.yao-dp-hero {
	position: relative; overflow: hidden; color: #fff;
	padding: calc(80px + clamp(48px, 8vh, 96px)) 0 63px;
	background-image: linear-gradient(165deg, #02112A 0%, #04214A 55%, #06367A 100%);
	font-family: "Plus Jakarta Sans", sans-serif;
}
.yao-dp-hero-glow, .yao-dp-hero-glow2 { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; }
.yao-dp-hero-glow { width: 1273px; height: 1273px; top: calc(10% - 636px); left: calc(85% - 636px); transform: scale(1, .578); background: radial-gradient(circle, rgba(7, 86, 184, .55) 0%, transparent 60%); }
.yao-dp-hero-glow2 { width: 990px; height: 990px; top: calc(100% - 495px); left: -495px; transform: scale(1, .714); background: radial-gradient(circle, rgba(79, 179, 255, .14) 0%, transparent 60%); }
.yao-dp-hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; pointer-events: none; }
.yao-dp-hero-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.yao-dp-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 26px; font-size: .84rem; line-height: 1.65; }
.yao-dp-crumbs a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.yao-dp-crumbs a:hover, .yao-dp-crumbs a:focus-visible { color: #fff; }
.yao-dp-crumb-sep { color: rgba(255, 255, 255, .6); opacity: .5; }
.yao-dp-crumbs [aria-current] { color: rgba(255, 255, 255, .9); }
.yao-dp-h1 { max-width: 15em; margin: 0; font-family: inherit; font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 700; line-height: 1.07; letter-spacing: -.035em; color: #fff; }
.yao-dp-h1 em { font-style: normal; background: linear-gradient(100deg, #7CC8FF 0%, #4FB3FF 45%, #3FD3E0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yao-dp-lead { max-width: 560px; margin: 18px 0 0; font-size: 1.1rem; line-height: 1.65; color: rgba(255, 255, 255, .75); }
.yao-dp-body { padding: 96px 24px 140px; }

.yao-dp {
	--yao-dp-blue: #0756B8;
	--yao-dp-sky: #4FB3FF;
	--yao-dp-ink: #0A1A33;
	--yao-dp-ink-2: #2A3A55;
	--yao-dp-muted: #5B6B84;
	--yao-dp-line: #CAD7E8;
	--yao-dp-soft: #F4F8FC;
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* jamais plus large que l'écran, même avec un long nom de fichier */
	gap: 24px;
	font-family: "Plus Jakarta Sans", sans-serif;
	color: var(--yao-dp-ink-2);
	scroll-margin-top: 110px;
}
.yao-dp *, .yao-dp *::before, .yao-dp *::after { box-sizing: border-box; }

/* carte */
.yao-dp-card {
	background: #fff;
	border: 1px solid #E2E9F3;
	border-radius: 24px;
	padding: clamp(22px, 4vw, 40px);
	box-shadow: 0 30px 60px -36px rgba(4, 33, 74, .35);
}
.yao-dp-card-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.yao-dp-title { margin: 0 0 4px; font-family: inherit; font-size: clamp(1.3rem, 2.2vw, 1.55rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--yao-dp-ink); }
.yao-dp-sub { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--yao-dp-muted); }

/* pastilles d'icônes (même rendu que les cartes de coordonnées du site) */
.yao-dp-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; background: #E6EEF8; display: grid; place-items: center; }
.yao-dp-ico::before {
	content: ""; width: 24px; height: 24px; background: var(--yao-dp-blue);
	-webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.yao-dp-ico-lock { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/%3E%3C/svg%3E"); }
.yao-dp-ico-upload { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V4M7.5 8.5L12 4l4.5 4.5'/%3E%3Cpath d='M4 15v3.5A2.5 2.5 0 0 0 6.5 21h11a2.5 2.5 0 0 0 2.5-2.5V15'/%3E%3C/svg%3E"); }
.yao-dp-ico-list { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2.5'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h4.5'/%3E%3C/svg%3E"); }

/* champs (identiques aux formulaires du site) */
.yao-dp-form { margin: 0; }
.yao-dp-field { margin: 0 0 20px; }
.yao-dp-field > label, .yao-dp-label { display: block; margin: 0 0 8px; font-size: .95rem; font-weight: 600; line-height: 1.65; color: var(--yao-dp-ink); }
.yao-dp-req { color: var(--yao-dp-blue); }
.yao-dp-hint { display: block; margin-top: 8px; font-size: .82rem; line-height: 1.5; color: var(--yao-dp-muted); }
.yao-dp-opt { font-weight: 400; color: var(--yao-dp-muted); }
.yao-dp input[type="text"], .yao-dp input[type="password"], .yao-dp select, .yao-dp textarea {
	width: 100%; margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--yao-dp-line);
	background-color: #fff; box-shadow: none; outline: none;
	font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.65; color: var(--yao-dp-ink);
	transition: border-color .2s, box-shadow .2s;
}
/* Astra impose « height: 40px » aux champs : le texte était coupé (très visible sur iPhone). Hauteur libre, 56 px minimum. */
.yao-dp input[type="text"], .yao-dp input[type="password"], .yao-dp select { height: auto !important; min-height: 56px; }
.yao-dp select { line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.yao-dp select {
	appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230756B8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.yao-dp textarea { min-height: 120px; resize: vertical; }
.yao-dp input:focus, .yao-dp select:focus, .yao-dp textarea:focus { border-color: var(--yao-dp-blue); box-shadow: 0 0 0 4px rgba(7, 86, 184, .14); }
.yao-dp ::placeholder { color: #8A97AB; font-weight: 500; opacity: 1; }

.yao-dp-pwd-wrap { position: relative; display: block; }
.yao-dp-pwd-wrap input { padding-right: 100px; }
.yao-dp-pwd-toggle {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--yao-dp-soft);
	font: 600 .85rem/1 "Plus Jakarta Sans", sans-serif; color: var(--yao-dp-blue); cursor: pointer;
}
.yao-dp-check { display: flex; gap: 12px; align-items: center; margin: 0 0 24px; }
.yao-dp-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--yao-dp-blue); flex: none; }
.yao-dp-check label { font-size: .92rem; color: var(--yao-dp-muted); }

/* zone de dépôt */
.yao-dp-drop {
	position: relative; display: grid; justify-items: center; gap: 8px; padding: 30px 20px; text-align: center; cursor: pointer;
	border: 1.5px dashed #A9BFDC; border-radius: 18px; background: var(--yao-dp-soft); transition: border-color .2s, background-color .2s;
}
.yao-dp-drop:hover, .yao-dp-drop.is-over { border-color: var(--yao-dp-blue); background: #EAF2FC; }
.yao-dp-drop:focus-within { border-color: var(--yao-dp-blue); box-shadow: 0 0 0 4px rgba(7, 86, 184, .14); }
.yao-dp-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.yao-dp-drop-ico {
	width: 44px; height: 44px; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px -10px rgba(7, 86, 184, .5);
	display: grid; place-items: center;
}
.yao-dp-drop-ico::before {
	content: ""; width: 22px; height: 22px; background: var(--yao-dp-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V4M7.5 8.5L12 4l4.5 4.5'/%3E%3Cpath d='M4 15v3.5A2.5 2.5 0 0 0 6.5 21h11a2.5 2.5 0 0 0 2.5-2.5V15'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V4M7.5 8.5L12 4l4.5 4.5'/%3E%3Cpath d='M4 15v3.5A2.5 2.5 0 0 0 6.5 21h11a2.5 2.5 0 0 0 2.5-2.5V15'/%3E%3C/svg%3E") center / contain no-repeat;
}
.yao-dp-drop-text { font-size: 1rem; color: var(--yao-dp-ink-2); }
.yao-dp-drop-text strong { color: var(--yao-dp-blue); }
.yao-dp-drop-hint { font-size: .82rem; line-height: 1.5; color: var(--yao-dp-muted); max-width: 520px; }

.yao-dp-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.yao-dp-list li {
	display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 14px;
	border-radius: 12px; background: var(--yao-dp-soft); font-size: .9rem; font-weight: 600; color: var(--yao-dp-ink);
}
.yao-dp-list li span { flex: none; font-weight: 500; color: var(--yao-dp-muted); }
.yao-dp-list li.is-bad { background: #FDECEC; color: #9B1C1C; }
.yao-dp-js-error { margin: 10px 0 0; font-size: .88rem; color: #9B1C1C; }

/* actions */
.yao-dp-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.yao-dp-mandatory { font-size: .8rem; color: var(--yao-dp-muted); }
.yao-dp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px;
	border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
	font: 600 1rem/1.2 "Plus Jakarta Sans", sans-serif; color: #fff !important;
	background: linear-gradient(135deg, #1B78E2 0%, #0756B8 55%, #064A9F 100%);
	box-shadow: 0 10px 24px -10px rgba(7, 86, 184, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
	transition: transform .25s, box-shadow .25s, opacity .2s;
}
.yao-dp-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(7, 86, 184, .85), inset 0 1px 0 rgba(255, 255, 255, .22); }
.yao-dp-btn:focus-visible, .yao-dp-link:focus-visible, .yao-dp-pwd-toggle:focus-visible { outline: 2px solid var(--yao-dp-sky); outline-offset: 3px; }
.yao-dp-btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.yao-dp-btn-send::after {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3L10 14'/%3E%3Cpath d='M21 3l-7 18-4-7-7-4z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3L10 14'/%3E%3Cpath d='M21 3l-7 18-4-7-7-4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.yao-dp-link {
	padding: 0; border: 0; background: none; cursor: pointer;
	font: 600 .92rem/1.4 "Plus Jakarta Sans", sans-serif; color: var(--yao-dp-blue); text-decoration: underline; text-underline-offset: 3px;
}
.yao-dp-help { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #E2E9F3; font-size: .88rem; line-height: 1.65; color: var(--yao-dp-muted); }
.yao-dp-help a { color: var(--yao-dp-blue); font-weight: 600; }

/* messages */
.yao-dp-notice { margin: 0 0 22px; padding: 14px 18px; border-radius: 14px; font-size: .95rem; font-weight: 500; line-height: 1.6; }
.yao-dp-notice ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.yao-dp-notice.is-success { background: #E6F8F1; color: #0B6B4B; }
.yao-dp-notice.is-error { background: #FDECEC; color: #9B1C1C; }
.yao-dp-notice:focus { outline: none; }

/* barre de bienvenue */
.yao-dp-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px; }
.yao-dp-bar p { margin: 0; font-size: 1.05rem; color: var(--yao-dp-ink-2); }
.yao-dp-bar strong { color: var(--yao-dp-ink); }
.yao-dp-bar form { margin: 0; }

/* historique */
.yao-dp-empty { margin: 0; color: var(--yao-dp-muted); }
.yao-dp-depots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.yao-dp-depots > li { padding: 16px 18px; border: 1px solid #E2E9F3; border-radius: 16px; }
.yao-dp-depot-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; }
.yao-dp-depot-head strong { color: var(--yao-dp-ink); }
.yao-dp-depot-head span { font-size: .85rem; color: var(--yao-dp-muted); }
.yao-dp-depot-files { margin: 0; padding-left: 18px; font-size: .9rem; color: var(--yao-dp-ink-2); }
.yao-dp-depot-files span { color: var(--yao-dp-muted); }

@media (max-width: 1024px) {
	.yao-dp-hero { padding-top: calc(68px + clamp(48px, 8vh, 96px)); }
}
@media (max-width: 720px) {
	.yao-dp-hero { padding: 116px 0 48px; }
	.yao-dp-hero-inner { padding: 0 16px; }
	.yao-dp-h1 { font-size: 2.3rem; }
	.yao-dp-body { padding: 56px 16px 84px; }
	.yao-dp { gap: 18px; }
	.yao-dp-card { border-radius: 20px; }
	.yao-dp-card-head { gap: 12px; }
	.yao-dp-ico { width: 44px; height: 44px; border-radius: 14px; }
	.yao-dp-actions { flex-direction: column-reverse; align-items: stretch; }
	.yao-dp-actions .yao-dp-btn { width: 100%; }
	.yao-dp-actions .yao-dp-link, .yao-dp-mandatory { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.yao-dp-btn, .yao-dp-drop, .yao-dp input, .yao-dp select, .yao-dp textarea { transition: none; }
	.yao-dp-btn:hover { transform: none; }
}

/* ==========================================================================
   Modes de dépôt (ajout du 18/11/2026) : « Prendre une photo » / « Choisir un fichier »,
   assemblage des photos en PDF, liste des documents du dépôt, progression de l'envoi.
   Ces règles complètent et remplacent celles de l'ancienne zone de dépôt unique.
   ========================================================================== */
.yao-dp-needs-js { display: none !important; }
.yao-dp.yao-dp-js .yao-dp-needs-js { display: grid !important; }
.yao-dp-modes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.yao-dp.yao-dp-js .yao-dp-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yao-dp-mode {
	position: relative; display: grid; justify-items: center; align-content: center; gap: 6px;
	min-height: 150px; padding: 22px 16px; text-align: center; cursor: pointer;
	border: 1.5px dashed #A9BFDC; border-radius: 18px; background: var(--yao-dp-soft);
	transition: border-color .2s, background-color .2s;
}
.yao-dp-mode:hover, .yao-dp-mode.is-over { border-color: var(--yao-dp-blue); background: #EAF2FC; }
.yao-dp-mode:focus-within { border-color: var(--yao-dp-blue); box-shadow: 0 0 0 4px rgba(7, 86, 184, .14); }
.yao-dp-mode input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.yao-dp-mode strong { font-size: 1rem; color: var(--yao-dp-blue); }
.yao-dp-mode > span:not(.yao-dp-mode-ico) { font-size: .85rem; line-height: 1.45; color: var(--yao-dp-muted); }
.yao-dp-mode-ico {
	width: 48px; height: 48px; margin-bottom: 4px; border-radius: 14px; background: #fff;
	box-shadow: 0 8px 18px -10px rgba(7, 86, 184, .5); display: grid; place-items: center;
}
.yao-dp-mode-ico::before { content: ""; width: 24px; height: 24px; background: var(--yao-dp-blue); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.yao-dp-mode-ico.is-camera { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.8l1.4-2h4.6l1.4 2h1.8A2.5 2.5 0 0 1 20 8.5v9a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 4 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E"); }
.yao-dp-mode-ico.is-file { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M12 17v-6M9.5 13.5L12 11l2.5 2.5'/%3E%3C/svg%3E"); }
.yao-dp-drop-hint { margin: 10px 0 0; text-align: left; max-width: none; }

/* panneau « document photographié » */
.yao-dp-scan { margin-top: 16px; padding: 18px; border: 1px solid #CFDDF0; border-radius: 18px; background: #F8FBFF; }
.yao-dp-scan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.yao-dp-scan-head strong { color: var(--yao-dp-ink); font-size: 1rem; }
.yao-dp-scan-count { font-size: .85rem; color: var(--yao-dp-muted); }
.yao-dp-scan-tip { margin: 6px 0 14px; font-size: .85rem; line-height: 1.5; color: var(--yao-dp-muted); }
.yao-dp-pages { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.yao-dp-pages li { display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid #E2E9F3; }
.yao-dp-pages img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: #EEF3FA; }
.yao-dp-pages .yao-dp-page-n { font-size: .78rem; font-weight: 600; color: var(--yao-dp-ink); text-align: center; }
.yao-dp-pages .yao-dp-page-acts { display: flex; justify-content: center; gap: 10px; }
.yao-dp-pages button { padding: 4px 2px; border: 0; background: none; cursor: pointer; font: 600 .78rem/1.2 "Plus Jakarta Sans", sans-serif; color: var(--yao-dp-blue); text-decoration: underline; text-underline-offset: 2px; }
.yao-dp-pages button.is-danger { color: #9B1C1C; }
.yao-dp-scan-name { margin-bottom: 14px; }
.yao-dp-scan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.yao-dp-btn-sec {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; cursor: pointer;
	border: 1.5px solid var(--yao-dp-blue); border-radius: 999px; background: #fff;
	font: 600 .92rem/1.2 "Plus Jakarta Sans", sans-serif; color: var(--yao-dp-blue);
}
.yao-dp-btn-sec.is-strong { background: var(--yao-dp-blue); color: #fff; }
.yao-dp-btn-sec:focus-visible, .yao-dp-pages button:focus-visible { outline: 2px solid var(--yao-dp-sky); outline-offset: 3px; }
.yao-dp-btn-sec[disabled] { opacity: .6; cursor: progress; }

/* documents du dépôt */
.yao-dp-list li { flex-wrap: wrap; }
.yao-dp-list .yao-dp-doc-name { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; color: var(--yao-dp-ink); }
.yao-dp-list .yao-dp-doc-meta { flex: none; font-weight: 500; color: var(--yao-dp-muted); }
.yao-dp-list .yao-dp-doc-del { flex: none; padding: 4px 0; border: 0; background: none; cursor: pointer; font: 600 .82rem/1.2 "Plus Jakarta Sans", sans-serif; color: #9B1C1C; text-decoration: underline; text-underline-offset: 2px; }

/* progression de l'envoi */
.yao-dp-progress { margin-top: 18px; }
.yao-dp-progress-bar { height: 8px; border-radius: 999px; background: #E2E9F3; overflow: hidden; }
.yao-dp-progress-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0756B8, #4FB3FF); transition: width .2s; }
.yao-dp-progress-text { margin: 8px 0 0; font-size: .88rem; color: var(--yao-dp-muted); }

@media (max-width: 720px) {
	.yao-dp.yao-dp-js .yao-dp-modes { grid-template-columns: minmax(0, 1fr); }
	.yao-dp-mode { min-height: 0; grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 14px; padding: 16px; }
	.yao-dp-mode .yao-dp-mode-ico { grid-row: span 2; margin: 0; }
	.yao-dp-scan { padding: 14px; }
	.yao-dp-pages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.yao-dp-scan-actions .yao-dp-btn-sec { flex: 1 1 100%; }
	.yao-dp-scan-actions .yao-dp-link { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.yao-dp-mode, .yao-dp-progress-bar span { transition: none; }
}
