#ph-consent-banner{
	position:fixed;
	left:4px;
	bottom:4px;
	z-index:999999;
	width:min(550px,calc(100vw - 8px));
	box-sizing:border-box;
	padding:28px 32px 24px;
	background:#fff;
	color:#292929;
	border:1px solid #e8e8e8;
	border-radius:9px;
	box-shadow:0 8px 28px rgba(0,0,0,.16);
	font-family:Arial,Helvetica,sans-serif
}

#ph-consent-banner[hidden],
#ph-privacy-button[hidden],
.ph-main-view[hidden],
.ph-settings-view[hidden]{
	display:none!important
}

#ph-consent-banner h2{
	margin:0 0 18px;
	color:#292929;
	font-size:22px;
	line-height:1.25;
	font-weight:700
}

#ph-consent-banner p{
	margin:0 0 24px;
	font-size:16px;
	line-height:1.72;
	color:#343434
}

.ph-consent-actions{
	display:grid;
	grid-template-columns:108px 171px 1fr;
	gap:10px
}

.ph-btn{
	min-height:54px;
	box-sizing:border-box;
	padding:10px 15px;
	border-radius:2px;
	font:600 16px/1.2 Arial,Helvetica,sans-serif;
	cursor:pointer;
	transition:background-color .15s ease,color .15s ease,border-color .15s ease
}

.ph-btn-outline{
	background:#fff;
	color:#2463df;
	border:2px solid #2463df
}

.ph-btn-outline:hover{
	background:#f5f8ff
}

.ph-btn-primary{
	background:#2463df;
	color:#fff;
	border:2px solid #2463df
}

.ph-btn-primary:hover{
	background:#1d55c5;
	border-color:#1d55c5
}

.ph-btn:focus-visible,
.ph-policy-link:focus-visible,
#ph-privacy-button:focus-visible,
.ph-switch input:focus-visible + .ph-slider{
	outline:3px solid rgba(36,99,223,.35);
	outline-offset:2px
}

.ph-setting-row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:18px;
	padding:16px 0;
	border-top:1px solid #ececec
}

.ph-setting-row strong{
	display:block;
	margin-bottom:4px;
	font-size:16px
}

.ph-setting-row span{
	display:block;
	font-size:13px;
	line-height:1.45;
	color:#666
}

.ph-always-on,
.ph-not-active{
	white-space:nowrap;
	font-weight:600
}

.ph-setting-disabled{
	opacity:.72
}

.ph-settings-footer{
	padding-top:18px;
	border-top:1px solid #ececec
}

.ph-policy-link{
	display:inline-block;
	margin-bottom:16px;
	color:#2463df;
	text-decoration:underline
}

.ph-settings-buttons{
	display:flex;
	justify-content:flex-end;
	gap:10px
}

.ph-switch{
	position:relative;
	flex:0 0 auto;
	width:46px;
	height:26px
}

.ph-switch input{
	opacity:0;
	width:0;
	height:0
}

.ph-slider{
	position:absolute;
	inset:0;
	cursor:pointer;
	background:#cfcfcf;
	border-radius:999px;
	transition:.2s
}

.ph-slider:before{
	content:"";
	position:absolute;
	width:20px;
	height:20px;
	left:3px;
	top:3px;
	background:#fff;
	border-radius:50%;
	box-shadow:0 1px 4px rgba(0,0,0,.25);
	transition:.2s
}

.ph-switch input:checked + .ph-slider{
	background:#2463df
}

.ph-switch input:checked + .ph-slider:before{
	transform:translateX(20px)
}

#ph-privacy-button{
	position:fixed;
	left:10px;
	bottom:10px;
	z-index:999998;
	border:1px solid #dadada;
	background:#fff;
	color:#555;
	border-radius:4px;
	padding:6px 9px;
	font:12px/1 Arial,Helvetica,sans-serif;
	cursor:pointer;
	box-shadow:0 2px 8px rgba(0,0,0,.08)
}

@media (max-width:600px){
	#ph-consent-banner{
		left:8px;
		right:8px;
		bottom:8px;
		width:auto;
		padding:22px 20px
	}
	.ph-consent-actions{
		grid-template-columns:1fr;
	}
	.ph-btn{
		width:100%;
	}
	.ph-setting-row{
		align-items:flex-start
	}
	.ph-settings-buttons{
		flex-direction:column
	}
}
