/* Customer-service form (design A): one card with topic chips + a side panel. Replaces VFB Pro. */
.mm-req {
	--rq-ink: #111318;
	--rq-ink2: #2E323B;
	--rq-muted: #5B606B;
	--rq-soft: #8A8F99;
	--rq-line: #E6E4DD;
	--rq-line2: #D6D3CA;
	--rq-tint: #F7F7F4;
	--rq-yellow: #FFC22E;
	--rq-yellow-h: #F5B000;
	--rq-yellow-soft: #FFF3D1;
	--rq-green: #16804A;
	--rq-green-soft: #E3F4EA;
	--rq-red: #C62828;
	--rq-red-soft: #FDECEC;
	color: var(--rq-ink);
	font-family: inherit;
	line-height: 1.5;
	text-align: right;
	margin: 0 0 20px;
}
.mm-req [hidden] { display: none !important; }
.mm-req *, .mm-req *::before, .mm-req *::after { box-sizing: border-box; }
.mm-req-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mm-req-ico--fill { fill: currentColor; stroke: none; }

.mm-req__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.mm-req__card { background: #fff; border: 1px solid var(--rq-line); border-radius: 18px; padding: 22px; }
.mm-req__form { display: grid; gap: 18px; margin: 0; }
.mm-req__head h2 { margin: 0; font-size: 21px; font-weight: 700; color: var(--rq-ink); }
.mm-req__head p { margin: 4px 0 0; color: var(--rq-muted); font-size: 14px; }

/* Fields */
.mm-req__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mm-req__id { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mm-req__full { grid-column: 1 / -1; }
.mm-req__fld { display: grid; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.mm-req legend.mm-req__lbl { border: 0; width: auto; text-transform: none; letter-spacing: 0; }
.mm-req .mm-req__lbl { display: block; float: none; width: auto; margin: 0 0 6px; padding: 0; font-size: 14px; font-weight: 600; color: var(--rq-ink); }
.mm-req__star { color: var(--rq-red); margin-right: 2px; }
.mm-req__opt { font-weight: 400; color: var(--rq-soft); font-size: 12.5px; margin-right: 4px; }
.mm-req .mm-req__inp {
	width: 100%; height: auto; min-height: 48px; margin: 0; padding: 10px 14px;
	border: 1px solid var(--rq-line2); border-radius: 12px; background: #fff; box-shadow: none;
	font-size: 15.5px; color: var(--rq-ink); line-height: 1.4;
}
.mm-req select.mm-req__inp { padding-left: 34px; background-position: left 12px center; }
.mm-req .mm-req__ta { min-height: 120px; resize: vertical; }
.mm-req .mm-req__inp::placeholder { color: var(--rq-soft); opacity: 1; }
.mm-req .mm-req__inp:focus { border-color: var(--rq-ink); outline: none; box-shadow: 0 0 0 3px var(--rq-yellow-soft); }
.mm-req .mm-req__ltr { direction: ltr; text-align: right; }
.mm-req .mm-req__ltr::placeholder { text-align: right; }
.mm-req__fld.is-bad .mm-req__inp { border-color: var(--rq-red); background: var(--rq-red-soft); }
.mm-req__err { margin: 6px 0 0; color: var(--rq-red); font-size: 13px; }

/* Topic chips (radio buttons) */
.mm-req__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-req .mm-req__chip { position: relative; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 8px 14px; border: 1px solid var(--rq-line2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--rq-ink); cursor: pointer; }
.mm-req__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.mm-req__chip .mm-req-ico { width: 17px; height: 17px; }
.mm-req__chip:hover { border-color: var(--rq-ink); }
.mm-req__chip:has(input:focus-visible) { outline: 2px solid #2B4FB8; outline-offset: 2px; }
.mm-req__chip.is-on { background: var(--rq-ink); border-color: var(--rq-ink); color: #fff; }
.mm-req__chip--cancel.is-on { background: var(--rq-red); border-color: var(--rq-red); }
.mm-req__fld.is-bad .mm-req__chip { border-color: var(--rq-red); }

/* Logged-in customer */
.mm-req__who { display: flex; align-items: center; gap: 12px; background: var(--rq-tint); border: 1px solid var(--rq-line); border-radius: 14px; padding: 12px 14px; }
.mm-req__av { width: 38px; height: 38px; border-radius: 50%; background: var(--rq-yellow); display: grid; place-items: center; font-weight: 700; flex: none; }
.mm-req__who-t { flex: 1; min-width: 0; font-size: 14px; }
.mm-req__who-t b { font-size: 15px; }
.mm-req__who-t > span { display: block; color: var(--rq-muted); font-size: 13px; overflow-wrap: anywhere; }
.mm-req .mm-req__link { margin: 0; padding: 0; min-height: 0; border: 0; background: none; color: var(--rq-ink); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; }

/* Send */
.mm-req__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mm-req__alert { background: var(--rq-red-soft); color: var(--rq-red); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.mm-req__send { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mm-req .mm-req__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin: 0; padding: 0 28px; border: 0; border-radius: 12px; background: var(--rq-yellow); color: var(--rq-ink); font-size: 16px; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; text-decoration: none; }
.mm-req .mm-req__btn:hover { background: var(--rq-yellow-h); color: var(--rq-ink); }
.mm-req .mm-req__btn[disabled] { opacity: .65; cursor: progress; }
.mm-req .mm-req__btn--ghost { background: #fff; border: 1px solid var(--rq-line2); }
.mm-req .mm-req__btn--ghost:hover { background: var(--rq-tint); }
.mm-req__fine { margin: 0; font-size: 12.5px; color: var(--rq-muted); }
.mm-req__fine a { color: var(--rq-ink); text-decoration: underline; text-underline-offset: 3px; }
.mm-req button:focus-visible, .mm-req a:focus-visible { outline: 2px solid #2B4FB8; outline-offset: 2px; }

/* Side panel */
.mm-req__side { display: grid; gap: 12px; }
.mm-req__side .mm-req__card { padding: 18px; display: grid; gap: 12px; }
.mm-req__side h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--rq-ink); }
.mm-req__note { display: none !important; background: var(--rq-red-soft) !important; border-color: #F3C9C9 !important; }
.mm-req.is-cancel .mm-req__note { display: grid !important; }
.mm-req__note p { margin: 0; font-size: 13.5px; color: var(--rq-ink2); }
.mm-req__note a { color: var(--rq-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.mm-req__way { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--rq-ink); text-decoration: none; }
a.mm-req__way:hover b { text-decoration: underline; }
.mm-req__way > span:last-child { min-width: 0; }
.mm-req__way b { display: block; font-size: 14.5px; }
.mm-req__way span span, .mm-req__way bdi { color: var(--rq-muted); font-size: 13px; }
.mm-req__ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--rq-tint); color: var(--rq-ink); }
.mm-req__ic--wa { background: var(--rq-green-soft); color: var(--rq-green); }
.mm-req .mm-req__status { display: inline-flex; align-items: center; gap: 5px; }
.mm-req .mm-req__status.is-open { color: var(--rq-green); font-weight: 600; font-size: 12.5px; }
.mm-req__status.is-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rq-green); }

/* Sent */
.mm-req__sent { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 34px 22px; max-width: 640px; margin: 0 auto; }
.mm-req__sent:focus { outline: none; }
.mm-req__ok { width: 58px; height: 58px; border-radius: 50%; background: var(--rq-green-soft); color: var(--rq-green); display: grid; place-items: center; }
.mm-req__ok .mm-req-ico { width: 30px; height: 30px; stroke-width: 2.4; }
.mm-req__sent h2 { margin: 4px 0 0; font-size: 22px; color: var(--rq-ink); }
.mm-req__sent p { margin: 0; color: var(--rq-ink2); max-width: 46ch; }
.mm-req__ref { background: var(--rq-tint); border-radius: 12px; padding: 10px 16px; font-size: 14px; }
.mm-req__ref b { font-size: 17px; }

@media (max-width: 860px) {
	.mm-req__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.mm-req__card { padding: 18px 16px; }
	.mm-req__fields, .mm-req__id { grid-template-columns: 1fr; }
	.mm-req .mm-req__btn { width: 100%; }
}
