.vdm-rxbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
	width: 100%;
	max-width: 1000px;
	margin: 8px auto;
}

.vdm-rxbar > script {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.vdm-rxbar > a {
	flex: none;
	margin-right: auto;
}

.vdm-rxbar #logo {
	display: block;
	width: 260px;
	height: auto;
	background-image: none !important;
}

.vdm-rxbar > div#prescription_all.prescription_all {
	display: block !important;
	flex: 0 1 560px;
	width: 560px;
	max-width: 560px;
	margin: 0 0 0 auto;
}

div#prescription_checker.prescription_checker.vdm-rx {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.vdm-rx {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	color: #081217;
	font-family: "IBM Plex Sans", -apple-system, sans-serif;
	font-size: 11px;
	line-height: 14px;
}

.vdm-rx *,
.vdm-rx *::before,
.vdm-rx *::after {
	box-sizing: border-box;
}

.vdm-rx #pc_added_message,
.vdm-rx #pc_removed_message {
	display: none !important;
}

.vdm-rx #checker,
.vdm-rx #error_checker {
	position: relative;
	float: none;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
	height: auto;
	margin: 0;
	background-color: #fff;
	background-image: none;
	border-radius: 12px;
	box-shadow: 0px 3px 15px -6px rgba(0, 0, 0, .16);
	overflow: hidden;
	text-align: left;
	margin-bottom: 5px;
}

.vdm-rx #checkertt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	height: 34px;
	min-height: 34px;
	padding: 6px 12px;
	background: #e8eaec;
}

.vdm-rx #checkertt span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #3c4246;
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0.06em;
	
}

.vdm-rx #checkertt span:before,
.vdm-rx #popuplink:after {
	content: none;
	display: none;
}

.vdm-rx .vdm-rx__title-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: none;
}

.vdm-rx .vdm-rx__spin {
	display: block;
	width: 16px;
	height: 16px;
	flex: none;
	border: 2px solid #e8eaec;
	border-top-color: #3c4246;
	border-radius: 50%;
	animation: vdm-rx-spin 0.7s linear infinite;
}

@keyframes vdm-rx-spin {
	to {
		transform: rotate(360deg);
	}
}

a.addpc.vdm-addpc--busy {
	pointer-events: none;
	cursor: default;
}

a.addpc.vdm-addpc--busy .addicon,
a.addpc.vdm-addpc--busy .removeicon {
	flex: 0 0 14px !important;
	width: 14px !important;
	height: 14px !important;
	margin: 0 !important;
	background-image: none !important;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	box-sizing: border-box;
	animation: vdm-rx-spin 0.7s linear infinite;
}

a.addpc.vdm-addpc--busy .addtext,
a.addpc.vdm-addpc--busy .removetext {
	display: none !important;
}

a.addpc.vdm-addpc--wait {
	pointer-events: none;
	cursor: default;
	opacity: 0.4;
}

.vdm-prod-layout .addvmp a.addpc.vdm-addpc--sheet,
.vdm-vmp-layout .addvmp a.addpc.vdm-addpc--sheet {
	box-sizing: border-box;
	justify-content: center;
	overflow: hidden;
	pointer-events: none;
	cursor: default;
	opacity: 0.4;
}

.vdm-prod-layout .addvmp a.addpc.vdm-addpc--sheet .addicon,
.vdm-prod-layout .addvmp a.addpc.vdm-addpc--sheet .removeicon,
.vdm-vmp-layout .addvmp a.addpc.vdm-addpc--sheet .addicon,
.vdm-vmp-layout .addvmp a.addpc.vdm-addpc--sheet .removeicon {
	flex: 0 0 14px !important;
	width: 14px !important;
	height: 14px !important;
	margin: 0 !important;
	background-image: none !important;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	box-sizing: border-box;
	animation: vdm-rx-spin 0.7s linear infinite;
}

.vdm-rx #popuplink,
.vdm-rx #layer_poplink {
	color: #192733;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 16px;
	text-transform: none;
}

.vdm-rx #popuplink {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	text-decoration: none;
}

.vdm-rx #popuplink .vdm-rx__expand {
	display: block;
	width: 16px;
	height: 16px;
	flex: none;
}

.vdm-rx #popuplink:hover {
	text-decoration: underline;
}

.vdm-rx #opacity {
	position: fixed;
	inset: 0;
	background: rgba(28, 36, 40, 0.45);
	opacity: 1;
	z-index: 1000;
}

.vdm-rx #fullview {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	width: min(980px, calc(100vw - 48px));
	height: calc(100vh - 48px);
	max-height: calc(100vh - 48px);
	margin: 0;
	overflow: hidden;

	z-index: 1001;
}

.vdm-rx #checker_window {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 8px;
	grid-template-rows: 66px calc(50% - 98px) calc(50% + 32px);
	align-items: stretch;
	flex: 1 1 auto;
	height: 100%;
	min-height: 0;
	max-height: 100%;
	overflow: hidden;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	background: #eff1f2;
	border: 2px solid #d0d5d8;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(28, 36, 40, 0.16);
	padding: 0 0 16px;
	color: #1c2428;
	font-family: "IBM Plex Sans", sans-serif;
}

.vdm-rx #checker_window_title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	box-sizing: border-box;
	width: 100%;
	height: 58px;
	margin: 0 0 8px;
	padding: 14px 52px 14px 18px;
	border-bottom: 1px solid #d0d5d8;
	border-radius: 10px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	background: #e8e8e8;
	color: #1c2428;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
}

.vdm-rx #checker_window_title > div {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.vdm-rx #closewindow,
.vdm-rx #checker_window_title {
	grid-column: 1 / -1;
}

.vdm-rx #checker_window > .clear {
	display: none;
}

.vdm-rx #prescription,
.vdm-rx #profiler {
	grid-row: 2;
	float: none;
	clear: none;
	width: auto;
	margin: 0;
}

.vdm-rx #prescription {
	grid-column: 1;
	margin-left: 16px;
}

.vdm-rx #profiler {
	grid-column: 2;
	margin-right: 16px;
}

.vdm-rx #riskalerts {
	grid-column: 1 / -1;
	grid-row: 3;
	align-self: stretch;
	width: auto;
	min-height: 0;
	margin: 0px 16px 0px;
}

.vdm-rx #closewindow {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	width: 32px;
	height: 32px;
	background: #e8e8e8;
	background-image: none;
	border: 1px solid #e6e6e6;
	border-radius: 999px;
}

.vdm-rx #closewindow::before,
.vdm-rx #closewindow::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 15px;
	width: 18px;
	height: 2px;
	background: #3c4246;
	border-radius: 1px;
}

.vdm-rx #closewindow::before {
	transform: rotate(45deg);
}

.vdm-rx #closewindow::after {
	transform: rotate(-45deg);
}

.vdm-rx #checker_window .vdm-rx__title-icon,
.vdm-rx #checker_window .vdm-rx__glyph {
	display: inline-block;
	position: static;
	width: 20px;
	height: 20px;
	margin: 0 6px 0 0;
	flex: none;
	vertical-align: -4px;
	color: #3c4246;
	z-index: auto;
}

.vdm-rx #checker_window_title .vdm-rx__title-icon {
	width: 28px;
	height: 28px;
}

.vdm-rx #checker_window .vdm-rx__glyph {
	width: 26px;
	height: 26px;
}

.vdm-rx #checker_window_title > div:first-child {
	align-items: center;
	gap: 8px;
}

.vdm-rx #drugnum,
.vdm-rx #profile,
.vdm-rx #risks {
	position: relative;
	float: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: auto;
	min-height: 74px;
	margin: 0;
	padding: 8px 10px;
	background: #fff;
	isolation: isolate;
	overflow: hidden;
}

.vdm-rx #drugnum {
	flex: 0 0 72px;
	width: 72px;
	min-width: 0;
	padding-right: 8px;
}

.vdm-rx #profile,
.vdm-rx #risks {
	border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.vdm-rx #profile {
	flex: 1 1 36%;
	width: auto;
	min-width: 0;
	font-size: 13px;
	line-height: 16px;
	text-align: left;
}

.vdm-rx #risks {
	flex: 1 1 40%;
	width: auto;
	min-width: 0;
	font-size: 13px;
	line-height: 16px;
}

.vdm-rx .vdm-rx__mark {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: auto;
	z-index: -1;
	width: 30px;
	height: 28px;
	color: #e8eaec;
	pointer-events: none;
}

.vdm-rx #drugnum > :not(.vdm-rx__mark),
.vdm-rx #profile > :not(.vdm-rx__mark),
.vdm-rx #risks > :not(.vdm-rx__mark) {
	position: relative;
	z-index: 1;
}

.vdm-rx #drugnum h1 {
	position: relative;
	width: auto;
	height: auto;
	margin: 0;
	color: #081217;
	font-size: 26px;
	font-weight: 500;
	line-height: 28px;
	text-align: center;
	margin-bottom: 0;

}

.vdm-rx #drugnum #drugcounttext {
	position: relative;
	width: auto;
	margin: 2px 0 0;
	color: #4e5b60;
	font-size: 12px;
	line-height: 16px;
	text-align: center;
}

.vdm-rx #profile select#select_profile {
	display: block;
	width: 100%;
	height: 28px;
	min-height: 0;
	margin: 6px 0 0;
	padding: 0 8px;
	border: 1px solid #e3e5e8;
	border-radius: 8px;
	background: #fff;
	color: #081217;
	font-family: inherit;
	font-size: 13px;
}

.vdm-rx #risktt {
	position: relative;
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
}

.vdm-rx #risks #pre_mini_dd,
.vdm-rx #risks #pre_mini_dp {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: auto;
	max-width: 100%;
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 18px;
}

.vdm-risk__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	box-sizing: border-box;
	vertical-align: middle;
}

.vdm-rx #risks .vdm-risk {
	display: inline-flex;
	align-items: stretch;
	flex: none;
	box-sizing: border-box;
	width: 88px;
	height: 18px;
	overflow: hidden;
	border-radius: 4px;
	background: #eff1f2;
	border: 1px solid #e6e8e9;
}

.vdm-rx #risks .vdm-risk__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	padding: 0 4px;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
}

.vdm-rx #risks .vdm-risk__label {
	flex: 1;
	display: inline-block;
	padding: 0 7px;
	text-align: center;
	color: #4c4c4c;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	white-space: nowrap;
	text-transform: lowercase;
}

.vdm-rx #risks .vdm-risk__label::first-letter {
	text-transform: uppercase;
}

@keyframes vdm-risk-change {
	0% {
		box-shadow: inset 0 0 0 1px #1c2428;
	}

	100% {
		box-shadow: inset 0 0 0 0 transparent;
	}
}

.vdm-rx #risks .vdm-risk--change {
	animation: vdm-risk-change 520ms ease;
}

@keyframes vdm-drug-change {
	0% {
		color: #b24d00;
		transform: scale(1.18);
	}

	100% {
		color: #081217;
		transform: scale(1);
	}
}

.vdm-rx #drugnum h1.vdm-drug--change {
	animation: vdm-drug-change 520ms ease;
}

.vdm-rx #miniupdateAsyncAlert {
	position: relative !important;
	left: 0 !important;
	top: 2px !important;
	width: auto !important;
	height: auto !important;
	margin-top: 4px;
	padding: 3px 10px !important;
	border: none !important;
	border-radius: 9999px !important;
	background: #192733 !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	cursor: pointer;
}

.vdm-rx #error_checker_content {
	width: auto;
	height: auto;
	margin: 6px 8px 8px;
	padding: 6px;
	border: 1px solid rgba(220, 38, 38, 0.35);
	border-radius: 12px;
	background: #fff;
}

.vdm-rx #load_layer {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.92);
}

.vdm-rx #load_layer > div {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.vdm-rx #load_layer img {
	display: none;
}

.vdm-rx #load_layer > div::before {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	margin: 0 auto 8px;
	border: 2px solid #e8eaec;
	border-top-color: #3c4246;
	border-radius: 50%;
	animation: vdm-rx-spin 0.7s linear infinite;
}

.vdm-rx #load_layer span {
	position: static !important;
	top: auto !important;
	left: auto !important;
	font-family: "IBM Plex Sans", sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #5c6368 !important;
}

.vdm-rx #update_mini_error_risk_response,
.vdm-rx #report_mini_error_risk_response {
	margin-top: 4px;
	padding: 3px 8px;
	border: none;
	border-radius: 9999px;
	background: #192733;
	color: #fff;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	cursor: pointer;
}

.vdm-rx #profiler {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 0;
	margin-top: -4px;
	border: none;
	border-radius: 0;
	background: transparent;
	overflow: hidden;
}

.vdm-rx #prescription {
	flex: 1 1 auto;
	height: auto;
	max-height: none;
	min-height: 0;
	margin-top: 0px;
	border: none;
	border-radius: 0;
	background: transparent;
	overflow: hidden;
}

.vdm-rx #prof-title {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0 2px 6px;
	background: transparent;
	border: none;
	color: #3c4246;
	flex: none;
	padding-top: 5px;
}

.vdm-rx #presc-title {
	display: flex;
	align-items: center;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0 2px 6px;
	background: transparent;
	border: none;
	color: #3c4246;
}

.vdm-rx #riskalerts {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: auto;
	border: 0px solid #e6e8e9;
	border-radius: 12px;
	background: #eff1f2;
	overflow: hidden;
	min-height: 0;
}

.vdm-rx #risktitle {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	width: 100%;
	height: auto;
	min-height: 34px;
	margin: 0;
	padding: 6px 10px;
	background: #eff1f2;
	border: none;
	line-height: 16px;
	color: #3c4246;
}

.vdm-rx #risktitle h4::before {
	content: none;
	display: none;
}

.vdm-rx .vdm-rx__riskhead {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 12px;
	flex: 1 1 100%;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	float: none;
	background: transparent;
	border-radius: 0;
}

.vdm-rx .vdm-rx__riskactions {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin-left: auto;
	flex: 0 1 auto;
	min-width: 0;
}

.vdm-rx .vdm-rx__riskactions .btn_interside,
.vdm-rx .vdm-rx__riskactions .btn_prisca {
	display: block;
	flex: 0 1 auto;
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.vdm-rx #presc-title h4,
.vdm-rx #prof-title h4,
.vdm-rx .vdm-rx__riskhead h4 {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
	width: auto;
	height: auto;
	margin: 0;
	color: #3c4246;
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0.04em;
}

.vdm-rx .vdm-rx__riskhead > h4 {
	flex: none;
	white-space: nowrap;
}

.vdm-rx #presc-title h4::before,
.vdm-rx #prof-title h4::before {
	content: none;
	display: none;
}

.vdm-rx .vdm-rx__patientbar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 16px 8px;
	background: #e8e8e8;
	border-radius: 16px 16px 0 0;
	box-sizing: border-box;
}

.vdm-rx .vdm-rx__patient {
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
	color: #3c4246;
}

.vdm-rx #profiler .vdm-rx__patientbar select.patients_full {
	flex: none;
	width: 160px;
	max-width: 70%;
	min-width: 0;
	margin: 0;
}

.vdm-rx #profiler .vdm-rx__patientbar select.patients_full:disabled {
	opacity: 0.5;
	cursor: default;
}

.vdm-rx #prof-title select,
.vdm-rx #profiler select,
.vdm-rx #profiler input[type="number"],
.vdm-rx #profiler input[type="text"] {
	height: 24px;
	border: 1px solid #e3e5e8;
	border-radius: 8px;
	background: #fff;
	color: #081217;
	font-family: inherit;
	font-size: 12px;
}

.vdm-rx #prescription {
	display: flex;
	flex-direction: column;
}

.vdm-rx #prescriptionsub {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 6px 8px;
	background: #e8e8e8;
	border: 2px solid #e8eaec;
	border-bottom: 1px solid #e6e8e9;
	border-radius: 12px 12px 0 0;
	font-size: 12px;
	box-sizing: border-box;
}

.vdm-rx #drugnumber {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 42px;
	height: auto;
	padding: 3px 8px 4px;
	border: none;
	border-radius: 8px;
	background: #fff;
	color: #6b7378;
	line-height: 1.05;
	border: 2px solid #e6e8e9;
}

.vdm-rx #drugnumber h3 {
	margin: 0;
	color: #1c2428;
	font-size: 16px;
	font-weight: 600;
	line-height: 18px;
}

.vdm-rx #drugnumber .vdm-rx__count-label {
	color: #6b7378;
	font-size: 10px;
	font-weight: 500;
	line-height: 12px;
}

.vdm-rx #adddrugslnk,
.vdm-rx #clearalllnk {
	display: inline-flex;
	align-items: center;
	flex: none;
	float: none;
	height: auto;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.vdm-rx #clearalllnk {
	margin-left: auto;
}

.vdm-rx #adddrugslnk a,
.vdm-rx #clearalldrugs,
.vdm-rx #presc_list a {
	color: #1a6aa8;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.vdm-rx #adddrugslnk a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #3c4246;
	font-weight: 500;
}

.vdm-rx #clearalldrugs {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #5c6368;
	font-weight: 500;
	padding-right: 10px;
}

.vdm-rx #adddrugslnk a::before {
	content: none;
	display: none;
}

.vdm-rx #prescription > div:not(#protect_alert_layer):not(#presc-title):not(#prescriptionsub),
.vdm-rx #prof-table {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	padding: 0;
	background: #e8e8e8;
	border-bottom-right-radius: 16px;
	border-bottom-left-radius: 16px;
}

.vdm-rx #prof-table {
	width: auto;
	height: auto;
	max-height: none;
	margin: 0;
	overflow: auto;
	box-sizing: border-box;
	
	padding: 0px 2px;
	
}

.vdm-rx #prof-table > br {
	display: none;
}

.vdm-rx #profiler #data_user {
	display: flex;
	flex-direction: column;
	gap: 0px;
	flex: 1 0 auto;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 12px;
	background: #fff;
	border-radius: 16px;
	border-top-right-radius: 0px;
	border-top-left-radius: 0px;
	box-sizing: border-box;
}

.vdm-rx #data_user .vdm-rx__field {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
}

.vdm-rx #data_user .vdm-rx__field--top {
	align-items: start;
}

/* Patologias y alergias: listados en una sola columna */
.vdm-rx #data_user .vdm-rx__two-col {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
}

.vdm-rx #data_user .vdm-rx__two-col > .vdm-rx__field {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
}

.vdm-rx #data_user .vdm-rx__label {
	color: #6b7378;
	font-size: 11px;
	font-weight: 500;
	line-height: 14px;
}

.vdm-rx #data_user .vdm-rx__sex {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	min-width: 0;
}

.vdm-rx #data_user .vdm-rx__sex .tag_prescription {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #1c2428;
	font-size: 11px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
}

.vdm-rx #data_user .vdm-rx__sex .tag_prescription label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
}

.vdm-rx #data_user .vdm-rx__sex input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	border: 1px solid #d0d5d8;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	vertical-align: middle;
	transition: background 0.15s, border-color 0.15s;
}

.vdm-rx #data_user .vdm-rx__sex input[type="checkbox"]:checked {
	background-color: #1c2428;
	border-color: #1c2428;
	background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%273.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2720 6 9 17 4 12%27/%3E%3C/svg%3E");
	background-size: 10px;
	background-position: center;
	background-repeat: no-repeat;
}

.vdm-rx #data_user .vdm-rx__sex input[type="checkbox"]:disabled {
	opacity: 0.4;
	cursor: default;
}

.vdm-rx #data_user .vdm-rx__sex select {
	height: 26px;
	padding: 0 6px;
	border: 1px solid #d0d5d8;
	border-radius: 8px;
	background: #fff;
	color: #1c2428;
	font-family: inherit;
	font-size: 12px;
}

.vdm-rx #data_user .vdm-rx__sex select#amenorrhea {
	width: 100px;
	flex: none;
	padding: 0 4px;
}

.vdm-rx #data_user .vdm-rx__sex-native {
	display: none !important;
}

.vdm-rx #data_user .vdm-rx__sex-dd {
	position: relative;
	flex: none;
}

.vdm-rx #data_user .vdm-rx__sex-dd-btn {
	display: inline-flex;
	align-items: center;
	gap: 0px;
	height: 26px;
	min-width: 46px;
	padding: 0 5px;
	border: 1px solid #d0d5d8;
	border-radius: 8px;
	background: #fff;
	color: #1c2428;
	font-family: inherit;
	font-size: 12px;
	cursor: pointer;
	margin-left: -4px;
}

.vdm-rx #data_user .vdm-rx__sex-dd-btn:hover {
	border-color: #1c2428;
}

.vdm-rx #data_user .vdm-rx__sex-dd-cur {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.vdm-rx #data_user .vdm-rx__sex-dd-cur svg {
	width: 17px;
	height: 17px;
	color: #3c4246;
}

.vdm-rx #data_user .vdm-rx__sex-dd-chevron {
	width: 12px;
	height: 12px;
	color: #6b7378;
}

.vdm-rx #data_user .vdm-rx__sex-dd--open .vdm-rx__sex-dd-chevron {
	transform: rotate(180deg);
}

.vdm-rx #data_user .vdm-rx__sex-dd-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 30;
	display: none;
	min-width: 100%;
	padding: 4px;
	background: #fff;
	border: 1px solid #d0d5d8;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(28, 36, 40, 0.12);
}

.vdm-rx #data_user .vdm-rx__sex-dd--open .vdm-rx__sex-dd-menu {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vdm-rx #data_user .vdm-rx__sex-dd-opt {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #1c2428;
	font-family: inherit;
	font-size: 12px;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}

.vdm-rx #data_user .vdm-rx__sex-dd-opt svg {
	width: 17px;
	height: 17px;
	color: #3c4246;
}

.vdm-rx #data_user .vdm-rx__sex-dd-opt:hover {
	background: #eff1f2;
}

.vdm-rx #data_user .vdm-rx__sex-dd-opt--on {
	background: #1c2428;
	color: #fff;
}

.vdm-rx #data_user .vdm-rx__sex-dd-opt--on svg {
	color: #fff;
}

.vdm-rx #data_user .vdm-rx__meter {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	min-width: 0;
	width: 100%;
}

.vdm-rx #data_user .vdm-rx__meter input[type="range"] {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 26px;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.vdm-rx #data_user .vdm-rx__meter input[type="range"]::-webkit-slider-runnable-track {
	height: 4px;
	margin-top: 11px;
	border-radius: 999px;
	background: #e3e5e8;
}

.vdm-rx #data_user .vdm-rx__meter input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	margin-top: -5px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #1c2428;
}

.vdm-rx #data_user .vdm-rx__meter input[type="range"]::-moz-range-track {
	height: 4px;
	border-radius: 999px;
	background: #e3e5e8;
}

.vdm-rx #data_user .vdm-rx__meter input[type="range"]::-moz-range-thumb {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #1c2428;
}

.vdm-rx #data_user .vdm-rx__meter input[type="range"]:disabled {
	opacity: 0.45;
	cursor: default;
}

.vdm-rx #data_user .vdm-rx__meter input[type="number"] {
	flex: none;
	width: 56px !important;
	height: 26px;
	margin: 0 !important;
	padding: 0 6px;
	border: 1px solid #d0d5d8 !important;
	border-radius: 8px;
	background: #fff !important;
	color: #1c2428;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	box-sizing: border-box;
}

.vdm-rx #data_user .vdm-rx__unit {
	flex: none;
	min-width: 36px;
	color: #6b7378;
	font-size: 11px;
	line-height: 14px;
}

.vdm-rx #data_user .vdm-rx__split {
	height: 0;
	margin: 2px 0;
	border: none;
	border-top: 1px solid #e8eaec;
}

.vdm-rx #data_user .vdm-rx__stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	min-width: 0;
	
}

.vdm-rx #data_user .vdm-rx__stack .vdm-rx__meter {
	width: 100%;
}

.vdm-rx #data_user ul.list-patholo-aller {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch;
	gap: 2px;
	width: 100% !important;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vdm-rx #data_user ul.list-patholo-aller li {
	display: flex !important;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	color: #1c2428;
	font-size: 9px;
	font-weight: 500;
	line-height: 14px;
}

.vdm-rx #data_user ul.list-patholo-aller li .removeiconsmall {
	margin-left: auto;
	flex: none;
	width: 11px;
	height: 11px;
	cursor: pointer;
	background: none;
	background-color: #5c6368;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.vdm-rx #data_user a.puntero {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 !important;
	color: #000;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	text-decoration: none;
}

.vdm-rx #checker_window #data_user a.puntero .vdm-rx__ico {
	width: 10px !important;
	height: 10px !important;
}

.vdm-rx #presc_list {
	flex: 1 1 auto;
	width: 100%;
	height: auto;
	max-height: none;
	margin: 0;
	padding: 4px 8px 8px;
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
	border: 2px solid #e8eaec;
	border-top: none;
	border-radius: 0 0 12px 12px;
	box-sizing: border-box;
}

.vdm-rx #presc_list > ul {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Spinner al anadir medicamento: sustituye el gif guide_load.gif de #load_previous */
.vdm-rx #presc_list #load_previous {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 10px 0 10px 2px;
	list-style: none;
}

.vdm-rx #presc_list #load_previous img {
	display: none;
}

.vdm-rx #presc_list #load_previous::before {
	content: "";
	box-sizing: border-box;
	width: 14px;
	height: 14px;
	border: 2px solid #e8eaec;
	border-top-color: #3c4246;
	border-radius: 50%;
	animation: vdm-rx-spin 0.7s linear infinite;
}

.vdm-rx #presc_list.vdm-rx-busy li.vdm-rx__drug {
	pointer-events: none;
	opacity: 0.4;
	transition: opacity 0.2s;
}

.vdm-rx #presc_list .vdm-rx__drug {
	display: block;
	height: auto;
	margin: 0;
	padding: 4px 2px;
	border-bottom: 1px solid #eef0f1;
	list-style: none;
}

.vdm-rx .vdm-rx__group-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0 0;
	padding: 6px 10px;
	background: #eff1f2;
	border: 1px solid #d0d5d8;
	border-radius: 8px;
	list-style: none;
}

.vdm-rx .vdm-rx__group-head--dim {
	opacity: 0.4;
}

.vdm-rx .vdm-rx__group-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	min-width: 20px;
	height: 18px;
	padding: 0 4px;
	background: #d6eaf8;
	border: 1px solid #6fa8dc;
	border-radius: 4px;
	color: #2a6496;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	box-sizing: border-box;
}

.vdm-rx .vdm-rx__group-head--unknown {
	background: #faeded;
	border-color: #e6e8e9;
}

.vdm-rx .vdm-rx__group-head--unknown .vdm-rx__group-count {
	background: #fff;
}

.vdm-rx .vdm-rx__group-ico {
	display: inline-flex;
	flex: none;
	align-items: center;
	width: 14px;
	height: 14px;
	color: #b23c2c;
}

.vdm-rx .vdm-rx__group-ico svg {
	width: 100%;
	height: 100%;
}

.vdm-rx .vdm-rx__group-title {
	color: #1c2428;
	font-size: 12px;
	font-weight: 600;
}

.vdm-rx .vdm-rx__nomap {

	margin: 0 15px 4px 4px;
	color: #5c6368;
	font-size: 10px;
	margin-top: 7px;
    margin-left: 0px;

}

.vdm-rx .vdm-rx__nomap-title {
	color: #1c2428;
	font-weight: 700;
}

.vdm-rx .vdm-rx__nomap-note {
	color: #999;
	font-style: italic;
}

.vdm-rx .vdm-rx__drug-top,
.vdm-rx .vdm-rx__drug-sub {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.vdm-rx .vdm-rx__drug-sub {
	margin-top: 0px;
	flex-wrap: wrap;
	gap: 0px;
}

.vdm-rx .vdm-rx__drug-play {
	flex: none;
    width: 0;
    height: 0;
    margin-top: 6px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 5px solid #000;
}

.vdm-rx li.vdm-rx__drug--vmp .vdm-rx__drug-play {
    width: 4px;
    height: 4px;
    margin-top: 7px;
    border: none;
    background: #000;
}

.vdm-rx li.vdm-rx__drug--vmp .vdm-rx__drug-sub + ul > li:empty {
    display: none;
}

.vdm-rx .vdm-rx__drug-top .vdm-rx__aware {
	flex: none;
	width: 12px;
	height: 12px;
	margin: 2px 0 0;
}

.vdm-rx #presc_list a.vdm-rx__drug-name,
.vdm-rx #presc_list span.vdm-rx__drug-name {
	flex: 1 1 auto;
	min-width: 0;
	color: #0066ac;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
}

.vdm-rx .vdm-rx__drug-tools {
	display: inline-flex;
	align-items: center;
	flex: none;
	gap: 6px;
}

.vdm-rx .vdm-rx__drug-tools .dosesiconsmall,
.vdm-rx .vdm-rx__drug-tools .yesdosesiconsmall,
.vdm-rx .vdm-rx__drug-tools .alertdosesiconsmall,
.vdm-rx .vdm-rx__drug-tools .nodosesiconsmall,
.vdm-rx .vdm-rx__drug-tools .priscaperiodiconsmall,
.vdm-rx .vdm-rx__drug-tools .substituteiconsmall,
.vdm-rx .vdm-rx__drug-tools .tratamenticonsmall1,
.vdm-rx .vdm-rx__drug-tools .tratamenticonsmall2,
.vdm-rx .vdm-rx__drug-tools .removeiconsmall,
.vdm-rx .vdm-rx__drug-sub .tratamenticonsmall1,
.vdm-rx .vdm-rx__drug-sub .tratamenticonsmall2,
.vdm-rx .vdm-rx__drug-sub .removeiconsmall {
	width: 14px;
	height: 14px;
	margin: 0 !important;
	top: 0;
}

.vdm-rx .vdm-rx__drug-sub > br {
	display: none;
}

.vdm-rx .vdm-rx__drug-sub:not(:has(a, span)) {
	display: none;
}

.vdm-rx .vdm-rx__drug-sub + ul {
	flex: 1 1 100%;
	width: auto;
	min-width: 0;
	margin: 0;
	margin-left: 10px !important;
}

.vdm-rx .vdm-rx__drug-sub + ul {
	display: none;
}

.vdm-rx .vdm-rx__drug-sub + ul:has(li > span),
.vdm-rx .vdm-rx__drug-sub + ul:has(li > div) {
	display: block;
}

.vdm-rx .vdm-rx__drug-sub + ul > li,
.vdm-rx .vdm-rx__drug-sub + ul > li a,
.vdm-rx .vdm-rx__drug-sub + ul > li span {
	display: inline;
	width: auto !important;
	margin: 0 !important;
	color: #b4b4b4 !important;
	font-size: 10px !important;
	font-weight: 400;
	line-height: 14px;
}

/* El li de prisca en su propia linea, debajo del bloque dosis */
.vdm-rx .vdm-rx__drug-sub + ul > li[id^='prisca_'] {
	display: block !important;
	margin-top: 2px !important;
}

.vdm-rx #checker_window .priscaperiodiconsmall {
	width: 18px;
	height: 18px;
	background-image: none;
	background-color: #3c4246;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.vdm-rx #risksub {
	flex: none;
	width: 45%;
	margin: 0px 16px 8px 6px
}

.vdm-rx #riskscale {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 6px;
	width: calc(100% - 28px);
	top: 0;
	left: 0;
	min-height: 0;
	color: #3c4246;
	font-size: 12px;
}

.vdm-rx #riskscale span.scale {
	position: static;
	flex: none;
	width: auto;
	top: auto;
	right: auto;
	margin: 0;
	text-align: left;
	white-space: nowrap;
}

.vdm-rx #riskscale div {
	display: flex;
	align-items: center;
	flex: 1 1 0;
	float: none;
	width: auto;
	height: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
	position: static;
}

.vdm-rx #riskscale .vdm-risk {
	display: inline-flex;
	align-items: stretch;
	position: static;
	left: auto;
	top: auto;
	box-sizing: border-box;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 18px;
	overflow: hidden;
	border-radius: 4px;
	background: #eff1f2;
	border: 1px solid #e6e8e9;
	vertical-align: middle;
}

.vdm-rx #riskscale .vdm-risk__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	position: static;
	left: auto;
	top: auto;
	width: auto;
	height: auto;
	min-width: 18px;
	padding: 0 4px;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
}

.vdm-rx #riskscale .vdm-risk__label {
	display: inline-block;
	flex: 1;
	position: static;
	left: auto;
	top: auto;
	width: auto;
	height: auto;
	padding: 0px;
	text-align: center;
	color: #4c4c4c;
	font-size: 11px;
	font-weight: 600;
	line-height: 16px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-transform: lowercase;
}

.vdm-rx #riskscale .vdm-risk__label::first-letter {
	text-transform: uppercase;
}

.vdm-rx #riskscale .vdm-risk {
	cursor: pointer;
}

.vdm-rx #riskscale .vdm-risk::before {
	content: "";
	flex: none;
	align-self: center;
	width: 11px;
	height: 11px;
	margin-left: 4px;
	border-radius: 50%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #d0d5d8;
}

.vdm-rx #riskscale > div:not(.risk_degra) .vdm-risk::before {
	background: radial-gradient(circle, currentColor 0, currentColor 3px, #fff 3.5px);
	border: 1px solid currentColor;
}

.vdm-rx #riskscale > div:not(.risk_degra) .vdm-risk[data-level="1"]::before {
	color: #8f6b00;
}

.vdm-rx #riskscale > div:not(.risk_degra) .vdm-risk[data-level="2"]::before {
	color: #b24d00;
}

.vdm-rx #riskscale > div:not(.risk_degra) .vdm-risk[data-level="3"]::before {
	color: #b23c2c;
}

.vdm-rx #riskscale > div:not(.risk_degra) .vdm-risk[data-level="4"]::before {
	color: #a33d54;
}

.vdm-rx #riskscale > div:not(.risk_degra) .vdm-risk[data-level="6"]::before {
	color: #2a6496;
}

.vdm-rx #riskdrug {
	overflow-x: hidden;
}

.vdm-rx #riskdrug div.risk_details0,
.vdm-rx #riskdrug div.risk_details1,
.vdm-rx #riskdrug div.risk_details2,
.vdm-rx #riskdrug div.risk_details3,
.vdm-rx #riskdrug div.risk_details4,
.vdm-rx #riskdrug div.risk_details_info,
.vdm-rx #riskdrug div.risk_details_custom,
.vdm-rx #riskdrug div.risk_detailsU1 {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 6px 8px;
	padding: 0;
	border: 1px solid #d0d5d8;
	border-radius: 8px;
	overflow: hidden;
	box-sizing: border-box;
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 12px;
	line-height: 16px;
	background-color: transparent;
}

.vdm-rx #riskdrug div.risk_details1 {
	border-left: 8px solid #ffe98a;
	color: #8f6b00;
}

.vdm-rx #riskdrug div.risk_details2 {
	border-left: 8px solid #ffc078;
	color: #b24d00;
}

.vdm-rx #riskdrug div.risk_details3 {
	border-left: 8px solid #ff9b8a;
	color: #b23c2c;
}

.vdm-rx #riskdrug div.risk_details4 {
	border-left: 8px solid #f0a0b0;
	color: #a33d54;
}

.vdm-rx #riskdrug #list_iter_food div.risk_details_info,
.vdm-rx #riskdrug #list_patient_monitoring div.risk_details_info {
	border-left: 8px solid #6FA8DC;
}

.vdm-rx #riskdrug div.risk_details {
	float: none;
	width: auto;
	margin: 0;
	padding: 8px 10px;
	background-color: transparent;
	border-radius: 0;
	box-sizing: border-box;
	color: #1c2428;
}

.vdm-rx #riskdrug div.risk_details div[style*="color:#000"],
.vdm-rx #riskdrug div.risk_details div[style*="color: #000"] {
	position: static !important;
	top: auto !important;
	left: auto !important;
	color: #1c2428 !important;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
}

.vdm-rx #riskdrug div.risk_line_detail,
.vdm-rx #riskdrug div.risk_line_detail span,
.vdm-rx #riskdrug div.risk_line_detail span span {
	position: static;
	margin-left: 0;
	padding: 0;
	color: #4e5b60;
	font-size: 12px;
	line-height: 16px;
}

.vdm-rx #riskdrug div.list_risk {
	position: static;
	left: auto;
}

#doses_window #alert_container {
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #1c2428;
	margin-top: 16px;
}

#doses_window #alert_container div.risk_details0,
#doses_window #alert_container div.risk_details1,
#doses_window #alert_container div.risk_details2,
#doses_window #alert_container div.risk_details3,
#doses_window #alert_container div.risk_details4,
#doses_window #alert_container div.risk_details_info,
#doses_window #alert_container div.risk_details_custom,
#doses_window #alert_container div.risk_detailsU1 {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 6px 0;
	padding: 0;
	border: 1px solid #d0d5d8;
	border-radius: 8px;
	overflow: hidden;
	box-sizing: border-box;
	font-size: 12px;
	line-height: 16px;
	background-color: transparent;
}

#doses_window #alert_container div.risk_details1 {
	border-left: 8px solid #ffe98a;
	color: #8f6b00;
}

#doses_window #alert_container div.risk_details2 {
	border-left: 8px solid #ffc078;
	color: #b24d00;
}

#doses_window #alert_container div.risk_details3 {
	border-left: 8px solid #ff9b8a;
	color: #b23c2c;
}

#doses_window #alert_container div.risk_details4 {
	border-left: 8px solid #f0a0b0;
	color: #a33d54;
}

#doses_window #alert_container div.risk_details_info {
	border-left: 8px solid #6FA8DC;
}

#doses_window #alert_container div.risk_details {
	float: none;
	width: auto;
	margin: 0;
	padding: 8px 10px;
	background-color: #fff !important;
	border-radius: 0;
	box-sizing: border-box;
	color: #1c2428;
	
}

#doses_window #alert_container div.risk_details div[style*="color:#000"],
#doses_window #alert_container div.risk_details div[style*="color: #000"] {
	position: static !important;
	top: auto !important;
	left: auto !important;
	color: #1c2428 !important;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
}

#doses_window #alert_container div.risk_line_detail,
#doses_window #alert_container div.risk_line_detail span,
#doses_window #alert_container div.risk_line_detail span span {
	position: static;
	margin-left: 0;
	padding: 0;
	color: #4e5b60;
	font-size: 12px;
	line-height: 16px;
}

.vdm-rx #riskdrug {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2px;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden	;
	background: #e6e8e9 ;
	padding: 3px 2px 3px 2px;
    border-radius: 16px;
}

.vdm-rx .vdm-rx__tabs {
	display: none;
}

.vdm-rx .vdm-rx__tab {
	appearance: none;
	flex: 1 1 0;
	width: 50%;
	margin: 0;
	padding: 8px 12px;
	text-align: center;
	border: none;
	border-bottom: 2px solid transparent;
	border-radius: 8px 8px 0 0;
	background: transparent;
	color: #6b7378;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	cursor: pointer;
}

.vdm-rx .vdm-rx__tab.is-active {
	background: #fff;
	color: #1c2428;
	
}

.vdm-rx #risk_drug_drug,
.vdm-rx #risk_drug_patient {
	float: none;
	display: flex;
	flex-direction: column;
	width: auto;
	min-width: 0;
	height: auto;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: 140px;
	overflow: hidden;
	box-sizing: border-box;
	background: #e8e8e8;;
	border: 0px solid;
	border-radius: 12px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.vdm-rx .vdm-rx__risknums {
	display: grid;
	grid-template-columns: 1fr 1fr;
	flex: none;
	gap: 8px;
	padding: 8px;
	border-top: 1px solid #dcdee0;
    border-bottom: 1px solid #dcdee0;
	background: #fff;
	border-top-right-radius: 16px;
}

.vdm-rx #risk_drug_drug .vdm-rx__risknums {
	grid-template-columns: repeat(6, 1fr);
	border-top-left-radius: 16px !important;
	border-top-right-radius: 0px !important;
}

.vdm-rx #risk_drug_patient .vdm-rx__risknums {
	border-bottom-left-radius: 0 !important;
}

.vdm-rx #risk_drug_drug .vdm-rx__risknums #risknumber {
	grid-column: span 2;
	
}

.vdm-rx #risk_drug_drug .vdm-rx__risknums #risknumber:nth-child(n + 4) {
	grid-column: span 3;
}

.vdm-rx .vdm-rx__risknums #risknumber {
	display: block;
	width: 100%;
	height: auto;
	padding: 0 !important;
	box-sizing: border-box;
}

.vdm-rx .vdm-rx__risknums #risknumber > div {
	display: flex;
	align-items: center;
	width: 100%;
	height: auto !important;
	min-height: 18px;
	overflow: visible;
	border-radius: 4px;
	box-sizing: border-box;
	background: #eff1f2 !important;
	border: 1px solid #e6e8e9 !important;
	color: #4c4c4c !important;
}

.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#FFDC2C"],
.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#ffdc2c"] {
	background: #ffe98a !important;
	border-color: #8f6b00 !important;
	color: #8f6b00 !important;
}

.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#F97D00"],
.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#f97d00"] {
	background: #ffc078 !important;
	border-color: #b24d00 !important;
	color: #b24d00 !important;
}

.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#FF4326"],
.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#ff4326"] {
	background: #ff9b8a !important;
	border-color: #b23c2c !important;
	color: #b23c2c !important;
}

.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#CF113C"],
.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#cf113c"] {
	background: #f0a0b0 !important;
	border-color: #a33d54 !important;
	color: #a33d54 !important;
}

.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#6FA8DC"],
.vdm-rx .vdm-rx__risknums #risknumber > div[style*="#6fa8dc"] {
	background: #d6eaf8 !important;
	border-color: #6FA8DC !important;
	color: #2a6496 !important;
}

.vdm-rx .vdm-rx__risknums #risknumber > div > div:first-child {
	float: none;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: auto;
	min-width: 18px;
	height: auto !important;
	padding: 0 4px;
	border-right: 0 !important;
	background: transparent !important;
	font-size: 10px;
	font-weight: 700;
	line-height: 18px;
}

.vdm-rx .vdm-rx__risknums #risknumber > div > div:last-child {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	height: auto !important;
	margin-left: 0 !important;
	padding: 2px 6px;
	background: transparent !important;
	color: inherit !important;
	font-size: 11px;
	font-weight: 600;
	line-height: 13px;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
}

.vdm-rx #risk_drug_drug > div[style*="overflow"],
.vdm-rx #risk_drug_patient > div[style*="overflow"] {
	flex: 1 1 auto;
	height: auto !important;
	min-height: 0;
	background: #fff;
}

.vdm-rx #risk_drug_drug h4:first-of-type,
.vdm-rx #risk_drug_patient h4:first-of-type {
	display: block;
	flex: none;
	margin: 0;
	padding: 12px 12px 8px;
	border-bottom: 1px solid #eef0f1;
	font-size: 13px;
	font-weight: 600;
	line-height: 16px;
	color: #1c2428;
	background: #e8e8e8;
}

.vdm-rx .vdm-rx__counts {
	display: none;
}

.vdm-rx .vdm-rx__counts #risknumber {
	display: inline-flex;
	width: auto;
	height: auto;
	padding: 0;
}

.vdm-rx #riskdrug h4 {
	margin: 8px 0 4px;
	color: #1c2428;
	font-size: 13px;
	font-weight: 600;
}

.vdm-rx #risk_drug_drug div[style*="left: -2px"],
.vdm-rx #risk_drug_patient div[style*="left: -2px"] {
	left: 0 !important;
	top: 0 !important;
	margin: 0 4px 2px;
	overflow: hidden;
}

.vdm-rx #risk_drug_drug div[style*="width: 2%"],
.vdm-rx #risk_drug_patient div[style*="width: 2%"] {
	float: left;
	position: static !important;
	top: auto !important;
	width: 16px !important;
	height: 18px;
	margin-top: 4px;
}

.vdm-rx #risk_drug_drug div[style*="margin-left: 2%"],
.vdm-rx #risk_drug_patient div[style*="margin-left: 2%"] {
	position: static !important;
	top: auto !important;
	
}

.vdm-rx #riskdrug ul,
.vdm-rx #riskdrug ul li {
	list-style: none;
	list-style-image: none;
	color: #1c2428;
	border: 0;

}

.vdm-rx #riskdrug ul {
	margin: 4px 0 8px;
	padding: 0;
}

.vdm-rx #riskdrug ul li {
	height: auto;
	min-height: 22px;
	margin: 0 0 6px;
	padding: 2px 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	box-sizing: border-box;
}

.vdm-rx #riskdrug ul li .nb_alert {
	margin-left: 4px;
	color: #6b7378;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
}

.vdm-rx #riskdrug ul li.vdm-rx__fold {
	position: relative;
	height: auto;
	margin: 0 0 6px;
	padding: 2px 0 2px 22px;
	cursor: pointer;
}

.vdm-rx #riskdrug ul li.vdm-rx__fold::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	background-color: #3c4246;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transform: rotate(0deg);
	transition: transform 160ms ease;
}

.vdm-rx #riskdrug ul li.vdm-rx__fold[aria-expanded="true"]::before {
	transform: rotate(90deg);
}

.vdm-rx #checker_window .removeiconsmall,
.vdm-rx #checker_window .removeallicon,
.vdm-rx #checker_window .dosesiconsmall,
.vdm-rx #checker_window .yesdosesiconsmall,
.vdm-rx #checker_window .alertdosesiconsmall,
.vdm-rx #checker_window .nodosesiconsmall,
.vdm-rx #checker_window .substituteiconsmall,
.vdm-rx #checker_window .tratamenticonsmall1,
.vdm-rx #checker_window .tratamenticonsmall2,
.vdm-rx #checker_window .plus,
.vdm-rx #checker_window .minus {
	background-image: none;
	background-color: #3c4246;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.vdm-rx #checker_window .removeiconsmall,
.vdm-rx #checker_window .removeallicon {
	width: 18px;
	height: 18px;
	top: 0;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.vdm-rx #checker_window .dosesiconsmall,
.vdm-rx #checker_window .yesdosesiconsmall,
.vdm-rx #checker_window .alertdosesiconsmall,
.vdm-rx #checker_window .nodosesiconsmall {
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 0;
	top: 0;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cg transform='translate(12 12) rotate(-40)'%3E%3Crect x='-3.1' y='-7.4' width='6.2' height='14.8' rx='3.1'/%3E%3Cpath d='M-3.1 0h6.2v4.3a3.1 3.1 0 0 1-6.2 0z' fill='black' stroke='none'/%3E%3Cpath d='M-3.1 0h6.2'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cg transform='translate(12 12) rotate(-40)'%3E%3Crect x='-3.1' y='-7.4' width='6.2' height='14.8' rx='3.1'/%3E%3Cpath d='M-3.1 0h6.2v4.3a3.1 3.1 0 0 1-6.2 0z' fill='black' stroke='none'/%3E%3Cpath d='M-3.1 0h6.2'/%3E%3C/g%3E%3C/svg%3E");
}

.vdm-rx #checker_window .alertdosesiconsmall,
.vdm-rx #checker_window .nodosesiconsmall {
	opacity: 0.35;
}

.vdm-rx #checker_window .substituteiconsmall {
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 0;
	top: 0;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h11l-3-3'/%3E%3Cpath d='M17 17H6l3 3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h11l-3-3'/%3E%3Cpath d='M17 17H6l3 3'/%3E%3C/svg%3E");
}

.vdm-rx #checker_window .tratamenticonsmall1,
.vdm-rx #checker_window .tratamenticonsmall2 {
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 0;
	top: 0;
	background-color: #3c4246;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.2-5.5'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.2-5.5'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E");
}

.vdm-rx #checker_window .tratamenticonsmall2 {
	opacity: 0.45;
}

.vdm-rx #checker_window #adddrugslnk .vdm-rx__ico,
.vdm-rx #checker_window #clearalldrugs .removeallicon {
	width: 14px;
	height: 14px;
}

.vdm-rx #checker_window .vdm-rx__drug-tools .dosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .yesdosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .alertdosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .nodosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .priscaperiodiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .substituteiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .tratamenticonsmall1,
.vdm-rx #checker_window .vdm-rx__drug-tools .tratamenticonsmall2,
.vdm-rx #checker_window .vdm-rx__drug-tools .removeiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-sub .tratamenticonsmall1,
.vdm-rx #checker_window .vdm-rx__drug-sub .tratamenticonsmall2,
.vdm-rx #checker_window .vdm-rx__drug-sub .removeiconsmall {
	width: 14px;
	height: 14px;
}

.vdm-rx #checker_window .vdm-rx__drug-tools .dosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .yesdosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .alertdosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .nodosesiconsmall {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07.07l1.7-1.7a5 5 0 0 0-7.07-7.07L10.2 5.8'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07-.07l-1.7 1.7a5 5 0 0 0 7.07 7.07L13.8 18.2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07.07l1.7-1.7a5 5 0 0 0-7.07-7.07L10.2 5.8'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07-.07l-1.7 1.7a5 5 0 0 0 7.07 7.07L13.8 18.2'/%3E%3C/svg%3E");
}

.vdm-rx #checker_window .vdm-rx__drug-tools .substituteiconsmall {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h9a5 5 0 0 1 5 5v7'/%3E%3Cpath d='M15 15l4 4 4-4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h9a5 5 0 0 1 5 5v7'/%3E%3Cpath d='M15 15l4 4 4-4'/%3E%3C/svg%3E");
}

.vdm-rx #checker_window .vdm-rx__drug-tools .dosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .yesdosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .alertdosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .nodosesiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .substituteiconsmall,
.vdm-rx #checker_window .vdm-rx__drug-tools .tratamenticonsmall1,
.vdm-rx #checker_window .vdm-rx__drug-tools .tratamenticonsmall2,
.vdm-rx #checker_window .vdm-rx__drug-tools .removeiconsmall {
	background-image: none;
	background-color: #5e686e;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	cursor: pointer;
}

.vdm-rx #checker_window .vdm-rx__drug-tools .alertdosesiconsmall {
	background-color: #e03131;
}

.vdm-rx #checker_window .vdm-rx__drug-tools .nodosesiconsmall {
	background-color: #c5c9cc;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.84 12.25l1.72-1.71a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M5.17 11.75l-1.71 1.71a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3Cpath d='M8 2v3'/%3E%3Cpath d='M2 8h3'/%3E%3Cpath d='M16 19v3'/%3E%3Cpath d='M19 16h3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.84 12.25l1.72-1.71a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M5.17 11.75l-1.71 1.71a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3Cpath d='M8 2v3'/%3E%3Cpath d='M2 8h3'/%3E%3Cpath d='M16 19v3'/%3E%3Cpath d='M19 16h3'/%3E%3C/svg%3E");
}

.vdm-rx #checker_window .vdm-rx__drug-tools .tratamenticonsmall1 {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E");
}

.vdm-rx #checker_window .vdm-rx__drug-tools .tratamenticonsmall2 {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

.vdm-rx #checker_window .vdm-rx__drug-tools .removeiconsmall {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E");
}

.vdm-rx .vdm-guide-tip {
	position: relative;
	display: inline-flex;
	padding: 3px;
	border-radius: 6px;
}

.vdm-rx .vdm-rx__drug-top .vdm-guide-tip {
	align-items: center;
}

.vdm-rx .vdm-rx__drug-top .vdm-guide-tip .vdm-rx__aware {
	display: block;
	width: 14px;
	height: 14px;
	margin: 0;
}

.vdm-rx .vdm-guide-tip:hover {
	background: #eff1f2;
}

.vdm-rx .vdm-guide-tip::after {
	content: attr(data-tip);
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 30;
	display: block;
	box-sizing: border-box;
	width: max-content;
	max-width: 240px;
	padding: 8px 12px;
	background: #fff;
	color: hsl(200, 18%, 13%);
	border: 2px solid #e4e7ea;
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	text-align: left;
	white-space: normal;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.vdm-rx .vdm-guide-tip::before {
	content: "";
	position: absolute;
	top: calc(100% + 3px);
	right: 4px;
	z-index: 31;
	display: block;
	width: 10px;
	height: 10px;
	background: #fff;
	border-left: 2px solid #e4e7ea;
	border-top: 2px solid #e4e7ea;
	transform: rotate(45deg);
	transform-origin: center;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.vdm-rx .vdm-guide-tip:hover::after,
.vdm-rx .vdm-guide-tip:hover::before {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.2s ease 0.8s, visibility 0s linear 0.8s;
}

.vdm-rx #checker_window .vdm-rx__spin {
	display: inline-block;
	vertical-align: middle;
}

.vdm-rx #checker_window .vdm-rx__ico {
	width: 20px;
	height: 20px;
	color: #3c4246;
	display: none !important;
}

.vdm-rx__ico {
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: none;
	vertical-align: -3px;
}

.vdm-rx__loader {
	display: inline-block;
	width: 14px;
	height: 14px;
	vertical-align: middle;
	animation: vdm-rx-spin 0.7s linear infinite;
}

#alert_updating_spin,
#dd_alert_updating_spin {
	display: none;
	margin-right: 6px;
}

#alert_updating_spin.on,
#dd_alert_updating_spin.on {
	display: inline-block;
	vertical-align: -2px;
}

.vdm-rx #checker_window .vdm-rx__sev {
	width: 16px;
	height: 16px;
}

.vdm-rx__sev {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 4px 0 0;
	vertical-align: -1px;
	color: #c5c9cc;
}

.vdm-rx__sev--0 { color: #22b14c; }
.vdm-rx__sev--1 { color: #8f6b00; }
.vdm-rx__sev--2 { color: #b24d00; }
.vdm-rx__sev--3 { color: #b23c2c; }
.vdm-rx__sev--4 { color: #a33d54; }

.vdm-rx #checker_window .vdm-rx__tree {
	width: 20px;
	height: 20px;
}

.vdm-rx__tree {
	display: inline-flex;
	width: 16px;
	height: 16px;
	margin-right: 4px;
	vertical-align: -2px;
	cursor: pointer;
	background: none;
}

.vdm-rx__tree--open .vdm-rx__tree-closed,
.vdm-rx__tree--closed .vdm-rx__tree-open {
	display: none;
}

.vdm-rx #checker_window .vdm-rx__caret {
	width: 20px;
	height: 20px;
}

.vdm-rx__caret {
	width: 16px;
	height: 16px;
	margin-right: 4px;
	cursor: pointer;
}

.vdm-rx__aware {
	display: inline-block;
	flex: none;
	width: 22px;
	height: 22px;
	margin-right: 5px;
	vertical-align: -3px;
}

.vdm-rx__excip {
	display: inline-block;
	float: right;
	width: 24px;
	height: 24px;
	margin-left: 2px;
	cursor: pointer;
}

.vdm-rx #risktitle #btn_interside,
.vdm-rx #risktitle #btn_prisca,
.vdm-rx #risktitle #pansyc {
	float: none !important;
	position: static;
	top: auto;
	left: auto;
}

.vdm-rx #checker_window #btn_interside,
.vdm-rx #checker_window #btn_prisca,
.vdm-rx #checker_window #update_error_risk_response,
.vdm-rx #checker_window #report_error_risk_response {
	border: 1px solid #e6e8e9;
	border-radius: 999px;
	background: #fff;
	color: #1c2428;
	font-family: inherit;
	font-size: 10px;
	font-weight: 500;
}


.vdm-rx #presc_list a.vdm-rx__drug-name,
.vdm-rx #presc_list span.vdm-rx__drug-name {

	color: #1c2428 !important;
	font-size: 11px !important;

}

.vdm-rx #presc_list li.vdm-rx__drug--unknown .vdm-rx__drug-name {
	color: #c0605a !important;
}

.vdm-rx #presc_list li.vdm-rx__drug--unknown .vdm-rx__nomap {
	position: relative;
    top: -7px;
}


body:has(.vdm-rx) #caddrugs .greyout {
	background: rgba(28, 36, 40, 0.45);
	opacity: 1;
}

body:has(.vdm-rx) #addrugs.popup {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	width: min(640px, calc(100vw - 48px)) !important;
	height: min(560px, calc(100vh - 48px)) !important;
	max-height: calc(100vh - 48px);
	margin: 0;
	padding: 0 !important;
	overflow: hidden;
	border: 2px solid #d0d5d8 !important;
	border-radius: 16px;
	background: #eff1f2;
	box-shadow: 0 12px 32px rgba(28, 36, 40, 0.16);
	box-sizing: border-box;
	color: #1c2428;
	font-family: "IBM Plex Sans", -apple-system, sans-serif;
}

body:has(.vdm-rx) #addrugs.popup * {
	box-sizing: border-box;
}

body:has(.vdm-rx) #addrugs > .closewindow {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	width: 32px;
	height: 32px;
	background: #e8e8e8;
	background-image: none;
	border: 1px solid #e6e6e6;
	border-radius: 999px;
	cursor: pointer;
}

body:has(.vdm-rx) #addrugs > .closewindow::before,
body:has(.vdm-rx) #addrugs > .closewindow::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 15px;
	width: 18px;
	height: 2px;
	background: #3c4246;
	border-radius: 1px;
}

body:has(.vdm-rx) #addrugs > .closewindow::before {
	transform: rotate(45deg);
}

body:has(.vdm-rx) #addrugs > .closewindow::after {
	transform: rotate(-45deg);
}

body:has(.vdm-rx) #addrugs .prescription_search {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	border: 0;
	background: transparent;
}

body:has(.vdm-rx) #addrugs #protect_layer {
	position: absolute;
	inset: 0;
	z-index: 20;
	width: auto;
	height: auto;
	border: 0;
	border-radius: 16px;
	background: rgba(28, 36, 40, 0.12);
	opacity: 1;
}

body:has(.vdm-rx) #addrugs .header {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 14px 52px 14px 18px;
	background: #e8e8e8;
	border: 0;
	border-bottom: 1px solid #d0d5d8;
	color: #1c2428;
}

body:has(.vdm-rx) #addrugs .header .vdm-add__title-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: none;
	color: #3c4246;
}

body:has(.vdm-rx) #addrugs .header h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

body:has(.vdm-rx) #addrugs .header h4::before {
	content: none;
}

body:has(.vdm-rx) #addrugs .vdm-add__search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: auto;
	height: auto;
	margin: 12px 16px 8px;
	padding: 0;
	background: transparent;
	border: 0;
}

body:has(.vdm-rx) #addrugs #input_drugs {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 36px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #d0d5d8;
	border-radius: 999px;
	background: #fff;
	color: #081217;
	font-family: inherit;
	font-size: 14px;
	outline: none;
}

body:has(.vdm-rx) #addrugs #search_drugs {
	flex: none;
	width: auto;
	height: 36px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: #192733;
	background-image: none;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 36px;
	cursor: pointer;
}

body:has(.vdm-rx) #addrugs #search_drugs:hover,
body:has(.vdm-rx) #addrugs #search_drugs:focus {
	background: #222f34;
	background-position: 0 0;
}

body:has(.vdm-rx) #addrugs .vdm-add__meta {
	display: block;
	width: auto;
	height: auto;
	margin: 0 16px 8px;
	padding: 0;
	background: transparent;
	border: 0;
	color: #5c6368;
	font-size: 12px;
	font-weight: 600;
}

body:has(.vdm-rx) #addrugs .vdm-add__meta:has(#show_all[style*="display: none"]),
body:has(.vdm-rx) #addrugs .vdm-add__meta:has(#show_all[style*="display:none"]) {
	display: none;
}

body:has(.vdm-rx) #addrugs #show_all {
	float: none;
	width: auto;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
}

body:has(.vdm-rx) #addrugs #total_all {
	color: #1c2428;
}

body:has(.vdm-rx) #addrugs .vdm-add__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: 6px;
}

body:has(.vdm-rx) #addrugs .vdm-add__filters label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
}

body:has(.vdm-rx) #addrugs #drugs-list {
	position: relative;
	flex: 1 1 auto;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0 16px 16px;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
}

body:has(.vdm-rx) #addrugs #loading_drugs {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	box-sizing: border-box;
	width: auto;
	max-width: calc(100% - 48px);
	margin: 0;
	padding: 16px 24px;
	transform: translate(-50%, -50%);
	background: #fff;
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	color: #5c6368;
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	text-align: center;
}

/* El JS pone display:block inline al buscar; forzamos flex solo con el mensaje de busqueda
   (con display block el ::before del spinner colapsa) para no dejar el cartel siempre visible,
   lo que bloquearia el click de busqueda */
body:has(.vdm-rx) #addrugs #loading_drugs:has(img) {
	display: flex !important;
}

body:has(.vdm-rx) #addrugs #loading_drugs:has(img)::before {
	content: "";
	width: 20px;
	height: 20px;
	border: 2px solid #e8eaec;
	border-top-color: #3c4246;
	border-radius: 50%;
	animation: vdm-rx-spin 0.7s linear infinite;
}

body:has(.vdm-rx) #addrugs #loading_drugs img {
	display: none !important;
}

body:has(.vdm-rx) #addrugs #loading_drugs #search_msg {
	width: auto !important;
	height: auto !important;
	background: none !important;
}

body:has(.vdm-rx) #addrugs #loading_drugs .col1,
body:has(.vdm-rx) #addrugs #loading_drugs .col2 {
	position: static !important;
}

body:has(.vdm-rx) #addrugs #loading_drugs .col2 {
	font-size: 13px !important;
	color: #5c6368 !important;
}

body:has(.vdm-rx) #addrugs #loading_drugs .col2 b {
	color: #1c2428;
}

/* Spinner al anadir medicamento: sustituye el gif throbber.gif de .loading */
body:has(.vdm-rx) #addrugs #drugs-list .loading {
	background: none;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
}

body:has(.vdm-rx) #addrugs #drugs-list .loading::before {
	content: "";
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	border: 2px solid #e8eaec;
	border-top-color: #3c4246;
	border-radius: 50%;
	animation: vdm-rx-spin 0.7s linear infinite;
}

body:has(.vdm-rx) #addrugs #drugs-list .ui-autocomplete {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: auto !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	overflow: auto;
	border: 0 !important;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
}

body:has(.vdm-rx) #addrugs #drugs-list .ui-menu-item {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body:has(.vdm-rx) #addrugs #drugs-list .ui-menu-item a {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2px 6px;
	padding: 0;
	color: #1c2428;
	font-size: 12px;
	line-height: 16px;
	text-decoration: none;
}

body:has(.vdm-rx) #addrugs #drugs-list .ui-menu-item a.ui-state-focus,
body:has(.vdm-rx) #addrugs #drugs-list .ui-menu-item a.ui-state-active {
	margin: 0;
	border: 0;
	background: #eff1f2;
	color: #1c2428;
}

body:has(.vdm-rx) #addrugs #drugs-list .addicon,
body:has(.vdm-rx) #addrugs #drugs-list .removeicon {
	position: relative;
	flex: none;
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	vertical-align: middle;
	cursor: pointer;
}

body:has(.vdm-rx) #addrugs #drugs-list .addicon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect x='3' y='2.5' width='15' height='19' rx='2.2' fill='%23f4f6f7' stroke='%23192733' stroke-width='1.5'/%3E%3Cpath d='M6.2 7.2h8.6M6.2 11h8.6M6.2 14.8h6' fill='none' stroke='%23192733' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

body:has(.vdm-rx) #addrugs #drugs-list a:hover .addicon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect x='3' y='2.5' width='15' height='19' rx='2.2' fill='%23f4f6f7' stroke='%23192733' stroke-width='1.5'/%3E%3Cpath d='M6.2 7.2h8.6M6.2 11h8.6M6.2 14.8h6' fill='none' stroke='%23192733' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='18.6' cy='18.6' r='5.6' fill='%232f9e44'/%3E%3Cpath d='M18.6 16.2v4.8M16.2 18.6h4.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

body:has(.vdm-rx) #addrugs #drugs-list .removeicon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M9.2 4.6h7.2l.5 1.8h3.3v1.5H5.8V6.4h3l.4-1.8z' fill='%235c6368'/%3E%3Crect x='6.4' y='9.2' width='13.2' height='12.2' rx='1.6' fill='%23f4f6f7' stroke='%235c6368' stroke-width='1.5'/%3E%3Cpath d='M10.4 12v6.4M15.6 12v6.4' fill='none' stroke='%235c6368' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

body:has(.vdm-rx) #addrugs #drugs-list a:hover .removeicon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M9.2 4.6h7.2l.5 1.8h3.3v1.5H5.8V6.4h3l.4-1.8z' fill='%23b42318'/%3E%3Crect x='6.4' y='9.2' width='13.2' height='12.2' rx='1.6' fill='%23f8f3f2' stroke='%23b42318' stroke-width='1.5'/%3E%3Cpath d='M10.4 12v6.4M15.6 12v6.4' fill='none' stroke='%23b42318' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

body:has(.vdm-rx) #addrugs #drugs-list ul li.vdm-add__item--busy .addicon,
body:has(.vdm-rx) #addrugs #drugs-list ul li.vdm-add__item--busy .removeicon {
	background-image: none !important;
	border: 2px solid #3c4246;
	border-right-color: transparent;
	border-radius: 50%;
	box-sizing: border-box;
	animation: vdm-rx-spin 0.7s linear infinite;
}

body:has(.vdm-rx) #addrugs #drugs-list .ui-menu-item:hover {
	background: transparent;
}

body:has(.vdm-rx) #addrugs #drugs-list ul li.vdm-add__item {
	float: none;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 4px 10px !important;
	border-bottom: 1px solid #eef0f1;
	list-style: none;
	transition: opacity 0.2s;
}

body:has(.vdm-rx) #addrugs #drugs-list.vdm-add--busy ul li.vdm-add__item {
	pointer-events: none;
	opacity: 0.4;
}

body:has(.vdm-rx) #addrugs #drugs-list.vdm-add--busy ul li.vdm-add__item--busy {
	opacity: 1;
}

body:has(.vdm-rx) #addrugs #drugs-list #suggest_cat_m {
	flex: none;
	align-self: center;
	float: none;
	width: auto;
	margin: 0 0 0 auto;
	padding: 2px 6px;
	background: #eff1f2;
	border: 0;
	border-radius: 999px;
	color: #5c6368;
	font-size: 10px;
	font-weight: 500;
	line-height: 14px;
	text-align: center;
	white-space: nowrap;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__main {
	flex: 1 1 0;
	min-width: 0;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__row {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__type {
	flex: none;
	width: 0;
	height: 0;
	margin-top: 5px;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-left: 5px solid #000;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__type--vmp {
	width: 8px;
	height: 8px;
	margin-top: 4px;
	border: none;
	background: #000;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__name {
	flex: 1 1 auto;
	min-width: 0;
	color: #192733;
	font-size: 11px;
	font-weight: 600;
	line-height: 16px;
	overflow-wrap: anywhere;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__name strong {
	font-weight: 700;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__aware,
body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__guide {
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 1px;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__guide {
	border: 1px solid #ddd;
	border-radius: 3px;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__excip {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 0;
	opacity: 0.6;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__cat {
	flex: none;
	margin-left: auto;
	color: #5c6368;
	font-size: 10px;
	line-height: 16px;
}

body:has(.vdm-rx) #addrugs #drugs-list .vdm-add__vmpname {
	display: block;
	color: #b4b4b4;
	font-size: 10px;
	font-weight: 600;
	line-height: 16px;
	overflow-wrap: anywhere;
}
.vdm-rx #checker_window .vdm-rx__drug-tools .vdm-guide-tip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0 !important;
	top: 0;
	background: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	color: #3c4246;
	cursor: pointer;
}

.vdm-rx #checker_window .vdm-rx__drug-tools .vdm-guide-tip svg {
	display: block;
	width: 14px;
	height: 14px;
	stroke-width: 1.8;
}

.vdm-rx #checker_window .vdm-rx__drug-tools .nodosesiconsmall {
	color: #b4b4b4;
	cursor: default;
}

body:has(.vdm-rx) #cdoses_window .greyout,
body:has(.vdm-rx) #cprisca_period_window .greyout {
	background: rgba(28, 36, 40, 0.45);
	opacity: 1;
}

body:has(.vdm-rx) #doses_window.popup,
body:has(.vdm-rx) #prisca_period_window.popup {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	width: min(720px, calc(100vw - 48px)) !important;
	height: auto !important;
	max-height: calc(100vh - 48px);
	margin: 0;
	padding: 0 !important;
	overflow: auto;
	border: 2px solid #d0d5d8 !important;
	border-radius: 16px;
	background: #eff1f2;
	box-shadow: 0 12px 32px rgba(28, 36, 40, 0.16);
	box-sizing: border-box;
	color: #1c2428;
	font-family: "IBM Plex Sans", -apple-system, sans-serif;
}

body:has(.vdm-rx) #doses_window.popup *,
body:has(.vdm-rx) #prisca_period_window.popup * {
	box-sizing: border-box;
}

body:has(.vdm-rx) #doses_window > .closewindow,
body:has(.vdm-rx) #prisca_period_window > .closewindow {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	width: 32px;
	height: 32px;
	background: #e8e8e8;
	background-image: none;
	border: 1px solid #e6e6e6;
	border-radius: 999px;
	cursor: pointer;
}

body:has(.vdm-rx) #doses_window > .closewindow::before,
body:has(.vdm-rx) #doses_window > .closewindow::after,
body:has(.vdm-rx) #prisca_period_window > .closewindow::before,
body:has(.vdm-rx) #prisca_period_window > .closewindow::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 15px;
	width: 18px;
	height: 2px;
	background: #3c4246;
	border-radius: 1px;
}

body:has(.vdm-rx) #doses_window > .closewindow::before,
body:has(.vdm-rx) #prisca_period_window > .closewindow::before {
	transform: rotate(45deg);
}

body:has(.vdm-rx) #doses_window > .closewindow::after,
body:has(.vdm-rx) #prisca_period_window > .closewindow::after {
	transform: rotate(-45deg);
}

body:has(.vdm-rx) #doses_window #dosage_window,
body:has(.vdm-rx) #doses_window .dosage_header,
body:has(.vdm-rx) #prisca_period_window #prisca_window,
body:has(.vdm-rx) #prisca_period_window .dosage_header {
	width: 100% !important;
	max-width: none;
	max-height: none;
	height: auto !important;
	margin: 0;
	border: 0 !important;
	background: transparent;
}

body:has(.vdm-rx) #doses_window .dosage_header_sub_class,
body:has(.vdm-rx) #prisca_period_window .dosage_header_sub_class {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	align-items: center;
	column-gap: 0;
	width: 100% !important;
	height: 55px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	color: #1c2428;
}

body:has(.vdm-rx) #doses_window #icon_dosage,
body:has(.vdm-rx) #prisca_period_window #icon_dosage {
	position: static;
	box-sizing: content-box;
	display: block;
	width: 27px;
	height: 29px;
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	padding: 11px 8px 11px 20px;
	background: #e8e8e8;
	border-bottom: 1px solid #d0d5d8;
}

body:has(.vdm-rx) #doses_window #label_dosage,
body:has(.vdm-rx) #prisca_period_window #label_dosage {
	position: static;
	top: auto;
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	padding: 14px 52px 14px 0;
	background: #e8e8e8;
	border-bottom: 1px solid #d0d5d8;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #1c2428;
}

body:has(.vdm-rx) #doses_window .menu_layer {
	display: none;
}

body:has(.vdm-rx) #doses_window #a_section,
body:has(.vdm-rx) #prisca_period_window #a_section {
	position: static;
	top: auto;
	left: auto;
	grid-column: 1 / -1;
	grid-row: 2;
	width: auto;
	margin: 0;

	background: #eff1f2;
}

body:has(.vdm-rx) #doses_window .dosage_sub_header,
body:has(.vdm-rx) #prisca_period_window .dosage_sub_header {
	width: auto !important;
	min-height: 0 !important;
	height: auto !important;
	
	background: #eff1f2 !important;
	border: 0 !important;
	margin: 8px 16px;
    margin: 8px 16px 16px 16px !important;

	
}

body:has(.vdm-rx) #doses_window .dosage_sub_header h4,
body:has(.vdm-rx) #prisca_period_window .dosage_sub_header h4 {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	color: #5c6368;
}

body:has(.vdm-rx) #doses_window .drug_name,
body:has(.vdm-rx) #prisca_period_window .drug_name {
	display: block;
	color: #1c2428;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

body:has(.vdm-rx) #doses_window .drug_vmp,
body:has(.vdm-rx) #prisca_period_window .drug_vmp {
	display: block;
	margin-top: 2px;
	color: #5c6368;
	font-size: 12px;
}

body:has(.vdm-rx) #doses_window .header.dosage_section:not(:has(table)) {
	display: none !important;
}

body:has(.vdm-rx) #doses_window .header.dosage_section:has(table) {
	display: block !important;
    width: auto !important;
    height: auto !important;
  
    padding: 16px !important;
    background: #fff !important;
    border: 1px solid #d0d5d8 !important;
    border-radius: 16px;
    margin-top: 16px;
}

body:has(.vdm-rx) #doses_window .header.dosage_section table {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 10px 12px;
	width: 100% !important;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body:has(.vdm-rx) #doses_window .header.dosage_section tbody,
body:has(.vdm-rx) #doses_window .header.dosage_section tr {
	display: contents;
}

body:has(.vdm-rx) #doses_window .header.dosage_section td {
	display: flex;
	align-items: center;
	width: auto !important;
	min-width: 0;
	margin: 0;
	padding: 0 !important;
	text-align: left !important;
	border: 0;
	background: transparent;
}

body:has(.vdm-rx) #doses_window .header.dosage_section td[colspan] {
	grid-column: 2 / -1;
}

body:has(.vdm-rx) #doses_window .section_label,
body:has(.vdm-rx) #prisca_period_window .section_label {
	position: static;
	color: #3c4246;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

body:has(.vdm-rx) #doses_window select.control_text_style,
body:has(.vdm-rx) #doses_window input.control_text_style,
body:has(.vdm-rx) #prisca_period_window input.control_text_style {
	width: 100% !important;
	height: 36px;
	margin: 0 !important;
	padding: 0 10px !important;
	border: 1px solid #d0d5d8 !important;
	border-radius: 8px;
	background: #fff !important;
	color: #081217;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	opacity: 1;
}

body:has(.vdm-rx) #doses_window select.control_text_style:focus,
body:has(.vdm-rx) #doses_window input.control_text_style:focus,
body:has(.vdm-rx) #prisca_period_window input.control_text_style:focus {
	outline: none;
	box-shadow: none;
}

body:has(.vdm-rx) #doses_window #opaque_layer {
	border-radius: 12px;
}

body:has(.vdm-rx) #prisca_period_window .dosage_header_sub_class {
	height: auto !important;
	align-items: stretch;
}

body:has(.vdm-rx) #prisca_period_window .header h4::before {
	content: none;
}

body:has(.vdm-rx) #prisca_period_window .vdm-prisca__form {
	display: block;
	width: auto;
	margin: 0 16px 16px;
	padding: 16px;
	background: #fff;
	border: 1px solid #d0d5d8;
	border-radius: 16px;
}

body:has(.vdm-rx) #prisca_period_window .vdm-prisca__dates {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 10px 12px;
}

body:has(.vdm-rx) #prisca_period_window .vdm-prisca__field {
	position: relative;
	min-width: 0;
}

body:has(.vdm-rx) #prisca_period_window .vdm-prisca__field input.control_text_style {
	padding-right: 28px !important;
}

body:has(.vdm-rx) #prisca_period_window .vdm-prisca__clear {
	position: absolute;
	top: 50%;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #3c4246;
	cursor: pointer;
}

body:has(.vdm-rx) #prisca_period_window .vdm-prisca__clear[hidden] {
	display: none;
}

body:has(.vdm-rx) #dosage_window .vdm-prisca__field {
	position: relative;
	min-width: 0;
}

body:has(.vdm-rx) #dosage_window .vdm-prisca__field input.control_text_style {
	padding-right: 24px !important;
}

body:has(.vdm-rx) #dosage_window .vdm-prisca__clear {
	position: absolute;
	top: 50%;
	right: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #3c4246;
	cursor: pointer;
}

body:has(.vdm-rx) #dosage_window .vdm-prisca__clear[hidden] {
	display: none;
}

body:has(.vdm-rx) .xdsoft_datetimepicker {
	padding: 12px;
	background: #fff;
	border: 1px solid #d0d5d8;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(28, 36, 40, 0.16);
	color: #1c2428;
	font-family: "IBM Plex Sans", -apple-system, sans-serif;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_label {
	background: none;
	color: #1c2428;
	font-size: 13px;
	font-weight: 600;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_label>.xdsoft_select {
	border: 1px solid #d0d5d8;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(28, 36, 40, 0.12);
	overflow: hidden;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_label>.xdsoft_select>div>.xdsoft_option {
	padding: 6px 12px;
	color: #1c2428;
	font-size: 12px;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_label>.xdsoft_select>div>.xdsoft_option:hover {
	background: #eff1f2;
	color: #1c2428;
	text-decoration: none;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_label>.xdsoft_select>div>.xdsoft_option.xdsoft_current {
	background: #1c2428;
	box-shadow: none;
	color: #fff;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_prev,
body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_next,
body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_today_button {
	background-image: none;
	opacity: 1;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_prev::before,
body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_next::before {
	content: "";
	position: absolute;
	top: 10px;
	width: 9px;
	height: 9px;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_prev::before {
	left: 5px;
	border-left: 2px solid #3c4246;
	border-bottom: 2px solid #3c4246;
	transform: rotate(45deg);
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_next::before {
	right: 5px;
	border-right: 2px solid #3c4246;
	border-top: 2px solid #3c4246;
	transform: rotate(45deg);
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_today_button {
	display: none;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar table {
	border-collapse: separate;
	border-spacing: 0 2px;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar th {
	height: 28px;
	background: none;
	border: 0;
	color: #5c6368;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar td {
	height: 28px;
	background: none;
	border: 0;
	border-radius: 8px;
	color: #1c2428;
	font-size: 12px;
	text-align: center;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar td:hover {
	background: #eff1f2;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today {
	color: #1c2428;
	font-weight: 700;
	text-decoration: underline;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current {
	background: #1c2428 !important;
	box-shadow: none;
	color: #fff !important;
	font-weight: 600;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,
body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month {
	opacity: .35;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover {
	background: none;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box {
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	overflow: hidden;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div {
	background: #fff;
	border-top: 1px solid #e6e6e6;
	color: #1c2428;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div:hover {
	background: #eff1f2;
}

body:has(.vdm-rx) .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current {
	background: #1c2428 !important;
	box-shadow: none;
	color: #fff;
}

body:has(.vdm-rx) #cvmpiter .greyout {
	background: rgba(28, 36, 40, 0.45);
	opacity: 1;
}

body:has(.vdm-rx) #vmpiter.popup {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%);
	width: min(480px, calc(100vw - 48px)) !important;
	height: auto !important;
	max-height: calc(100vh - 48px);
	margin: 0;
	padding: 28px 28px 24px !important;
	overflow: auto;
	border: 2px solid #d0d5d8 !important;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(28, 36, 40, 0.16);
	box-sizing: border-box;
	color: #3c4246;
	font-family: "IBM Plex Sans", -apple-system, sans-serif;
}

body:has(.vdm-rx) #vmpiter.popup * {
	box-sizing: border-box;
}

body:has(.vdm-rx) #vmpiter > .closewindow {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	width: 32px;
	height: 32px;
	background: #e8e8e8;
	background-image: none;
	border: 1px solid #e6e6e6;
	border-radius: 999px;
	cursor: pointer;
}

body:has(.vdm-rx) #vmpiter > .closewindow::before,
body:has(.vdm-rx) #vmpiter > .closewindow::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 15px;
	width: 18px;
	height: 2px;
	background: #3c4246;
	border-radius: 1px;
}

body:has(.vdm-rx) #vmpiter > .closewindow::before {
	transform: rotate(45deg);
}

body:has(.vdm-rx) #vmpiter > .closewindow::after {
	transform: rotate(-45deg);
}

body:has(.vdm-rx) #vmpiter.popup > div {
	width: 100% !important;
}

body:has(.vdm-rx) #vmpiter.popup > div:nth-of-type(1) {
	font-size: 15px !important;
	line-height: 1.45 !important;
	color: #1c2428 !important;
	padding-right: 40px;
	margin-bottom: 16px !important;
}

body:has(.vdm-rx) #vmpiter.popup > div:nth-of-type(2) {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px !important;
}

body:has(.vdm-rx) #vmpiter.popup > div:nth-of-type(2) span {
	position: static !important;
	left: auto !important;
	top: auto !important;
	font-size: 12px !important;
	color: #5c6368 !important;
	font-weight: 600 !important;
}

body:has(.vdm-rx) #vmpiter.popup > div:nth-of-type(2) span[style*="normal"] {
	font-weight: 400 !important;
}

body:has(.vdm-rx) #vmpiter.popup > div:nth-of-type(3) {
	font-size: 12px !important;
	line-height: 1.5 !important;
	color: #1c2428 !important;
	margin: 0 0 10px !important;
}

body:has(.vdm-rx) #vmpiter.popup > div:nth-of-type(4) {
	font-size: 12px !important;
	line-height: 1.6 !important;
	color: #3c4246 !important;
}


/* Botones anadir/borrar medicamentos como pildoras vdm (estilo adminprofiles) */
.vdm-rx #checker_window #adddrugslnk a,
.vdm-rx #checker_window #clearalldrugs {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 30px;
	margin-right: 8px;
	padding: 0 14px;
	border: 1px solid #1c2428;
	border-radius: 999px;
	background: #1c2428;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.vdm-rx #checker_window #adddrugslnk a .vdm-rx__ico,
.vdm-rx #checker_window #clearalldrugs .vdm-rx__ico {
	display: inline-block !important;
	width: 14px;
	height: 14px;
	color: #fff !important;
}

.vdm-rx #checker_window #btn_interside,
.vdm-rx #checker_window #btn_prisca {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 20px;
	border: 1px solid #1c2428;
	background: #1c2428 !important;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 0 18px;
	cursor: pointer;
	padding: 0px 16px 2px 11px;
}

.vdm-rx #checker_window #btn_interside svg,
.vdm-rx #checker_window #btn_prisca svg {
	display: inline-block;
	width: 14px;
	height: 14px;
	flex: none;
	color: #fff;
	margin-top: 2px;
}

.vdm-rx #checker_window #btn_interside:disabled,
.vdm-rx #checker_window #btn_prisca:disabled {
	opacity: 0.4;
	cursor: default;
}

.vdm-rx #checker_window #riskscale_toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
    margin: 0;
    padding: 0;
    color: #000;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    margin-left: 25px;
    font-style: italic;
    line-height: 9px;
}

.vdm-rx #checker_window #riskscale_toggle svg {
	width: 12px;
	height: 12px;
	flex: none;
}



/* ============================================================
   Modales de anadir patologias y alergias — estilo vdm
   ============================================================ */

body:has(.vdm-rx) #prescription_pathologies_opacity,
body:has(.vdm-rx) #prescription_allergies_opacity {
	background: rgba(28, 36, 40, 0.45);
	opacity: 1;
}

body:has(.vdm-rx) #prescription_pathologies_fullview,
body:has(.vdm-rx) #prescription_allergies_fullview {
	position: fixed;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	margin: 0;
	transform: translate(-50%, -50%);
}

body:has(.vdm-rx) #prescription_pathologies_window,
body:has(.vdm-rx) #prescription_allergies_window {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(480px, calc(100vw - 48px));
	height: auto;
	max-height: calc(100vh - 48px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid #d0d5d8;
	border-radius: 16px;
	background: #eff1f2;
	box-shadow: 0 12px 32px rgba(28, 36, 40, 0.16);
	box-sizing: border-box;
	color: #1c2428;
	font-family: "IBM Plex Sans", -apple-system, sans-serif;
	font-size: 12px;
}

body:has(.vdm-rx) #prescription_pathologies_window *,
body:has(.vdm-rx) #prescription_allergies_window * {
	box-sizing: border-box;
	font-family: inherit;
}

/* Cierre */
body:has(.vdm-rx) #prescription_pathologies_closewindow,
body:has(.vdm-rx) #prescription_allergies_closewindow {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	width: 32px;
	height: 32px;
	background: #e8e8e8;
	background-image: none;
	border: 1px solid #e6e6e6;
	border-radius: 999px;
	cursor: pointer;
	z-index: 5;
}

body:has(.vdm-rx) #prescription_pathologies_closewindow::before,
body:has(.vdm-rx) #prescription_pathologies_closewindow::after,
body:has(.vdm-rx) #prescription_allergies_closewindow::before,
body:has(.vdm-rx) #prescription_allergies_closewindow::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 15px;
	width: 18px;
	height: 2px;
	background: #3c4246;
	border-radius: 1px;
}

body:has(.vdm-rx) #prescription_pathologies_closewindow::before,
body:has(.vdm-rx) #prescription_allergies_closewindow::before {
	transform: rotate(45deg);
}

body:has(.vdm-rx) #prescription_pathologies_closewindow::after,
body:has(.vdm-rx) #prescription_allergies_closewindow::after {
	transform: rotate(-45deg);
}

/* Contenedor interior */
body:has(.vdm-rx) #prescription_pathologies_window div#prescription_pathologies,
body:has(.vdm-rx) #prescription_allergies_window div#prescription_allergies {
	display: flex;
	flex-direction: column;
	width: 100% !important;
	height: auto !important;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent;
}

/* Cabecera */
body:has(.vdm-rx) #prescription_pathologies-title,
body:has(.vdm-rx) #prescription_allergies-title {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 14px 52px 14px 18px;
	background: #e8e8e8;
	border: 0;
	border-bottom: 1px solid #d0d5d8;
	color: #1c2428;
}

body:has(.vdm-rx) #prescription_pathologies-title .vdm-rx__title-icon,
body:has(.vdm-rx) #prescription_allergies-title .vdm-rx__title-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: none;
	color: #3c4246;
}

body:has(.vdm-rx) #prescription_pathologies-title h4,
body:has(.vdm-rx) #prescription_allergies-title h4 {
	display: inline-flex;
	align-items: center;
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

body:has(.vdm-rx) #prescription_pathologies-title h4::before,
body:has(.vdm-rx) #prescription_allergies-title h4::before {
	content: none;
}

/* Zona de busqueda */
body:has(.vdm-rx) #prescription_pathologies-subtitle,
body:has(.vdm-rx) #prescription_allergies-subtitle {
	width: auto;
	height: auto;
	margin: 12px 16px 0;
	padding: 0;
	background: transparent;
	border: 0;
	font-size: 12px;
}

body:has(.vdm-rx) #prescription_pathologies-subtitle > span,
body:has(.vdm-rx) #prescription_allergies-subtitle > span {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	font-size: 12px;
	font-weight: 400;
}

body:has(.vdm-rx) #prescription_pathologies_window #input-prescription_pathologies,
body:has(.vdm-rx) #prescription_allergies_window #input-prescription_allergies {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	height: 36px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #d0d5d8;
	border-radius: 999px;
	background: #fff;
	color: #081217;
	font-family: inherit;
	font-size: 14px;
	outline: none;
}

body:has(.vdm-rx) #prescription_pathologies_window #search_pathologies,
body:has(.vdm-rx) #prescription_allergies_window #search_allergies {
	flex: none;
	width: auto;
	height: 36px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid #1c2428;
	border-radius: 999px;
	background: #1c2428;
	background-image: none !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

body:has(.vdm-rx) #prescription_pathologies_window #search_pathologies:hover,
body:has(.vdm-rx) #prescription_allergies_window #search_allergies:hover {
	background: #000;
	background-position: normal;
}

/* Fila de resultados encontrados y filtros */
body:has(.vdm-rx) #prescription_pathologies-subtitle > div,
body:has(.vdm-rx) #prescription_allergies-subtitle > div,
body:has(.vdm-rx) #prescription_allergies-subtitle span > div {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: auto;
	margin: 8px 0 0;
	font-size: 11px;
}

body:has(.vdm-rx) #prescription_pathologies_window #show_all_pat,
body:has(.vdm-rx) #prescription_allergies_window #show_all_alle {
	float: none;
	width: auto;
	margin: 0;
	color: #5c6368;
	font-size: 11px;
	font-weight: 500;
}

body:has(.vdm-rx) #prescription_pathologies_window #show_all_pat b,
body:has(.vdm-rx) #prescription_allergies_window #show_all_alle b {
	color: #1c2428;
}

body:has(.vdm-rx) #prescription_pathologies_window input[type="checkbox"],
body:has(.vdm-rx) #prescription_allergies_window input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 15px;
	height: 15px;
	margin: 0 4px 0 0;
	padding: 0;
	border: 1px solid #d0d5d8;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	vertical-align: middle;
	transition: background 0.15s, border-color 0.15s;
}

body:has(.vdm-rx) #prescription_pathologies_window input[type="checkbox"]:checked,
body:has(.vdm-rx) #prescription_allergies_window input[type="checkbox"]:checked {
	background: #1c2428;
	border-color: #1c2428;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}

body:has(.vdm-rx) #prescription_pathologies_window #text_mol,
body:has(.vdm-rx) #prescription_pathologies_window #text_ale,
body:has(.vdm-rx) #prescription_allergies_window #text_mol,
body:has(.vdm-rx) #prescription_allergies_window #text_ale {
	position: static;
	left: auto;
	top: auto;
	color: #1c2428;
	font-size: 11px;
	font-weight: 500;
}

/* Lista de resultados */
body:has(.vdm-rx) #prescription_pathologies-list,
body:has(.vdm-rx) #prescription_allergies-list {
	position: relative;
	flex: 1 1 auto;
	width: auto !important;
	height: auto !important;
	min-height: 200px;
	max-height: 320px;
	margin: 12px 16px 16px;
	padding: 4px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
}

body:has(.vdm-rx) #prescription_pathologies-list .ui-autocomplete,
body:has(.vdm-rx) #prescription_allergies-list .ui-autocomplete {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: auto !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	overflow: auto;
	border: 0 !important;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
}

body:has(.vdm-rx) #prescription_pathologies-list .ui-menu-item,
body:has(.vdm-rx) #prescription_allergies-list .ui-menu-item {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body:has(.vdm-rx) #prescription_pathologies-list .ui-menu-item a,
body:has(.vdm-rx) #prescription_allergies-list .ui-menu-item a {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2px 6px;
	margin: 0;
	padding: 6px 10px !important;
	height: auto !important;
	min-height: 0 !important;
	border-bottom: 1px solid #eef0f1;
	color: #1c2428;
	font-size: 12px;
	line-height: 16px;
	text-decoration: none;
}

body:has(.vdm-rx) #prescription_pathologies-list .ui-menu-item a.ui-state-focus,
body:has(.vdm-rx) #prescription_pathologies-list .ui-menu-item a.ui-state-active,
body:has(.vdm-rx) #prescription_allergies-list .ui-menu-item a.ui-state-focus,
body:has(.vdm-rx) #prescription_allergies-list .ui-menu-item a.ui-state-active {
	margin: 0;
	border: 0;
	background: #eff1f2;
	color: #1c2428;
}

body:has(.vdm-rx) #prescription_pathologies-list .ui-menu-item a > span:not(.addicon):not(#suggest_cat_m),
body:has(.vdm-rx) #prescription_allergies-list .ui-menu-item a > span:not(.addicon):not(#suggest_cat_m) {
	color: #1c2428 !important;
}

body:has(.vdm-rx) #prescription_pathologies-list .addicon,
body:has(.vdm-rx) #prescription_allergies-list .addicon {
	position: relative;
	flex: none;
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect x='3' y='2.5' width='15' height='19' rx='2.2' fill='%23f4f6f7' stroke='%23192733' stroke-width='1.5'/%3E%3Cpath d='M6.2 7.2h8.6M6.2 11h8.6M6.2 14.8h6' fill='none' stroke='%23192733' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	vertical-align: middle;
	cursor: pointer;
}

body:has(.vdm-rx) #prescription_pathologies-list a:hover .addicon,
body:has(.vdm-rx) #prescription_allergies-list a:hover .addicon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect x='3' y='2.5' width='15' height='19' rx='2.2' fill='%23f4f6f7' stroke='%23192733' stroke-width='1.5'/%3E%3Cpath d='M6.2 7.2h8.6M6.2 11h8.6M6.2 14.8h6' fill='none' stroke='%23192733' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='18.6' cy='18.6' r='5.6' fill='%232f9e44'/%3E%3Cpath d='M18.6 16.2v4.8M16.2 18.6h4.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

body:has(.vdm-rx) #prescription_pathologies-list #suggest_cat_m,
body:has(.vdm-rx) #prescription_allergies-list #suggest_cat_m {
	flex: none;
	align-self: center;
	float: none;
	width: auto !important;
	margin: 1px 0 10px auto !important;
	padding: 2px 6px !important;
	background: #eff1f2;
	border: 0;
	border-radius: 999px;
	color: #5c6368 !important;
	font-size: 10px !important;
	font-weight: 500;
	line-height: 14px;
	text-align: center;
	white-space: nowrap;
}

/* Cargando / errores */
body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies,
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies {
	display: none;
	width: auto !important;
	margin: 0;
	padding: 12px;
	font-weight: 500 !important;
	color: #b23c2c !important;
	text-align: center;
}

body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies:has(img),
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies:has(img) {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #5c6368 !important;
}

body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies img,
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies img {
	display: none !important;
}

body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies:has(img)::before,
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies:has(img)::before {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	margin: 0 auto 8px;
	border: 2px solid #e8eaec;
	border-top-color: #3c4246;
	border-radius: 50%;
	animation: vdm-rx-spin 0.7s linear infinite;
}

/* Mensaje de busqueda: mismo estilo que las demas modales (spinner + texto gris) */
body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies:has(img) #search_msg,
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies:has(img) #search_msg {
	width: auto !important;
	height: auto !important;
	background: none !important;
	font-family: "IBM Plex Sans", sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #5c6368 !important;
	text-align: center !important;
}

body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies:has(img) #search_msg > div,
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies:has(img) #search_msg > div {
	text-align: center !important;
}

body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies:has(img) #search_msg .col1,
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies:has(img) #search_msg .col1 {
	position: static !important;
}

body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies:has(img) #search_msg .col2,
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies:has(img) #search_msg .col2 {
	position: static !important;
	left: auto !important;
	top: auto !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 18px !important;
	color: #5c6368 !important;
}

/* Mensaje sin resultados: neutralizar estilos inline legacy del JS */
body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies #search_msg,
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies #search_msg {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	font-family: "IBM Plex Sans", sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 18px !important;
	color: #b23c2c !important;
	text-align: center !important;
}

body:has(.vdm-rx) #prescription_pathologies_window #loading_data_pathologies:not(:empty),
body:has(.vdm-rx) #prescription_allergies_window #loading_data_allergies:not(:empty) {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: calc(100% - 48px);
	box-sizing: border-box;
}

/* Campo patologias/alergias: boton justo tras la etiqueta */
.vdm-rx #data_user .vdm-rx__field:has(ul.list-patholo-aller) {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.vdm-rx #data_user .vdm-rx__field:has(ul.list-patholo-aller) .vdm-rx__label {
	flex: none;
	white-space: nowrap;
}

.vdm-rx #data_user .vdm-rx__field:has(ul.list-patholo-aller) .vdm-rx__stack {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	width: 100%;
}

.vdm-rx #data_user .vdm-rx__field:has(ul.list-patholo-aller) .vdm-rx__stack > a.puntero {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 18px;
	margin: 0 !important;
	padding: 0 8px;
	background: #1c2428;
	border: 1px solid #1c2428;
	border-radius: 999px;
	color: #fff !important;
	font-size: 10px;
	font-weight: 600;
	line-height: 18px;
	cursor: pointer;
}

.vdm-rx #data_user .vdm-rx__field:has(ul.list-patholo-aller) .vdm-rx__stack > a.puntero:hover {
	background: #000;
}

.vdm-rx__btn-spinner {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 4px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: vdm-rx-spin 0.7s linear infinite;
}

.vdm-rx__btn-ghost {
	visibility: hidden;
}


.vdm-rx #data_user .vdm-rx__field:has(ul.list-patholo-aller) .vdm-rx__stack > a.puntero .vdm-rx__ico {
	display: inline-block !important;
	width: 7px;
	height: 7px;
	background: #fff;
	border-radius: 50%;
	color: #1c2428;
	padding: 0;
	box-sizing: border-box;
}

.vdm-rx #data_user .vdm-rx__field:has(ul.list-patholo-aller) .vdm-rx__stack > ul {
	order: 1;
	flex: 1 1 100%;
	margin-top: 5px;
}

/* Dos columnas */
.vdm-rx #data_user .vdm-rx__two-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
	margin-top: 8px;
}