/* ==========================================================================
   MURA Core — quote widget + support chatbot
   Reads the theme's design tokens where available and falls back to the same
   literal values, so the plugin looks native even outside the MURA theme.
   ========================================================================== */

.mura-widget,
.mura-panel,
.mura-launch,
.mura-modal {
	--m-base: var( --wp--preset--color--base, #f7f6f3 );
	--m-surface: var( --wp--preset--color--surface, #eae7e0 );
	--m-white: var( --wp--preset--color--white, #fff );
	--m-contrast: var( --wp--preset--color--contrast, #2c2b29 );
	--m-ink: var( --wp--preset--color--primary, #1a1918 );
	--m-accent: var( --wp--preset--color--accent, #8b7355 );
	--m-radius: 1rem;
	--m-radius-lg: 1.75rem;
	--m-ease: cubic-bezier( 0.2, 0.7, 0.3, 1 );
	--m-font: var( --wp--preset--font-family--sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif );

	font-family: var( --m-font );
	box-sizing: border-box;
}

.mura-widget *,
.mura-panel *,
.mura-modal * {
	box-sizing: border-box;
}

/* --- shared primitives ---------------------------------------------------
   Everything below is scoped to the plugin's own components. The MURA theme
   also ships a .mura-btn, and without this scope whichever stylesheet loaded
   last would win. `:is()` raises specificity just enough to win inside the
   plugin, without leaking outside it.
   ------------------------------------------------------------------------ */

:is( .mura-widget, .mura-panel, .mura-modal ) .mura-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.75rem 1.3rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 180ms var( --m-ease ), color 180ms var( --m-ease ), border-color 180ms var( --m-ease ), transform 180ms var( --m-ease );
}

:is( .mura-widget, .mura-panel, .mura-modal ) .mura-btn--dark {
	background: var( --m-ink );
	color: var( --m-white );
}

:is( .mura-widget, .mura-panel, .mura-modal ) .mura-btn--dark:hover:not( :disabled ) {
	background: var( --m-accent );
	transform: translateY( -1px );
}

:is( .mura-widget, .mura-panel, .mura-modal ) .mura-btn--dark:disabled {
	opacity: 0.55;
	cursor: default;
}

:is( .mura-widget, .mura-panel, .mura-modal ) .mura-btn--ghost {
	background: transparent;
	border-color: var( --m-surface );
	color: var( --m-contrast );
}

:is( .mura-widget, .mura-panel, .mura-modal ) .mura-btn--ghost:hover {
	border-color: var( --m-accent );
	color: var( --m-accent );
}

:is( .mura-widget, .mura-panel ) .mura-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

:is( .mura-widget, .mura-panel ) .mura-chip {
	padding: 0.5rem 0.85rem;
	border: 1px solid var( --m-surface );
	border-radius: 999px;
	background: var( --m-white );
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var( --m-contrast );
	cursor: pointer;
	transition: border-color 160ms var( --m-ease ), background-color 160ms var( --m-ease ), color 160ms var( --m-ease ), transform 160ms var( --m-ease );
}

:is( .mura-widget, .mura-panel ) .mura-chip:hover {
	border-color: var( --m-accent );
	background: var( --m-accent );
	color: var( --m-white );
	transform: translateY( -1px );
}

:is( .mura-widget, .mura-panel, .mura-modal ) .mura-chip:focus-visible,
:is( .mura-widget, .mura-panel, .mura-modal ) .mura-btn:focus-visible {
	outline: 2px solid var( --m-accent );
	outline-offset: 2px;
}

/* --- bubbles ------------------------------------------------------------- */

.mura-row {
	display: flex;
	gap: 0.6rem;
	max-width: 88%;
	animation: mura-pop 220ms var( --m-ease ) both;
}

.mura-row--user {
	margin-left: auto;
	flex-direction: row-reverse;
}

@keyframes mura-pop {
	from { opacity: 0; transform: translateY( 6px ); }
	to   { opacity: 1; transform: translateY( 0 ); }
}

.mura-row__avatar {
	flex: none;
	width: 1.9rem;
	height: 1.9rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var( --m-white );
	border: 1px solid var( --m-surface );
	color: var( --m-accent );
}

.mura-bubble {
	padding: 0.75rem 0.9rem;
	border-radius: var( --m-radius );
	font-size: 0.875rem;
	line-height: 1.6;
}

.mura-bubble p { margin: 0; }
.mura-bubble p + p { margin-top: 0.5rem; }

.mura-bubble--agent {
	background: var( --m-white );
	border: 1px solid rgba( 0, 0, 0, 0.04 );
	border-top-left-radius: 0.3rem;
	color: var( --m-contrast );
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.03 );
}

.mura-bubble--user {
	background: var( --m-ink );
	border-top-right-radius: 0.3rem;
	color: var( --m-white );
}

.mura-bubble--error {
	background: #fdf3f2;
	border-color: #f0c9c6;
	color: #8a2b26;
}

.mura-bubble__hint {
	color: rgba( 44, 43, 41, 0.5 );
	font-style: italic;
	font-size: 0.8125rem;
}

.mura-agentbadge {
	display: inline-block;
	margin-bottom: 0.4rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: rgba( 139, 115, 85, 0.12 );
	color: var( --m-accent );
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --- typing indicator ---------------------------------------------------- */

.mura-typing {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	padding: 0.9rem 1rem;
}

.mura-typing__dot {
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: rgba( 44, 43, 41, 0.35 );
	animation: mura-bounce 1.1s infinite ease-in-out;
}

.mura-typing__dot:nth-child( 2 ) { animation-delay: 0.15s; }
.mura-typing__dot:nth-child( 3 ) { animation-delay: 0.3s; }

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

/* --- quote widget shell -------------------------------------------------- */

.mura-widget {
	display: flex;
	flex-direction: column;
	background: var( --m-white );
	border: 1px solid rgba( 255, 255, 255, 0.6 );
	border-radius: var( --m-radius-lg );
	box-shadow: 0 30px 60px -20px rgba( 0, 0, 0, 0.18 );
	overflow: hidden;
	animation: mura-rise 700ms var( --m-ease ) both;
	animation-delay: 150ms;
}

@keyframes mura-rise {
	from { opacity: 0; transform: translateY( 20px ); }
	to   { opacity: 1; transform: translateY( 0 ); }
}

.mura-widget__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.15rem 1.35rem;
	border-bottom: 1px solid var( --m-base );
	background: var( --m-white );
}

.mura-widget__avatar {
	position: relative;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var( --m-base );
	color: var( --m-accent );
}

.mura-widget__pulse {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: #2f9e5f;
	border: 2px solid var( --m-white );
}

.mura-widget__titles { display: flex; flex-direction: column; line-height: 1.35; }
.mura-widget__titles strong { font-size: 0.875rem; font-weight: 600; color: var( --m-ink ); }
.mura-widget__titles span { font-size: 0.75rem; color: rgba( 44, 43, 41, 0.5 ); }

.mura-widget__log {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	height: 21rem;
	padding: 1.25rem;
	overflow-y: auto;
	background: linear-gradient( to bottom, rgba( 247, 246, 243, 0.6 ), rgba( 247, 246, 243, 0.3 ) );
	scrollbar-width: thin;
}

.mura-widget__log::-webkit-scrollbar { width: 6px; }
.mura-widget__log::-webkit-scrollbar-thumb { background: rgba( 44, 43, 41, 0.14 ); border-radius: 3px; }

.mura-interactive {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding-left: 2.5rem;
	animation: mura-pop 260ms var( --m-ease ) both;
}

/* Once a quote is on screen the composer is hidden, so the log may grow. */
.mura-widget.has-quote .mura-widget__log {
	height: auto;
	max-height: 26rem;
}

.mura-widget__composer {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	margin: 0.9rem;
	padding: 0.5rem;
	border: 1px solid transparent;
	border-radius: var( --m-radius );
	background: var( --m-base );
	transition: border-color 180ms var( --m-ease );
}

.mura-widget__composer:focus-within { border-color: var( --m-surface ); }
.mura-widget__composer.is-disabled { opacity: 0.6; }

/* display:flex above would otherwise defeat the hidden attribute. */
.mura-widget__composer[ hidden ] { display: none; }

.mura-widget__composer textarea {
	flex: 1;
	border: 0;
	background: transparent;
	resize: none;
	padding: 0.5rem;
	font-family: inherit;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var( --m-ink );
}

.mura-widget__composer textarea:focus { outline: none; }
.mura-widget__composer textarea::placeholder { color: rgba( 44, 43, 41, 0.4 ); }

.mura-widget__send {
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0.7rem;
	background: var( --m-ink );
	color: var( --m-white );
	cursor: pointer;
	transition: background-color 200ms var( --m-ease );
}

.mura-widget__send:hover { background: var( --m-accent ); }

.mura-restart {
	margin: 0 0.9rem 0.9rem;
	padding: 0.7rem;
	border: 1px dashed var( --m-surface );
	border-radius: var( --m-radius );
	background: transparent;
	font-family: inherit;
	font-size: 0.8125rem;
	color: rgba( 44, 43, 41, 0.6 );
	cursor: pointer;
	transition: border-color 180ms var( --m-ease ), color 180ms var( --m-ease );
}

.mura-restart:hover { border-color: var( --m-accent ); color: var( --m-accent ); }

/* --- size step ----------------------------------------------------------- */

.mura-size {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 0.85rem;
	border: 1px solid var( --m-surface );
	border-radius: var( --m-radius );
	background: var( --m-white );
}

.mura-size__or {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba( 44, 43, 41, 0.4 );
}

.mura-size__fields { display: flex; align-items: flex-end; gap: 0.5rem; }
.mura-size__times { padding-bottom: 0.7rem; color: rgba( 44, 43, 41, 0.35 ); }

.mura-field { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }

.mura-field__label {
	font-size: 0.6875rem;
	font-weight: 500;
	color: rgba( 44, 43, 41, 0.55 );
}

.mura-field__input {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 0.6rem;
	border: 1px solid var( --m-surface );
	border-radius: 0.6rem;
	background: var( --m-base );
	transition: border-color 160ms var( --m-ease );
}

.mura-field__input:focus-within { border-color: var( --m-accent ); }

.mura-field__input input {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	color: var( --m-ink );
	-moz-appearance: textfield;
}

.mura-field__input input:focus { outline: none; }
.mura-field__input input::-webkit-outer-spin-button,
.mura-field__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mura-field__input input[ aria-invalid="true" ] { color: #b3261e; }

.mura-field__unit { font-size: 0.75rem; color: rgba( 44, 43, 41, 0.45 ); }

.mura-size .mura-size__go { align-self: flex-start; padding: 0.6rem 1.1rem; }

.mura-size__error { margin: 0; font-size: 0.75rem; color: #b3261e; }

/* --- quote card ---------------------------------------------------------- */

.mura-quotecard {
	padding: 1.15rem;
	border: 1px solid var( --m-surface );
	border-radius: var( --m-radius );
	background: var( --m-white );
	box-shadow: 0 14px 30px -18px rgba( 0, 0, 0, 0.22 );
}

.mura-quotecard__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.15rem;
}

.mura-quotecard__ref {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var( --m-accent );
}

.mura-quotecard__label {
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba( 44, 43, 41, 0.4 );
}

.mura-quotecard__total {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	margin: 0 0 0.6rem;
	line-height: 1;
}

.mura-quotecard__currency {
	font-size: 0.9375rem;
	font-weight: 500;
	color: rgba( 44, 43, 41, 0.5 );
}

.mura-quotecard__figure {
	font-family: var( --wp--preset--font-family--serif, Georgia, serif );
	font-size: 2.5rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var( --m-ink );
}

.mura-quotecard__summary {
	margin: 0 0 0.9rem;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: rgba( 44, 43, 41, 0.7 );
}

.mura-items { list-style: none; margin: 0 0 0.75rem; padding: 0; }

.mura-items__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0;
	border-top: 1px solid var( --m-base );
}

.mura-items__text { display: flex; flex-direction: column; gap: 0.1rem; }
.mura-items__text strong { font-size: 0.8125rem; font-weight: 600; color: var( --m-ink ); }
.mura-items__text span { font-size: 0.75rem; color: rgba( 44, 43, 41, 0.5 ); }

.mura-items__amount {
	flex: none;
	font-size: 0.875rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var( --m-ink );
}

.mura-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.75rem;
	margin-bottom: 0.75rem;
	border: 1px dashed var( --m-surface );
	border-radius: 0.65rem;
	font-size: 0.8125rem;
	color: rgba( 44, 43, 41, 0.72 );
	cursor: pointer;
}

.mura-toggle input { accent-color: var( --m-accent ); width: 1rem; height: 1rem; }

.mura-assumptions { margin-bottom: 0.75rem; }

.mura-assumptions summary {
	cursor: pointer;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba( 44, 43, 41, 0.55 );
	list-style: none;
}

.mura-assumptions summary::-webkit-details-marker { display: none; }
.mura-assumptions summary::before { content: "▸ "; color: var( --m-accent ); }
.mura-assumptions[ open ] summary::before { content: "▾ "; }

.mura-assumptions ul {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
	font-size: 0.75rem;
	line-height: 1.6;
	color: rgba( 44, 43, 41, 0.6 );
}

.mura-assumptions li { margin-bottom: 0.3rem; }

.mura-quotecard__disclaimer {
	margin: 0 0 0.9rem;
	padding: 0.6rem 0.75rem;
	border-radius: 0.6rem;
	background: rgba( 139, 115, 85, 0.09 );
	font-size: 0.6875rem;
	line-height: 1.55;
	color: #6b5a41;
}

.mura-quotecard__actions { display: flex; gap: 0.5rem; }
.mura-quotecard__actions .mura-btn { flex: 1; }

/* --- confirmation modal --------------------------------------------------- */

.mura-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: rgba( 26, 25, 24, 0.45 );
	backdrop-filter: blur( 3px );
	opacity: 0;
	transition: opacity 200ms var( --m-ease );
}

.mura-modal.is-open { opacity: 1; }

.mura-modal__panel {
	position: relative;
	width: 100%;
	max-width: 25rem;
	padding: 1.75rem;
	border-radius: var( --m-radius-lg );
	background: var( --m-white );
	box-shadow: 0 30px 60px -20px rgba( 0, 0, 0, 0.4 );
	transform: translateY( 10px ) scale( 0.985 );
	transition: transform 220ms var( --m-ease );
	text-align: left;
}

.mura-modal.is-open .mura-modal__panel { transform: translateY( 0 ) scale( 1 ); }

.mura-modal__close {
	position: absolute;
	top: 0.9rem;
	right: 0.9rem;
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: rgba( 44, 43, 41, 0.45 );
	cursor: pointer;
	transition: background-color 160ms var( --m-ease ), color 160ms var( --m-ease );
}

.mura-modal__close:hover { background: var( --m-base ); color: var( --m-ink ); }

.mura-modal__title {
	margin: 0 0 0.4rem;
	font-family: var( --wp--preset--font-family--serif, Georgia, serif );
	font-size: 1.3rem;
	font-weight: 500;
	color: var( --m-ink );
}

.mura-modal__intro {
	margin: 0 0 1.25rem;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: rgba( 44, 43, 41, 0.62 );
}

.mura-modal__form { display: flex; flex-direction: column; gap: 0.8rem; }

.mura-modal__field { display: flex; flex-direction: column; gap: 0.3rem; }

.mura-modal__label {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: rgba( 44, 43, 41, 0.7 );
}

.mura-modal__label em {
	font-style: normal;
	font-size: 0.625rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba( 44, 43, 41, 0.35 );
}

.mura-modal__field input {
	padding: 0.7rem 0.85rem;
	border: 1px solid var( --m-surface );
	border-radius: 0.65rem;
	background: var( --m-base );
	font-family: inherit;
	font-size: 0.875rem;
	color: var( --m-ink );
	transition: border-color 160ms var( --m-ease ), background-color 160ms var( --m-ease );
}

.mura-modal__field input:focus {
	outline: none;
	border-color: var( --m-accent );
	background: var( --m-white );
}

.mura-modal__error {
	margin: 0;
	font-size: 0.75rem;
	color: #b3261e;
}

.mura-modal__actions { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.mura-modal__actions .mura-btn { flex: 1; }
.mura-modal__actions--center { justify-content: center; }
.mura-modal__actions--center .mura-btn { flex: 0 0 auto; padding-inline: 2rem; }

.mura-modal__tick {
	width: 3.25rem;
	height: 3.25rem;
	margin: 0.5rem auto 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba( 47, 158, 95, 0.12 );
	color: #2f9e5f;
	animation: mura-tick 320ms var( --m-ease ) both;
}

@keyframes mura-tick {
	from { transform: scale( 0.7 ); opacity: 0; }
	to   { transform: scale( 1 ); opacity: 1; }
}

.mura-modal__tick + .mura-modal__title,
.mura-modal__tick ~ .mura-modal__intro { text-align: center; }

/* --- floating chatbot ----------------------------------------------------- */

.mura-launch {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 99990;
	width: 3.5rem;
	height: 3.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var( --m-ink );
	color: var( --m-white );
	cursor: pointer;
	box-shadow: 0 12px 28px -8px rgba( 0, 0, 0, 0.4 );
	transition: background-color 200ms var( --m-ease ), transform 200ms var( --m-ease );
}

.mura-launch:hover { background: var( --m-accent ); transform: translateY( -2px ); }
.mura-launch.is-open { background: var( --m-accent ); }

.mura-launch__icon { display: inline-flex; }

.mura-panel {
	position: fixed;
	right: 1.25rem;
	bottom: 5.25rem;
	z-index: 99991;
	width: 380px;
	max-width: calc( 100vw - 2.5rem );
	display: flex;
	flex-direction: column;
	border-radius: var( --m-radius-lg );
	background: var( --m-white );
	border: 1px solid rgba( 0, 0, 0, 0.05 );
	box-shadow: 0 30px 60px -20px rgba( 0, 0, 0, 0.32 );
	overflow: hidden;
	opacity: 0;
	transform: translateY( 12px ) scale( 0.98 );
	transform-origin: bottom right;
	transition: opacity 220ms var( --m-ease ), transform 220ms var( --m-ease );
}

.mura-panel.is-open { opacity: 1; transform: translateY( 0 ) scale( 1 ); }

.mura-panel__head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.9rem 1rem;
	background: var( --m-ink );
	color: var( --m-white );
}

.mura-panel__avatar {
	flex: none;
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.12 );
	color: var( --m-white );
}

.mura-panel__titles { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mura-panel__titles strong { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mura-panel__status {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.6875rem;
	color: rgba( 255, 255, 255, 0.55 );
}

.mura-panel__dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #4ade80; }

.mura-panel__close {
	flex: none;
	width: 1.9rem;
	height: 1.9rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: rgba( 255, 255, 255, 0.7 );
	cursor: pointer;
	transition: background-color 160ms var( --m-ease ), color 160ms var( --m-ease );
}

.mura-panel__close:hover { background: rgba( 255, 255, 255, 0.12 ); color: var( --m-white ); }

.mura-panel__log {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	height: 22rem;
	padding: 1rem;
	overflow-y: auto;
	background: var( --m-base );
	scrollbar-width: thin;
}

.mura-panel__log::-webkit-scrollbar { width: 6px; }
.mura-panel__log::-webkit-scrollbar-thumb { background: rgba( 44, 43, 41, 0.14 ); border-radius: 3px; }

.mura-chips--starters { padding-left: 2.5rem; }

.mura-panel__composer {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem;
	border-top: 1px solid var( --m-base );
	background: var( --m-white );
}

.mura-panel__composer input {
	flex: 1;
	min-width: 0;
	padding: 0.65rem 0.85rem;
	border: 1px solid var( --m-surface );
	border-radius: 999px;
	background: var( --m-base );
	font-family: inherit;
	font-size: 0.8125rem;
	color: var( --m-ink );
	transition: border-color 160ms var( --m-ease );
}

.mura-panel__composer input:focus { outline: none; border-color: var( --m-accent ); }

.mura-panel__send {
	flex: none;
	width: 2.25rem;
	height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var( --m-ink );
	color: var( --m-white );
	cursor: pointer;
	transition: background-color 180ms var( --m-ease );
}

.mura-panel__send:hover { background: var( --m-accent ); }

/* --- responsive ----------------------------------------------------------- */

@media ( max-width: 640px ) {
	.mura-widget__log { height: 18rem; }
	.mura-interactive { padding-left: 0; }
	.mura-chips--starters { padding-left: 0; }
	.mura-quotecard__figure { font-size: 2.1rem; }
	.mura-quotecard__actions { flex-direction: column; }

	.mura-panel {
		right: 0.75rem;
		left: 0.75rem;
		bottom: 4.75rem;
		width: auto;
		max-width: none;
	}

	.mura-panel__log { height: 60vh; max-height: 22rem; }
	.mura-launch { right: 0.9rem; bottom: 0.9rem; }
}

@media ( prefers-reduced-motion: reduce ) {
	.mura-widget,
	.mura-row,
	.mura-interactive,
	.mura-modal,
	.mura-modal__panel,
	.mura-panel,
	.mura-modal__tick { animation: none !important; transition: none !important; }

	.mura-typing__dot { animation-duration: 0.01ms; }
}
