/**
 * Formulaire d'édition talk page (action=edit) — surcharge FINALE après Vector Apparence.
 * Charge via addStyle() en dernier dans BeforePageDisplay.
 */

html body.action-edit #bodyContent input[type="text"],
html body.action-edit #bodyContent input[type="search"],
html body.action-edit #bodyContent textarea,
html body.action-edit #bodyContent .oo-ui-inputWidget-input,
html body.action-edit #bodyContent .oo-ui-textInputWidget-input,
html body.action-edit #bodyContent .cdx-text-input__input,
html body.action-edit .mw-editform input[type="text"],
html body.action-edit .mw-editform input[type="search"],
html body.action-edit .mw-editform textarea,
html body.action-edit .mw-editform .oo-ui-inputWidget-input,
html body.action-edit .mw-editform .oo-ui-textInputWidget-input,
html.skin-theme-clientpref-day body.action-edit #bodyContent input,
html.skin-theme-clientpref-day body.action-edit #bodyContent textarea,
html.skin-theme-clientpref-day body.action-edit .mw-editform input,
html.skin-theme-clientpref-day body.action-edit .mw-editform textarea,
html.skin-theme-clientpref-night body.action-edit #bodyContent input,
html.skin-theme-clientpref-os body.action-edit #bodyContent input,
html body.action-edit h2.ext-discussiontools-ui-newTopic-sectionTitle .oo-ui-inputWidget-input,
html body.action-edit h2.ext-discussiontools-ui-newTopic-sectionTitle input,
html body.action-edit .ext-discussiontools-ui-newTopic-sectionTitle .oo-ui-inputWidget-input,
html body.action-edit #wpSummary,
html body.action-edit #wpSummaryWidget input,
html body.action-edit #wpSummaryWidget .oo-ui-inputWidget-input,
html body.action-edit #wpSummaryWidget .oo-ui-textInputWidget-input {
	--color-base: #fff !important;
	--color-emphasized: #fff !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	background: #111 !important;
	background-color: #111 !important;
	caret-color: #00ff5a !important;
	border: 1px solid #00ff5a !important;
	box-shadow: inset 0 0 0 1000px #111 !important;
}

html body.action-edit .editOptions .oo-ui-fieldsetLayout,
html body.action-edit .editOptions .oo-ui-fieldsetLayout-group,
html body.action-edit .editOptions .oo-ui-panelLayout-framed,
html body.action-edit .editOptions .oo-ui-panelLayout-framed .oo-ui-panelLayout-content,
html body.action-edit #editpage-detail .oo-ui-fieldsetLayout,
html body.action-edit #editpage-detail .oo-ui-fieldsetLayout-group,
html body.action-edit #editpage-detail .oo-ui-panelLayout-framed,
html body.action-edit #editpage-detail .oo-ui-panelLayout-framed .oo-ui-panelLayout-content,
html body.action-edit .editOptions,
html body.action-edit #editpage-detail {
	background: #111 !important;
	background-color: #111 !important;
	color: #fff !important;
	border-color: rgba(0, 255, 90, 0.35) !important;
}

html body.action-edit .editOptions .oo-ui-fieldsetLayout-header,
html body.action-edit #editpage-detail .oo-ui-fieldsetLayout-header {
	background: #111 !important;
	background-color: #111 !important;
	border-bottom: 1px solid rgba(0, 255, 90, 0.25) !important;
}

html body.action-edit #bodyContent .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button,
html body.action-edit #bodyContent .oo-ui-flaggedElement-primary .oo-ui-labelElement-label,
html body.action-edit .mw-editform .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button,
html body.action-edit .mw-editform .oo-ui-flaggedElement-primary .oo-ui-labelElement-label,
html body.action-edit #wpSaveWidget .oo-ui-labelElement-label,
html.skin-theme-clientpref-day body.action-edit .oo-ui-flaggedElement-primary.oo-ui-buttonWidget .oo-ui-labelElement-label {
	--color-base: #000 !important;
	--color-inverted: #000 !important;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	background: #00ff5a !important;
	background-color: #00ff5a !important;
	border-color: #00ff5a !important;
}

html body.action-edit #bodyContent .oo-ui-buttonElement-framed.oo-ui-flaggedElement-primary .oo-ui-buttonElement-button:hover,
html body.action-edit #bodyContent .oo-ui-buttonElement-framed.oo-ui-flaggedElement-primary .oo-ui-buttonElement-button:focus,
html body.action-edit #wpSaveWidget .oo-ui-buttonElement-button:hover,
html body.action-edit #wpSaveWidget .oo-ui-buttonElement-button:focus {
	background: #000 !important;
	background-color: #000 !important;
	color: #00ff5a !important;
	-webkit-text-fill-color: #00ff5a !important;
	border-color: #00ff5a !important;
}

html body.action-edit #bodyContent .oo-ui-buttonElement-framed.oo-ui-flaggedElement-primary .oo-ui-buttonElement-button:hover .oo-ui-labelElement-label,
html body.action-edit #wpSaveWidget .oo-ui-buttonElement-button:hover .oo-ui-labelElement-label {
	color: #00ff5a !important;
	-webkit-text-fill-color: #00ff5a !important;
	background: transparent !important;
}

html body.action-edit #bodyContent .oo-ui-buttonElement-frameless .oo-ui-buttonElement-button:hover,
html body.action-edit #bodyContent .oo-ui-buttonElement-frameless .oo-ui-buttonElement-button:focus,
html body.action-edit #bodyContent .oo-ui-buttonElement-frameless .oo-ui-buttonElement-button:hover .oo-ui-labelElement-label {
	background: transparent !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-decoration: none !important;
}

html body.action-edit .ve-init-target .oo-ui-toolbar-bar,
html body.action-edit .ve-init-mw-desktopArticleTarget .oo-ui-toolbar-bar,
html body.action-edit .ext-discussiontools-ui-targetWidget .oo-ui-toolbar-bar {
	background: #f8f9fa !important;
	background-color: #f8f9fa !important;
	border-bottom: 1px solid #c8ccd1 !important;
}

html body.action-edit .oo-ui-toolbar-bar .oo-ui-tool .oo-ui-iconElement-icon svg,
html body.action-edit .oo-ui-toolbar-bar .oo-ui-tool .oo-ui-iconElement-icon path,
html body.action-edit .oo-ui-toolbar-bar .oo-ui-dropdownWidget-handle .oo-ui-iconElement-icon svg {
	fill: #202122 !important;
}

html body.action-edit .editOptions .oo-ui-labelElement-label,
html body.action-edit .editOptions .oo-ui-fieldLayout-label,
html body.action-edit .editOptions .oo-ui-fieldsetLayout-header .oo-ui-labelElement-label,
html body.action-edit #editpage-copywarn,
html body.action-edit #editpage-copywarn p {
	color: #ddd !important;
	-webkit-text-fill-color: #ddd !important;
}
