/* DevGraphiq Lead Bot — frontend widget
   Everything is scoped under #dgq-bot-root so it can't collide with theme CSS. */

#dgq-bot-root {
	--dgq-brand: #4abb1a;
	--dgq-brand-dark: #3d9915;
	--dgq-brand-deep: #21540b;
	--dgq-brand-soft: #e4f6dc;
	--dgq-brand-mist: #f4fcf0;
	--dgq-ink: #0e1710;
	--dgq-ink-soft: #24352a;
	--dgq-text: #16231a;
	--dgq-muted: #6c7b6f;
	--dgq-line: #e3eade;
	--dgq-panel: #f6f9f4;
	--dgq-x: 22px;
	--dgq-y: 22px;
	--dgq-radius: 20px;
	--dgq-shadow: 0 24px 60px -18px rgba(11, 32, 14, .34), 0 4px 14px rgba(11, 32, 14, .08);
	--dgq-ease: cubic-bezier(.22, .95, .3, 1);

	position: fixed;
	top: auto;
	right: auto;
	bottom: var(--dgq-y);
	left: var(--dgq-x);
	bottom: calc( var(--dgq-y) + env( safe-area-inset-bottom, 0px ) );
	left: calc( var(--dgq-x) + env( safe-area-inset-left, 0px ) );
	z-index: 2147483000;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: var(--dgq-text);
	-webkit-font-smoothing: antialiased;
}

#dgq-bot-root.dgq-pos-right {
	top: auto;
	left: auto;
	right: var(--dgq-x);
	bottom: var(--dgq-y);
	right: calc( var(--dgq-x) + env( safe-area-inset-right, 0px ) );
	bottom: calc( var(--dgq-y) + env( safe-area-inset-bottom, 0px ) );
}

#dgq-bot-root *,
#dgq-bot-root *::before,
#dgq-bot-root *::after {
	box-sizing: border-box;
}

#dgq-bot-root button {
	touch-action: manipulation;
	font: inherit;
	color: inherit;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
	letter-spacing: inherit;
	text-transform: none;
	box-shadow: none;
	min-height: 0;
}

#dgq-bot-root input,
#dgq-bot-root textarea {
	font: inherit;
	color: inherit;
	margin: 0;
}

#dgq-bot-root :focus-visible {
	outline: 2px solid var(--dgq-brand-dark);
	outline-offset: 2px;
}

/* ---------------- Launcher ---------------- */

#dgq-bot-root .dgq-launcher {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	padding: 0;
	border-radius: 50%;
	background: #fff;
	border: 4px solid #4abb1a; /* literal fallback first */
	border-color: var(--dgq-brand);
	animation: dgq-halo 2.8s ease-in-out infinite;
	transition: transform .28s var(--dgq-ease), border-color .28s var(--dgq-ease);
	position: relative;
}

@keyframes dgq-halo {
	0%, 100% {
		box-shadow:
			0 0 16px rgba(74, 187, 26, .55),
			0 10px 26px -10px rgba(20, 70, 12, .45),
			0 0 0 0 rgba(74, 187, 26, .45);
	}
	55% {
		box-shadow:
			0 0 30px rgba(74, 187, 26, .9),
			0 13px 30px -10px rgba(20, 70, 12, .5),
			0 0 0 11px rgba(74, 187, 26, 0);
	}
}

#dgq-bot-root .dgq-launcher:hover {
	transform: translateY(-3px) scale(1.05);
	animation-play-state: paused;
	box-shadow:
		0 0 34px rgba(74, 187, 26, .95),
		0 14px 30px -10px rgba(20, 70, 12, .5);
}

#dgq-bot-root .dgq-launcher:active {
	transform: scale(.96);
}

#dgq-bot-root .dgq-launcher .dgq-open-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

#dgq-bot-root .dgq-launcher img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	display: block;
	margin: auto;
	pointer-events: none;
}

#dgq-bot-root .dgq-launcher svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: var(--dgq-brand-deep);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#dgq-bot-root .dgq-launcher .dgq-close-ico {
	display: none;
}

#dgq-bot-root.dgq-open .dgq-launcher .dgq-open-ico {
	display: none;
}

#dgq-bot-root.dgq-open .dgq-launcher .dgq-close-ico {
	display: block;
}

#dgq-bot-root .dgq-ping {
	display: none;
}

/* Calm the glow down once the chat is open. */
#dgq-bot-root.dgq-open .dgq-launcher {
	animation: none;
	border-color: var(--dgq-line);
	box-shadow: 0 8px 22px -10px rgba(20, 70, 12, .4);
}

/* Teaser bubble */

#dgq-bot-root .dgq-teaser {
	position: absolute;
	bottom: 50%;
	transform: translateY(50%) scale(.92);
	right: 76px;
	width: max-content;
	max-width: 246px;
	background: #fff;
	color: var(--dgq-text);
	padding: 12px 34px 12px 15px;
	border-radius: 16px 16px 4px 16px;
	box-shadow: var(--dgq-shadow);
	font-size: 14px;
	font-weight: 500;
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s var(--dgq-ease), transform .35s var(--dgq-ease);
	border: 1px solid var(--dgq-line);
	line-height: 1.35;
}

#dgq-bot-root.dgq-pos-left .dgq-teaser {
	right: auto;
	left: 76px;
	border-radius: 16px 16px 16px 4px;
}

#dgq-bot-root .dgq-teaser.dgq-show {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(50%) scale(1);
}

#dgq-bot-root .dgq-teaser-x {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dgq-muted);
	font-size: 15px;
	line-height: 1;
	border-radius: 50%;
}

#dgq-bot-root .dgq-teaser-x:hover {
	background: var(--dgq-panel);
}

/* ---------------- Panel ---------------- */

#dgq-bot-root .dgq-panel {
	position: absolute;
	bottom: 78px;
	right: 0;
	width: 384px;
	max-width: calc( 100vw - 32px );
	height: min(624px, calc(100vh - 130px));
	background: #fff;
	border-radius: var(--dgq-radius);
	box-shadow: var(--dgq-shadow);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(.97);
	transform-origin: bottom right;
	transition: opacity .28s var(--dgq-ease), transform .28s var(--dgq-ease), visibility .28s;
}

#dgq-bot-root.dgq-pos-left .dgq-panel {
	right: auto;
	left: 0;
	transform-origin: bottom left;
}

#dgq-bot-root.dgq-open .dgq-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

/* Header */

#dgq-bot-root .dgq-head {
	background: var(--dgq-ink);
	color: #fff;
	padding: 16px 16px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
}

#dgq-bot-root .dgq-head::after {
	content: "";
	position: absolute;
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: rgba(255, 255, 255, .08);
}

#dgq-bot-root .dgq-avatar {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex: none;
	padding: 3px;
}

#dgq-bot-root .dgq-avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

#dgq-bot-root .dgq-head-txt {
	flex: 1;
	min-width: 0;
}

#dgq-bot-root .dgq-head-name {
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -.01em;
	display: flex;
	align-items: center;
	gap: 7px;
}

#dgq-bot-root .dgq-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dgq-brand);
	box-shadow: 0 0 0 3px rgba(74, 187, 26, .22);
	flex: none;
}

#dgq-bot-root .dgq-head-sub {
	font-size: 12.5px;
	color: rgba(255, 255, 255, .68);
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#dgq-bot-root .dgq-head-btn {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .75);
	flex: none;
	transition: background .2s, color .2s;
}

#dgq-bot-root .dgq-head-btn:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

#dgq-bot-root .dgq-head-btn svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Signature: brief progress rail */

#dgq-bot-root .dgq-rail {
	background: var(--dgq-ink);
	padding: 0 16px 13px;
	color: rgba(255, 255, 255, .6);
	font-size: 11px;
	letter-spacing: .09em;
	text-transform: uppercase;
	font-weight: 600;
}

#dgq-bot-root .dgq-rail-top {
	display: flex;
	justify-content: space-between;
	margin-bottom: 7px;
}

#dgq-bot-root .dgq-rail-track {
	height: 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .14);
	overflow: hidden;
}

#dgq-bot-root .dgq-rail-fill {
	height: 100%;
	width: 0;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--dgq-brand-dark), var(--dgq-brand));
	transition: width .5s var(--dgq-ease);
}

/* Messages */

#dgq-bot-root .dgq-body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 18px 16px 8px;
	background:
		radial-gradient(circle at 100% 0, var(--dgq-brand-mist), transparent 52%),
		#fff;
	scroll-behavior: smooth;
}

#dgq-bot-root .dgq-body::-webkit-scrollbar {
	width: 6px;
}

#dgq-bot-root .dgq-body::-webkit-scrollbar-thumb {
	background: #d7e0d3;
	border-radius: 6px;
}

#dgq-bot-root .dgq-row {
	display: flex;
	margin-bottom: 9px;
	animation: dgq-rise .34s var(--dgq-ease) both;
}

#dgq-bot-root .dgq-row-user {
	justify-content: flex-end;
}

@keyframes dgq-rise {
	from { opacity: 0; transform: translateY(9px); }
	to { opacity: 1; transform: none; }
}

#dgq-bot-root .dgq-msg {
	max-width: 84%;
	padding: 10px 14px;
	border-radius: 16px 16px 16px 5px;
	background: var(--dgq-panel);
	border: 1px solid var(--dgq-line);
	font-size: 14.5px;
	line-height: 1.48;
	word-wrap: break-word;
}

#dgq-bot-root .dgq-msg strong {
	font-weight: 700;
}

#dgq-bot-root .dgq-row-user .dgq-msg {
	background: var(--dgq-brand);
	border-color: var(--dgq-brand);
	color: #0a2603;
	font-weight: 600;
	border-radius: 16px 16px 5px 16px;
}

/* Typing */

#dgq-bot-root .dgq-typing {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	padding: 13px 15px;
}

#dgq-bot-root .dgq-typing i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dgq-muted);
	animation: dgq-bounce 1.1s infinite;
}

#dgq-bot-root .dgq-typing i:nth-child(2) { animation-delay: .15s; }
#dgq-bot-root .dgq-typing i:nth-child(3) { animation-delay: .3s; }

@keyframes dgq-bounce {
	0%, 60%, 100% { transform: translateY(0); opacity: .45; }
	30% { transform: translateY(-4px); opacity: 1; }
}

/* Option chips */

#dgq-bot-root .dgq-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: flex-end;
	margin: 4px 0 12px;
	animation: dgq-rise .34s var(--dgq-ease) both;
}

#dgq-bot-root .dgq-opt {
	border: 1.5px solid var(--dgq-brand);
	color: var(--dgq-brand-deep);
	background: #fff;
	border-radius: 999px;
	padding: 8px 15px;
	font-size: 13.5px;
	font-weight: 600;
	transition: background .18s var(--dgq-ease), color .18s, transform .18s var(--dgq-ease);
	line-height: 1.3;
}

#dgq-bot-root .dgq-opt:hover {
	background: var(--dgq-brand);
	color: #0a2603;
	transform: translateY(-1px);
}

#dgq-bot-root .dgq-opt-ghost {
	border-color: var(--dgq-line);
	color: var(--dgq-muted);
}

#dgq-bot-root .dgq-opt-ghost:hover {
	background: var(--dgq-panel);
	color: var(--dgq-text);
}

/* Recommendation card */

#dgq-bot-root .dgq-card {
	background: #fff;
	border: 1px solid var(--dgq-line);
	border-left: 3px solid var(--dgq-brand);
	border-radius: 6px 16px 16px 6px;
	padding: 13px 15px;
	max-width: 92%;
	animation: dgq-rise .34s var(--dgq-ease) both;
	margin-bottom: 10px;
	box-shadow: 0 6px 18px -12px rgba(11, 32, 14, .4);
}

#dgq-bot-root .dgq-card-eyebrow {
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dgq-muted);
	font-weight: 700;
}

#dgq-bot-root .dgq-card-title {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 3px 0 5px;
	color: var(--dgq-ink);
}

#dgq-bot-root .dgq-card-body {
	font-size: 13.8px;
	line-height: 1.5;
	color: var(--dgq-ink-soft);
}

/* Brief summary sheet */

#dgq-bot-root .dgq-brief {
	border: 1px solid var(--dgq-line);
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 12px;
	animation: dgq-rise .34s var(--dgq-ease) both;
	background: #fff;
}

#dgq-bot-root .dgq-brief-head {
	background: var(--dgq-ink);
	color: #fff;
	padding: 10px 14px;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#dgq-bot-root .dgq-brief-head span {
	color: var(--dgq-brand);
}

#dgq-bot-root .dgq-brief-row {
	display: flex;
	gap: 10px;
	padding: 8px 14px;
	font-size: 13.5px;
	border-bottom: 1px dashed var(--dgq-line);
}

#dgq-bot-root .dgq-brief-row:last-child {
	border-bottom: 0;
}

#dgq-bot-root .dgq-brief-row dt {
	flex: none;
	width: 92px;
	color: var(--dgq-muted);
	font-size: 12.5px;
	margin: 0;
}

#dgq-bot-root .dgq-brief-row dd {
	margin: 0;
	font-weight: 600;
	color: var(--dgq-ink);
	word-break: break-word;
}

/* Input dock */

#dgq-bot-root .dgq-dock {
	border-top: 1px solid var(--dgq-line);
	padding: 11px 14px 12px;
	background: #fff;
	flex: none;
}

#dgq-bot-root .dgq-field {
	display: flex;
	gap: 8px;
	align-items: flex-end;
}

#dgq-bot-root .dgq-input {
	flex: 1;
	border: 1.5px solid var(--dgq-line);
	background: var(--dgq-panel);
	border-radius: 13px;
	padding: 11px 13px;
	font-size: 14.5px;
	resize: none;
	max-height: 96px;
	transition: border-color .2s, background .2s;
	width: 100%;
}

#dgq-bot-root .dgq-input:focus {
	outline: none;
	border-color: var(--dgq-brand);
	background: #fff;
}

#dgq-bot-root .dgq-input::placeholder {
	color: #9aa89b;
}

#dgq-bot-root .dgq-send {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 13px;
	background: var(--dgq-brand);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .18s var(--dgq-ease), background .18s;
}

#dgq-bot-root .dgq-send:hover {
	background: var(--dgq-brand-dark);
	transform: translateY(-1px);
}

#dgq-bot-root .dgq-send svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: #0a2603;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#dgq-bot-root .dgq-error {
	color: #c0392b;
	font-size: 12.5px;
	margin-top: 6px;
	font-weight: 600;
}

#dgq-bot-root .dgq-skip {
	background: none;
	color: var(--dgq-muted);
	font-size: 12.5px;
	font-weight: 600;
	margin-top: 8px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#dgq-bot-root .dgq-consent {
	font-size: 11.5px;
	color: var(--dgq-muted);
	line-height: 1.4;
	margin-top: 9px;
}

/* Primary CTA */

#dgq-bot-root .dgq-cta-note {
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--dgq-brand-deep);
	margin-bottom: 9px;
}

#dgq-bot-root .dgq-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	background: var(--dgq-brand);
	color: #072300;
	font-weight: 800;
	font-size: 15.5px;
	letter-spacing: -.01em;
	padding: 14px 16px;
	border-radius: 14px;
	transition: transform .18s var(--dgq-ease), box-shadow .18s var(--dgq-ease), background .18s;
	box-shadow: 0 8px 20px -8px rgba(58, 150, 20, .8);
}

/* The whole funnel now ends here, so it gets the loudest treatment on screen. */
#dgq-bot-root .dgq-cta-hero {
	font-size: 17px;
	padding: 17px 18px;
	border-radius: 16px;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--dgq-brand) 0%, var(--dgq-brand-dark) 100%);
	animation: dgq-pulse 2.4s ease-in-out infinite;
}

#dgq-bot-root .dgq-cta-hero::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-18deg);
	animation: dgq-sweep 3.4s ease-in-out infinite;
	pointer-events: none;
}

#dgq-bot-root .dgq-cta-hero svg,
#dgq-bot-root .dgq-cta-hero span {
	position: relative;
	z-index: 1;
}

@keyframes dgq-pulse {
	0%, 100% { box-shadow: 0 10px 22px -8px rgba(45, 130, 14, .75), 0 0 0 0 rgba(74, 187, 26, .5); }
	55% { box-shadow: 0 14px 28px -8px rgba(45, 130, 14, .9), 0 0 0 12px rgba(74, 187, 26, 0); }
}

@keyframes dgq-sweep {
	0%, 62% { left: -60%; }
	100% { left: 130%; }
}

#dgq-bot-root .dgq-cta:hover {
	background: var(--dgq-brand-dark);
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -10px rgba(58, 150, 20, .85);
}

#dgq-bot-root .dgq-cta-hero:hover {
	animation-play-state: paused;
	transform: translateY(-2px) scale(1.012);
}

#dgq-bot-root .dgq-cta svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
	flex: none;
}

#dgq-bot-root .dgq-cta-hero svg {
	width: 22px;
	height: 22px;
}

#dgq-bot-root .dgq-secondary {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

#dgq-bot-root .dgq-mini {
	flex: 1;
	text-align: center;
	border: 1.5px solid var(--dgq-line);
	border-radius: 12px;
	padding: 9px;
	font-size: 13px;
	font-weight: 600;
	color: var(--dgq-ink-soft);
	text-decoration: none;
	transition: border-color .18s, background .18s;
	display: block;
}

#dgq-bot-root .dgq-mini:hover {
	border-color: var(--dgq-brand);
	background: var(--dgq-brand-mist);
	color: var(--dgq-ink-soft);
}

/* Footer credit */

#dgq-bot-root .dgq-foot {
	text-align: center;
	font-size: 11px;
	color: #9aa89b;
	padding: 0 0 10px;
	background: #fff;
}

#dgq-bot-root .dgq-foot a {
	color: var(--dgq-muted);
	text-decoration: none;
	font-weight: 600;
}

/* Mobile */

/* ---------------- Phones ---------------- */

@media (max-width: 560px) {
	#dgq-bot-root,
	#dgq-bot-root.dgq-pos-left,
	#dgq-bot-root.dgq-pos-right {
		top: auto;
		left: auto;
		right: 14px;
		bottom: 14px;
		right: calc( 14px + env( safe-area-inset-right, 0px ) );
		bottom: calc( 14px + env( safe-area-inset-bottom, 0px ) );
	}

	#dgq-bot-root .dgq-launcher {
		width: 64px;
		height: 64px;
		border-width: 4px;
	}

	#dgq-bot-root .dgq-launcher img {
		width: 40px;
		height: 40px;
	}

	/* Full-screen sheet — a floating panel is unusable at this width. */
	#dgq-bot-root .dgq-panel {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		max-height: none;
		border-radius: 0;
		transform: translateY(16px);
	}

	#dgq-bot-root.dgq-open .dgq-panel {
		transform: none;
	}

	#dgq-bot-root .dgq-head {
		padding: calc( 14px + env( safe-area-inset-top, 0px ) ) 14px 12px;
		gap: 11px;
	}

	#dgq-bot-root .dgq-avatar {
		width: 40px;
		height: 40px;
	}

	#dgq-bot-root .dgq-head-name {
		font-size: 16.5px;
	}

	#dgq-bot-root .dgq-head-sub {
		font-size: 12px;
	}

	/* 44px tap targets */
	#dgq-bot-root .dgq-head-btn {
		width: 40px;
		height: 40px;
	}

	#dgq-bot-root .dgq-head-btn svg {
		width: 19px;
		height: 19px;
	}

	#dgq-bot-root .dgq-rail {
		padding: 0 14px 12px;
	}

	#dgq-bot-root .dgq-body {
		padding: 16px 14px 6px;
		-webkit-overflow-scrolling: touch;
	}

	#dgq-bot-root .dgq-msg {
		max-width: 88%;
		font-size: 15px;
		padding: 11px 14px;
	}

	#dgq-bot-root .dgq-opt {
		padding: 11px 16px;
		font-size: 14.5px;
		min-height: 44px;
		display: flex;
		align-items: center;
	}

	#dgq-bot-root .dgq-card {
		max-width: 100%;
	}

	#dgq-bot-root .dgq-card-title {
		font-size: 18px;
	}

	#dgq-bot-root .dgq-brief-row {
		padding: 9px 13px;
	}

	#dgq-bot-root .dgq-brief-row dt {
		width: 78px;
		font-size: 12px;
	}

	#dgq-bot-root .dgq-dock {
		padding: 11px 14px 12px;
	}

	#dgq-bot-root .dgq-input {
		font-size: 16px; /* stops iOS zooming the page on focus */
		padding: 12px 14px;
	}

	#dgq-bot-root .dgq-send {
		width: 48px;
		height: 48px;
	}

	#dgq-bot-root .dgq-cta-hero {
		font-size: 16.5px;
		padding: 16px;
	}

	#dgq-bot-root .dgq-mini {
		padding: 11px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#dgq-bot-root .dgq-teaser {
		max-width: 210px;
		font-size: 13.5px;
		padding: 11px 30px 11px 13px;
	}

	#dgq-bot-root.dgq-open .dgq-launcher,
#dgq-bot-root.dgq-open .dgq-teaser {
		opacity: 0;
		pointer-events: none;
	}

	#dgq-bot-root .dgq-foot {
		padding-bottom: calc( 8px + env( safe-area-inset-bottom, 0px ) );
	}
}

/* Small phones */
@media (max-width: 360px) {
	#dgq-bot-root .dgq-head-name { font-size: 15.5px; }
	#dgq-bot-root .dgq-opt { font-size: 13.5px; padding: 10px 13px; }
	#dgq-bot-root .dgq-cta-hero { font-size: 15.5px; padding: 15px; }
	#dgq-bot-root .dgq-brief-row dt { width: 68px; }
	#dgq-bot-root .dgq-launcher { width: 60px; height: 60px; }
	#dgq-bot-root .dgq-launcher img { width: 37px; height: 37px; }
}

/* Landscape phones — vertical space is the scarce thing here */
@media (max-height: 480px) and (orientation: landscape) and (max-width: 900px) {
	#dgq-bot-root .dgq-panel {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		border-radius: 0;
	}

	#dgq-bot-root .dgq-rail {
		display: none;
	}

	#dgq-bot-root .dgq-head {
		padding: 10px 14px 9px;
	}

	#dgq-bot-root .dgq-body {
		padding-top: 12px;
	}
}

/* Stop the page behind scrolling while the sheet is open */
html.dgq-lock,
html.dgq-lock body {
	overflow: hidden;
	height: 100%;
}

#dgq-bot-root .dgq-hidden {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	#dgq-bot-root *,
#dgq-bot-root *::before,
#dgq-bot-root *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .06s !important;
		scroll-behavior: auto !important;
	}
}
