/* mlipe theme · glass design system
   Phone first. Pages run full width; wide screens get more columns, not a boxed container. */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--ink: #1B1033;
	--muted: #5E5873;
	--line: rgba(27, 16, 51, .10);
	--accent: #7C3AED;
	--accent-ink: #6D28D9;
	--accent-deep: #4C1D95;
	--accent-soft: rgba(124, 58, 237, .10);
	--green: #0B6B35;
	--green-bg: #E3F5EA;
	--red: #B42318;
	--red-bg: #FDECEA;
	--gold: #F2A007;
	--glass: rgba(255, 255, 255, .62);
	--glass-border: rgba(255, 255, 255, .8);
	--glass-shadow: 0 10px 30px rgba(46, 16, 101, .10);
	--blur: blur(20px) saturate(160%);
	--r-sm: 12px;
	--r-md: 16px;
	--r-lg: 22px;
	--r-xl: 26px;
	--pad: 14px;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Outfit", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink);
	background: #F1ECFB;
	min-height: 100vh;
}
/* The glow sits on a fixed layer so it stays put while pages scroll, on every browser. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 12% -4%, rgba(124, 58, 237, .30), transparent 42%),
		radial-gradient(circle at 104% 26%, rgba(91, 79, 224, .18), transparent 38%),
		radial-gradient(circle at -6% 74%, rgba(196, 181, 253, .50), transparent 40%),
		radial-gradient(circle at 96% 96%, rgba(167, 139, 250, .28), transparent 38%);
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.2; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(124, 58, 237, .55); outline-offset: 2px; }
[hidden] { display: none !important; }
.ml-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ml-muted { color: var(--muted); }
.ml-icon { flex: none; }

/* ---------- surfaces ---------- */
.ml-glass {
	background: var(--glass);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow);
}
.ml-glass-soft {
	background: rgba(255, 255, 255, .45);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, .7);
}
.ml-dark-glass {
	background: rgba(27, 16, 51, .88);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: 0 14px 34px rgba(27, 16, 51, .30);
	color: #fff;
}
.ml-card { border-radius: var(--r-lg); }

/* ---------- buttons ---------- */
.ml-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 18px; border-radius: 14px; border: 0;
	font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer;
	color: var(--ink); background: transparent; white-space: nowrap;
	transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
}
.ml-btn:active { transform: scale(.98); }
.ml-btn[disabled], .ml-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.ml-btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(124, 58, 237, .32); }
.ml-btn--primary:hover { background: var(--accent-ink); color: #fff; }
.ml-btn--glass { background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.ml-btn--soft { background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .75); }
.ml-btn--outline { border: 1.5px solid var(--accent); color: var(--accent); background: rgba(255, 255, 255, .4); min-height: 40px; padding: 0 14px; font-size: 13.5px; border-radius: 12px; }
.ml-btn--ink { background: var(--ink); color: #fff; }
.ml-btn--danger { color: var(--red); }
.ml-btn--lg { min-height: 56px; font-size: 16px; border-radius: 16px; }
.ml-btn--block { display: flex; width: 100%; }
.ml-btn--sm { min-height: 40px; padding: 0 12px; font-size: 13.5px; border-radius: 12px; }
.ml-icon-btn {
	width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none;
	background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.ml-link-btn { border: 0; background: none; padding: 8px 4px; font-weight: 800; color: var(--accent-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- small parts ---------- */
.ml-tile { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ml-tile img { width: 100%; height: 100%; object-fit: cover; }
.ml-avatar {
	width: 80px; height: 80px; flex: none; border-radius: 50%; overflow: hidden;
	background: linear-gradient(135deg, #8B5CF6, #4C1D95); color: #fff;
	font-family: var(--display); font-weight: 600; font-size: 26px;
	display: flex; align-items: center; justify-content: center;
}
.ml-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ml-avatar--ring { box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 8px 20px rgba(46, 16, 101, .18); }
.ml-verified {
	display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 8px;
	border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.ml-verified--sm { height: 24px; font-size: 12px; }
.ml-testmode { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: #FFF4DB; color: #7A4B00; font-size: 12.5px; font-weight: 700; }
.ml-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--muted); }
.ml-rating strong { color: var(--ink); }
.ml-chip {
	display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-radius: 999px;
	font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--ink); text-decoration: none;
}
.ml-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.ml-pill--green { background: var(--green-bg); color: var(--green); }
.ml-pill--grey { background: rgba(27, 16, 51, .07); color: var(--muted); }
.ml-pill--red { background: var(--red-bg); color: var(--red); }
.ml-pill--amber { background: #FFF4DB; color: #7A4B00; }
.ml-trust { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ml-trust .ml-icon { color: var(--green); margin-top: 1px; }
.ml-trust strong { color: var(--ink); }
.ml-stars { display: inline-flex; gap: 1px; color: var(--gold); }
.ml-notice { border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
.ml-notice--error { background: var(--red-bg); color: var(--red); font-weight: 600; }
.ml-notice--ok { background: var(--green-bg); color: var(--green); font-weight: 600; }
.ml-notice--warn { background: #FFF4DB; color: #6B4100; }

/* ---------- forms ---------- */
.ml-field { display: flex; flex-direction: column; gap: 7px; }
.ml-field > label, .ml-label { font-weight: 800; font-size: 14px; }
.ml-label .ml-muted { font-weight: 600; }
.ml-input, .ml-select, .ml-textarea {
	width: 100%; min-height: 54px; border-radius: 14px; padding: 0 14px; font-size: 16px; font-weight: 600;
	background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
	color: var(--ink); outline: none; box-shadow: none;
}
.ml-textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 96px; font-weight: 500; font-size: 15px; }
.ml-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235E5873' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.ml-input:focus, .ml-select:focus, .ml-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); }
.ml-input[aria-invalid="true"] { border-color: var(--red); }
.ml-affix { position: relative; display: flex; align-items: center; }
.ml-affix > .ml-affix__pre { position: absolute; left: 14px; z-index: 1; font-weight: 700; color: var(--muted); pointer-events: none; }
.ml-affix > .ml-input { padding-left: var(--pre, 58px); }
.ml-hint { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.ml-error { font-size: 13px; color: var(--red); font-weight: 700; }
.ml-check { display: flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; }
.ml-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }

.ml-switch { position: relative; width: 52px; height: 32px; flex: none; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(27, 16, 51, .2); transition: background-color .2s; }
.ml-switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(27, 16, 51, .25); transition: transform .2s; }
.ml-switch[aria-checked="true"] { background: var(--accent); }
.ml-switch[aria-checked="true"]::after { transform: translateX(20px); }

.ml-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 5px; border-radius: 16px; }
.ml-seg button, .ml-seg a {
	min-height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--ink);
	font-weight: 700; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
.ml-seg [aria-pressed="true"], .ml-seg [aria-current="true"], .ml-seg [aria-selected="true"] { background: var(--ink); color: #fff; font-weight: 800; }

.ml-options { display: flex; flex-direction: column; gap: 8px; }
.ml-option { text-align: left; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--glass-border); background: var(--glass); cursor: pointer; }
.ml-option::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid rgba(27, 16, 51, .25); background: #fff; box-sizing: border-box; }
.ml-option[aria-pressed="true"] { border-color: var(--accent); background: rgba(124, 58, 237, .08); }
.ml-option[aria-pressed="true"]::before { border: 7px solid var(--accent); }
.ml-option strong { display: block; font-size: 14.5px; }
.ml-option span { font-size: 12.5px; color: var(--muted); }

/* ---------- top bars ---------- */
.ml-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.ml-logo-link { display: inline-flex; padding: 6px 10px; border-radius: 12px; }
.ml-logo-link svg { height: 24px; width: auto; display: block; }

/* =========================================================
   Business profile (Storefront)
   ========================================================= */
.ml-cover { position: relative; height: 200px; overflow: hidden; background: linear-gradient(140deg, #8B5CF6 0%, #6D28D9 48%, #4C1D95 100%); }
.ml-cover img { width: 100%; height: 100%; object-fit: cover; }
.ml-cover__deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ml-cover__bar { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.ml-cover__bar .ml-logo-link, .ml-cover__bar .ml-icon-btn { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }

.ml-profile { position: relative; display: block; padding-bottom: 120px; }
.ml-profile__aside { padding: 0 var(--pad); margin-top: -72px; position: relative; z-index: 2; }
.ml-bizcard { border-radius: var(--r-xl); padding: 0 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.ml-bizcard .ml-avatar { margin-top: -40px; }
.ml-bizcard h1 { font-size: 26px; line-height: 1.15; }
.ml-bizcard__meta { font-size: 14px; color: var(--muted); }
.ml-row-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ml-actions3 { display: flex; gap: 8px; }
.ml-actions3 > * { flex: 1 1 0; }
.ml-actions3 .ml-btn { min-height: 48px; font-size: 13.5px; font-weight: 700; padding: 0 8px; }
.ml-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.ml-about { font-size: 14.5px; line-height: 1.55; color: var(--ink); }

.ml-profile__main { padding: 0 var(--pad); }
.ml-tabs { position: sticky; top: 8px; z-index: 5; margin-top: 18px; }
.ml-section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 6px 12px; scroll-margin-top: 80px; }
.ml-section-head h2 { font-size: 21px; }
.ml-section-head span { font-size: 13.5px; color: var(--muted); }

.ml-svc-list { border-radius: var(--r-lg); }
.ml-svc { display: flex; align-items: center; gap: 12px; padding: 14px; }
.ml-svc + .ml-svc { border-top: 1px solid var(--line); }
.ml-svc__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ml-svc__name { font-weight: 700; font-size: 15px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--ink); }
.ml-svc__meta { font-size: 13px; color: var(--muted); line-height: 1.35; }
.ml-svc__price { font-weight: 700; font-size: 14px; margin-top: 2px; }

.ml-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ml-product { position: relative; border-radius: 20px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.ml-product[data-in-cart="true"] { border: 1.5px solid var(--accent); }
.ml-product__img { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, rgba(196, 181, 253, .55), rgba(124, 58, 237, .16)); color: var(--accent); display: flex; align-items: center; justify-content: center; border: 0; padding: 0; cursor: pointer; width: 100%; }
.ml-product__img img { width: 100%; height: 100%; object-fit: cover; }
.ml-product__badge { position: absolute; top: 8px; left: 8px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; }
.ml-product__badge--out { background: rgba(27, 16, 51, .75); }
.ml-product__text { padding: 0 6px; display: flex; flex-direction: column; gap: 2px; }
.ml-product__name { font-weight: 700; font-size: 14.5px; }
.ml-product__sub { font-size: 12.5px; color: var(--muted); }
.ml-product__foot { padding: 0 0 2px 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ml-product__price { font-weight: 800; font-size: 14.5px; }
.ml-add { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.ml-add[disabled] { background: rgba(27, 16, 51, .15); cursor: not-allowed; }

.ml-reviews { display: flex; flex-direction: column; gap: 10px; }
.ml-rating-box { border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.ml-rating-box__big { font-family: var(--display); font-weight: 600; font-size: 36px; line-height: 1; }
.ml-review { border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ml-review__head { display: flex; align-items: center; gap: 10px; }
.ml-review__ini { width: 36px; height: 36px; border-radius: 50%; background: rgba(124, 58, 237, .14); color: var(--accent-deep); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ml-empty { border-radius: 18px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }

.ml-footer { margin-top: 30px; padding: 0 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.ml-footer a { color: var(--muted); }
.ml-footer__by { display: flex; align-items: center; gap: 8px; }
.ml-footer__by svg { height: 24px; width: auto; }

.ml-cartbar { position: fixed; left: 14px; right: 14px; bottom: 16px; z-index: 30; border-radius: 20px; padding: 10px 10px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ml-cartbar[hidden] { display: none; }
.ml-cartbar__label { font-size: 12.5px; color: #D9D2EE; }
.ml-cartbar__total { font-family: var(--display); font-weight: 600; font-size: 20px; }

/* ---------- sheets (modals) ---------- */
.ml-sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.ml-sheet[hidden] { display: none; }
.ml-sheet__scrim { position: absolute; inset: 0; background: rgba(27, 16, 51, .45); animation: ml-fade .18s ease; }
.ml-sheet__panel {
	position: relative; width: 100%; max-height: 94vh; overflow: auto; overscroll-behavior: contain;
	border-radius: 30px 30px 0 0; background: rgba(250, 248, 255, .94);
	-webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
	border-top: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 -16px 40px rgba(27, 16, 51, .25);
	padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px;
	animation: ml-up .22s cubic-bezier(.2, .8, .2, 1);
}
.ml-sheet__grab { align-self: center; width: 44px; height: 5px; border-radius: 999px; background: rgba(27, 16, 51, .18); flex: none; }
.ml-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ml-sheet__head h2 { font-size: 20px; }
@keyframes ml-up { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes ml-fade { from { opacity: 0; } to { opacity: 1; } }

.ml-gallery { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(160deg, rgba(196, 181, 253, .7), rgba(124, 58, 237, .2)); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.ml-gallery__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ml-gallery__track::-webkit-scrollbar { display: none; }
.ml-gallery__track img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.ml-gallery__dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.ml-gallery__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); }

.ml-stepper { display: flex; align-items: center; justify-content: space-between; border-radius: 16px; padding: 8px 8px 8px 16px; }
.ml-stepper__ctl { display: flex; align-items: center; gap: 6px; }
.ml-stepper__ctl button { width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; background: rgba(27, 16, 51, .06); color: var(--ink); }
.ml-stepper__ctl button.is-plus { background: var(--accent); color: #fff; }
.ml-stepper__ctl output { min-width: 28px; text-align: center; font-weight: 800; font-size: 17px; }

.ml-merchant { border-radius: 20px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.ml-merchant .ml-avatar { width: 46px; height: 46px; font-size: 16px; }
.ml-order { border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ml-order__line { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.ml-order__line span:first-child { flex: 1; font-weight: 700; }
.ml-order__total { border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.ml-order__total strong { font-family: var(--display); font-weight: 600; font-size: 24px; }
.ml-phone { display: flex; align-items: center; gap: 10px; min-height: 58px; border-radius: 16px; padding: 0 16px; border: 1.5px solid var(--accent); }
.ml-phone input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.ml-checkname { border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.ml-checkname strong:first-child { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 14px; }
.ml-checkname p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ml-checkname p b { color: var(--ink); }

.ml-wait { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 10px; }
.ml-wait__ring { position: relative; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; }
.ml-wait__ring::before, .ml-wait__ring::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(124, 58, 237, .2); }
.ml-wait__ring::before { inset: 0; animation: ml-pulse 2s ease-out infinite; }
.ml-wait__ring::after { inset: 18px; border-color: rgba(124, 58, 237, .28); }
.ml-wait__phone { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); }
@keyframes ml-pulse { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.12); opacity: 0; } }
.ml-wait h2 { font-size: 27px; }
.ml-wait p { font-size: 15.5px; color: var(--muted); max-width: 320px; }
.ml-wait p b { color: var(--ink); }
.ml-steps { list-style: none; margin: 0; padding: 18px; border-radius: 22px; display: flex; flex-direction: column; gap: 16px; text-align: left; align-self: stretch; }
.ml-steps li { display: flex; align-items: center; gap: 12px; }
.ml-steps li > span:last-child { display: flex; flex-direction: column; }
.ml-steps b { font-size: 14.5px; }
.ml-steps small { font-size: 12.5px; color: var(--muted); }
.ml-step-dot { width: 30px; height: 30px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(27, 16, 51, .18); }
.ml-step-dot--done { border: 0; background: var(--green-bg); color: var(--green); }
.ml-step-dot--now { border: 0; background: var(--accent); box-shadow: 0 0 0 6px rgba(124, 58, 237, .18); }
.ml-step-dot--now::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

.ml-result { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 8px; }
.ml-result__mark { width: 82px; height: 82px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--green-bg); color: var(--green); box-shadow: 0 0 0 10px rgba(227, 245, 234, .55); margin-bottom: 8px; }
.ml-result__mark--bad { background: var(--red-bg); color: var(--red); box-shadow: 0 0 0 10px rgba(253, 236, 234, .55); }
.ml-result h2 { font-size: 28px; }
.ml-receipt { border-radius: 22px; padding: 6px 16px; margin: 0; }
.ml-receipt div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; }
.ml-receipt div + div { border-top: 1px solid var(--line); }
.ml-receipt dt { color: var(--muted); }
.ml-receipt dd { margin: 0; font-weight: 700; text-align: right; }
.ml-rate { border-radius: 22px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ml-rate__stars { display: flex; gap: 6px; }
.ml-rate__stars button { width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .7); color: #B0A6C9; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ml-rate__stars button[aria-pressed="true"] { color: var(--gold); }

/* =========================================================
   Landing, sign up, sign in
   ========================================================= */
.ml-site-head { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 4vw, 48px); gap: 12px; }
.ml-site-head nav { display: flex; gap: 8px; align-items: center; }
.ml-hero { padding: clamp(24px, 6vw, 80px) clamp(16px, 4vw, 48px) 32px; display: grid; gap: 28px; align-items: center; }
.ml-hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.04; letter-spacing: -.5px; }
.ml-hero h1 em { font-style: normal; color: var(--accent); }
.ml-hero p.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 560px; margin-top: 16px; }
.ml-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ml-hero__card { border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ml-how { padding: 24px clamp(16px, 4vw, 48px) 48px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ml-how article { border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.ml-how__n { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ml-how h3 { font-size: 19px; }
.ml-how p { color: var(--muted); font-size: 14.5px; }

.ml-auth { min-height: 100vh; display: flex; flex-direction: column; }
.ml-auth__body { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 12px 14px 40px; }
.ml-auth__card { width: 100%; max-width: 460px; border-radius: 26px; padding: 22px 18px; display: flex; flex-direction: column; gap: 16px; }
.ml-auth__card h1 { font-size: 26px; }
.ml-auth__card form { display: flex; flex-direction: column; gap: 14px; }

/* =========================================================
   Dashboard / POS app
   ========================================================= */
.ml-app { min-height: 100vh; display: flex; flex-direction: column; }
.ml-app__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 6px; }
.ml-app__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ml-app__who .ml-avatar { width: 40px; height: 40px; font-size: 14px; }
.ml-app__who b { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-app__who small { font-size: 12.5px; color: var(--muted); }
.ml-app__main { flex: 1; padding: 8px var(--pad) 110px; display: flex; flex-direction: column; gap: 12px; }
.ml-app__nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 8px calc(10px + env(safe-area-inset-bottom)); border-radius: 0; border-width: 1px 0 0; }
.ml-app__nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.ml-app__nav a[aria-current="page"] { color: var(--accent); font-weight: 800; }
.ml-app__brand { display: none; }

.ml-panel { border-radius: var(--r-lg); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ml-panel h2 { font-size: 18px; }
.ml-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ml-linkcard__row { display: flex; align-items: center; gap: 10px; }
.ml-linkcard__url { font-weight: 800; font-size: 16px; word-break: break-all; }
.ml-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ml-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.ml-list { border-radius: var(--r-lg); }
.ml-list__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ml-list__row + .ml-list__row { border-top: 1px solid var(--line); }
.ml-list__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.ml-list__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ml-list__text b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-list__text small { font-size: 12.5px; color: var(--muted); }
.ml-list__row.is-hidden .ml-list__main { opacity: .62; }
.ml-state-on { color: var(--green); font-size: 12px; font-weight: 700; }
.ml-state-off { color: var(--muted); font-size: 12px; font-weight: 700; }

/* keypad */
.ml-amount { text-align: center; padding: 10px 0 4px; }
.ml-amount small { font-size: 12.5px; font-weight: 800; letter-spacing: .6px; color: var(--muted); }
.ml-amount output { display: block; font-family: var(--display); font-weight: 600; font-size: 52px; line-height: 1.1; }
.ml-keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ml-keypad button { min-height: 62px; border-radius: 16px; font-size: 24px; font-weight: 700; cursor: pointer; color: var(--ink); }
.ml-sell-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ml-sell-item { position: relative; text-align: left; min-height: 96px; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; cursor: pointer; border: 1.5px solid var(--glass-border); }
.ml-sell-item[data-qty]:not([data-qty="0"]) { border-color: var(--accent); }
.ml-sell-item b { font-size: 14.5px; line-height: 1.3; padding-right: 30px; }
.ml-sell-item .ml-qty { position: absolute; top: 10px; right: 10px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ml-chargebar { position: sticky; bottom: 86px; border-radius: 18px; padding: 10px 10px 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.ml-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ml-stat { border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.ml-stat b { font-family: var(--display); font-weight: 600; font-size: 22px; }
.ml-stat small { font-size: 12.5px; color: var(--muted); }
.ml-big-total { border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(140deg, #8B5CF6, #4C1D95); color: #fff; }
.ml-big-total small { color: #E9D5FF; font-weight: 700; font-size: 13px; }
.ml-big-total b { font-family: var(--display); font-weight: 600; font-size: 36px; }

/* photos in the listing editor */
.ml-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ml-photo-cover { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, rgba(196, 181, 253, .75), rgba(124, 58, 237, .28)); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.ml-photo-cover img { width: 100%; height: 100%; object-fit: cover; }
.ml-photo-cover .ml-pill { position: absolute; left: 8px; bottom: 8px; background: rgba(27, 16, 51, .72); color: #fff; }
.ml-photo-cover .ml-x { position: absolute; top: 8px; right: 8px; }
.ml-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(27, 16, 51, .65); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ml-photo-actions { display: flex; flex-direction: column; gap: 8px; }
.ml-photo-actions label { flex: 1; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 14px; cursor: pointer; min-height: 72px; }
.ml-photo-actions label.is-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(124, 58, 237, .3); }
.ml-photo-actions input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ml-photo-actions label:focus-within { outline: 3px solid rgba(124, 58, 237, .55); outline-offset: 2px; }
.ml-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.ml-thumbs button { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; padding: 0; border: 2px solid transparent; cursor: pointer; background: rgba(255, 255, 255, .5); }
.ml-thumbs button[aria-current="true"] { border-color: var(--accent); }
.ml-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ml-uploading { position: relative; }
.ml-uploading::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") center no-repeat; }

/* photo editor (camera / upload) */
.ml-editor { position: fixed; inset: 0; z-index: 200; background: #0E0A1A; color: #fff; display: flex; flex-direction: column; }
.ml-editor[hidden] { display: none; }
.ml-editor__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px; }
.ml-editor__bar h2 { font-size: 18px; }
.ml-editor__bar .ml-icon-btn { background: rgba(255, 255, 255, .12); border: 0; color: #fff; }
.ml-editor__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.ml-editor__stage canvas { max-width: 100%; max-height: 100%; }
.ml-editor__frame { position: absolute; border: 1.5px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 9999px rgba(14, 10, 26, .55); pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)), linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)), linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,.35)), linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,.35));
	background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%; background-position: 0 33.33%, 0 66.66%, 33.33% 0, 66.66% 0; background-repeat: no-repeat; }
.ml-editor__tools { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 0; align-items: center; }
.ml-editor__tools p { font-size: 13.5px; color: rgba(255, 255, 255, .75); }
.ml-editor__tools .ml-row-wrap { justify-content: center; }
.ml-editor__chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ml-editor__chip[aria-pressed="true"] { background: rgba(255, 255, 255, .92); color: var(--ink); border-color: transparent; font-weight: 800; }
.ml-editor__zoom { width: min(320px, 80vw); accent-color: #C4B5FD; }
.ml-editor__foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); }
.ml-editor__foot .ml-btn--dark { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.ml-editor__note { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); padding: 0 20px 12px; margin-top: -8px; }

.ml-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 300; padding: 12px 16px; border-radius: 14px; font-weight: 700; font-size: 14px; max-width: calc(100vw - 28px); }
.ml-skeleton { border-radius: 18px; min-height: 64px; background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,.75), rgba(255,255,255,.4)); background-size: 200% 100%; animation: ml-shimmer 1.2s infinite linear; }
@keyframes ml-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* =========================================================
   Wider screens: more columns, still full width
   ========================================================= */
@media (min-width: 720px) {
	:root { --pad: 24px; }
	.ml-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ml-sheet { align-items: center; padding: 24px; }
	.ml-sheet__panel { max-width: 520px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .9); padding-bottom: 22px; }
	.ml-sheet__grab { display: none; }
	.ml-cartbar { left: auto; right: 24px; width: 420px; }
	.ml-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
	.ml-sell-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ml-photos { grid-template-columns: 240px 160px; }
}
@media (min-width: 1024px) {
	.ml-cover { height: 260px; }
	.ml-profile { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 28px; padding: 0 clamp(24px, 3vw, 48px) 120px; }
	.ml-profile__aside { padding: 0; }
	.ml-profile__aside .ml-sticky { position: sticky; top: 16px; }
	.ml-profile__main { padding: 0; padding-top: 18px; }
	.ml-tabs { margin-top: 0; top: 16px; }
	.ml-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ml-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ml-reviews > .ml-rating-box, .ml-reviews > .ml-btn { grid-column: 1 / -1; }

	.ml-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.ml-app__nav { position: sticky; top: 0; grid-row: 1 / span 2; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; border-width: 0 1px 0 0; }
	.ml-app__brand { display: flex; padding: 4px 10px 18px; }
	.ml-app__brand svg { height: 30px; width: auto; }
	.ml-app__nav a { flex-direction: row; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 15px; }
	.ml-app__nav a[aria-current="page"] { background: rgba(124, 58, 237, .1); }
	.ml-app__head { padding: 20px 32px 6px; }
	.ml-app__main { padding: 8px 32px 48px; }
	.ml-chargebar { bottom: 16px; }
	.ml-toast { bottom: 32px; }
	.ml-keypad-panel { width: 100%; max-width: 520px; align-self: center; }
	.ml-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
}
@media (min-width: 1400px) {
	.ml-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ml-sell-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Managed connect progress */
.ml-golive { list-style: none; margin: 4px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ml-golive li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.ml-golive li > span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(27, 16, 51, .07); }
.ml-golive li div { display: flex; flex-direction: column; gap: 2px; }
.ml-golive li strong { font-size: 14.5px; }
.ml-golive li small { font-size: 12.5px; }
.ml-golive li.now { color: var(--ink); }
.ml-golive li.now > span { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(109, 40, 217, .15); }
.ml-golive li.done > span { background: var(--green-bg); color: var(--green); }

/* =========================================================
   v0.2: orbit payment animation, listing + balance pages, reports, grow
   ========================================================= */
.ml-orbit { position: relative; width: 220px; height: 110px; margin: 6px auto 4px; display: grid; place-items: center; }
.ml-orbit svg { position: absolute; inset: 0; overflow: visible; }
.ml-orbit__mid { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); box-shadow: 0 8px 24px rgba(46, 16, 101, .14); }
.ml-orbit--paid .ml-orbit__mid, .ml-orbit--failed .ml-orbit__mid { animation: ml-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes ml-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ml-orbit animate, .ml-orbit animateMotion { display: none; } .ml-orbit__mid { animation: none !important; } }

.ml-feature { border-radius: var(--r-xl); padding: 14px; display: grid; gap: 16px; margin-bottom: 18px; }
.ml-feature__img { border: 0; padding: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); cursor: pointer; }
.ml-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.ml-feature__body { display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 6px; }
.ml-feature__body h2 { font-family: var(--display); font-weight: 600; font-size: 26px; margin: 0; line-height: 1.15; }
.ml-feature__price { font-family: var(--display); font-weight: 700; font-size: 26px; }
@media (min-width: 760px) { .ml-feature:has(.ml-feature__img) { grid-template-columns: 1.1fr 1fr; align-items: center; } }

.ml-balance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ml-balance > div { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.ml-balance small { color: var(--muted); font-size: 12px; font-weight: 700; }
.ml-balance b { font-family: var(--display); font-size: 18px; }
.ml-balance .is-due { background: #FFF4DB; border-color: #F6D38A; }
.ml-progress { display: block; height: 10px; border-radius: 99px; background: rgba(27, 16, 51, .08); overflow: hidden; }
.ml-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #16A34A, #22C55E); }
.ml-progress--sm { height: 6px; margin: 6px 0 2px; }

.ml-subnav a { text-decoration: none; text-align: center; padding: 9px 6px; border-radius: 12px; color: var(--muted); font-weight: 700; font-size: 13.5px; }
.ml-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .ml-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ml-kpis .ml-stat b { font-size: 19px; }
.ml-bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 8px; }
.ml-bars > span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.ml-bars i { display: block; width: 100%; background: linear-gradient(180deg, #8B5CF6, #6D28D9); border-radius: 5px 5px 2px 2px; min-height: 2px; }
.ml-bars small { font-size: 10px; color: var(--muted); white-space: nowrap; height: 13px; }
.ml-table-wrap { overflow-x: auto; margin: 0 -4px; }
.ml-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ml-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.ml-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.ml-table tr:last-child td { border-bottom: 0; }
.ml-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.ml-chips-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.ml-chipbtn { flex: none; border: 1px solid var(--line); background: rgba(255, 255, 255, .8); border-radius: 99px; padding: 8px 14px; font: 700 13px var(--font); color: var(--muted); cursor: pointer; }
.ml-chipbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
button.ml-list__row { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.ml-list__row:hover { background: rgba(124, 58, 237, .05); }
.ml-funnel { display: flex; flex-direction: column; gap: 6px; }
.ml-funnel__row { display: grid; grid-template-columns: 80px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.ml-funnel__row b { text-align: right; color: var(--ink); }
.ml-funnel .ml-progress--sm { margin: 0; }
.ml-funnel .ml-progress > span { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.ml-audience { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 14px; }
.ml-wa-preview { background: #EFEAE2; border-radius: 18px; padding: 14px; background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 14px 14px; }
.ml-wa-bubble { position: relative; max-width: 88%; background: #fff; border-radius: 12px; border-top-left-radius: 3px; padding: 8px 10px 18px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.ml-wa-bubble b { color: #128C4A; font-size: 13px; }
.ml-wa-bubble p { margin: 4px 0 0; }
.ml-wa-bubble .ml-wa-link { color: #027EB5; word-break: break-all; }
.ml-wa-bubble .ml-wa-stop { color: #667; font-size: 12.5px; }
.ml-wa-bubble > span { position: absolute; right: 8px; bottom: 4px; font-size: 11px; color: #889; }
.ml-setting { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; }
.ml-setting + .ml-setting { border-top: 1px solid var(--line); }
.ml-setting span { display: flex; flex-direction: column; gap: 2px; }
.ml-setting small { color: var(--muted); font-size: 12.5px; }
.ml-card-stage { display: grid; place-items: center; background: #E6E8EC; border-radius: 18px; padding: 12px; }
.ml-card-stage canvas { display: block; width: auto; max-width: 100%; max-height: 52vh; border-radius: 12px; box-shadow: 0 16px 40px -18px rgba(30, 35, 60, .4); }
.ml-share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .ml-share-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ml-share-btn { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 700 13px var(--font); color: var(--ink); cursor: pointer; text-align: left; }
.ml-share-btn:hover { box-shadow: 0 0 0 2px var(--accent); }
.ml-share-btn i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font: 800 11px var(--font); font-style: normal; flex: none; }
.ml-order-row .ml-pill { flex: none; }
.ml-focus { position: relative; z-index: 3; padding: 0 var(--pad); margin-top: -72px; }
.ml-focus .ml-feature { margin-bottom: 0; background: rgba(255, 255, 255, .82); }
.ml-profile--focus .ml-profile__aside { margin-top: 18px; }
@media (min-width: 1024px) {
	.ml-focus { max-width: 1180px; margin: -110px auto 0; padding: 0 clamp(24px, 3vw, 48px); }
	.ml-profile--focus { padding-top: 24px; }
	.ml-profile--focus .ml-profile__aside { margin-top: 0; }
}

/* =========================================================
   Booking picker: calendar, time range, days
   ========================================================= */
.ml-bk { display: flex; flex-direction: column; gap: 12px; }
.ml-bk-intro { display: flex; gap: 12px; align-items: center; }
.ml-bk-intro img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; }
.ml-bk-intro span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ml-bk-intro small { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ml-cal { border-radius: 20px; padding: 12px; transition: opacity .2s; }
.ml-cal.is-loading { opacity: .55; pointer-events: none; }
.ml-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ml-cal__head b { font-family: var(--display); font-size: 17px; font-weight: 600; }
.ml-cal__head .ml-icon-btn:disabled { opacity: .3; }
.ml-cal__dow, .ml-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ml-cal__dow span { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 4px 0 6px; }
.ml-cal__grid { row-gap: 4px; }
.ml-cal__day { position: relative; height: 42px; border: 0; background: none; font: 700 15px var(--font); color: var(--ink); cursor: pointer; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ml-cal__day i { width: 5px; height: 5px; border-radius: 50%; background: #16A34A; }
.ml-cal__day.is-some i { background: #F59E0B; }
.ml-cal__day:hover:not(:disabled) { background: var(--accent-soft); }
.ml-cal__day.is-off { color: rgba(27, 16, 51, .28); cursor: default; text-decoration: line-through; text-decoration-color: rgba(27, 16, 51, .15); }
.ml-cal__day.is-sel { background: rgba(124, 58, 237, .14); border-radius: 0; }
.ml-cal__day.is-start { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.ml-cal__day.is-end { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }
.ml-cal__day.is-start, .ml-cal__day.is-end { background: linear-gradient(135deg, #8B5CF6, #6D28D9); color: #fff; box-shadow: 0 6px 16px -6px rgba(109, 40, 217, .6); }
.ml-cal__day.is-start i, .ml-cal__day.is-end i { background: #fff; }
.ml-cal__legend { display: flex; gap: 14px; justify-content: center; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.ml-cal__legend span { display: flex; align-items: center; gap: 5px; }
.ml-cal__legend i { width: 7px; height: 7px; border-radius: 50%; }
.ml-cal__legend .free { background: #16A34A; } .ml-cal__legend .some { background: #F59E0B; } .ml-cal__legend .off { background: rgba(27, 16, 51, .2); }
.ml-bk-times { display: flex; flex-direction: column; gap: 8px; }
.ml-bk-times__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ml-bk-times__head small { color: var(--muted); font-size: 12.5px; text-align: right; }
.ml-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 560px) { .ml-times { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ml-time { position: relative; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .85); font: 700 14px var(--font); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.ml-time small { position: absolute; top: 3px; right: 5px; font-size: 9.5px; color: var(--muted); }
.ml-time:hover:not(:disabled) { border-color: var(--accent); }
.ml-time:disabled { color: rgba(27, 16, 51, .3); background: rgba(27, 16, 51, .03); cursor: default; }
.ml-time.is-busy { text-decoration: line-through; }
.ml-time.is-sel { background: rgba(124, 58, 237, .14); border-color: transparent; color: var(--accent-ink); }
.ml-time.is-start, .ml-time.is-end { background: linear-gradient(135deg, #8B5CF6, #6D28D9); color: #fff; box-shadow: 0 6px 16px -6px rgba(109, 40, 217, .6); }
.ml-time.is-start small, .ml-time.is-end small { color: rgba(255, 255, 255, .8); }
.ml-bk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.ml-bk-row > span:first-child { display: flex; flex-direction: column; }
.ml-bk-row small { color: var(--muted); font-size: 12.5px; }
.ml-bk-row .ml-stepper__ctl button:disabled { opacity: .35; }
.ml-bk-sum { border-radius: 18px; padding: 12px 14px; background: linear-gradient(135deg, rgba(139, 92, 246, .12), rgba(34, 197, 94, .08)); border: 1px solid rgba(124, 58, 237, .18); display: flex; flex-direction: column; gap: 6px; }
.ml-bk-sum__when { display: flex; gap: 8px; align-items: center; color: var(--accent-ink); }
.ml-agenda { display: flex; flex-direction: column; gap: 10px; }
.ml-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ml-strip button { flex: none; width: 54px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .8); padding: 8px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 700 12px var(--font); color: var(--muted); cursor: pointer; }
.ml-strip button b { font-size: 18px; color: var(--ink); font-family: var(--display); }
.ml-strip button i { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.ml-strip button.has i { background: var(--accent); }
.ml-strip button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .7); }
.ml-strip button[aria-pressed="true"] b { color: #fff; }
.ml-strip button[aria-pressed="true"] i { background: #fff; }
.ml-slot { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: stretch; width: 100%; text-align: left; border: 0; background: none; font: inherit; color: inherit; padding: 0; cursor: pointer; }
.ml-slot__time { font-weight: 800; font-size: 13px; color: var(--muted); padding-top: 12px; font-variant-numeric: tabular-nums; }
.ml-slot__card { border-radius: 16px; padding: 12px 14px; border-left: 4px solid var(--accent); background: rgba(255, 255, 255, .85); box-shadow: 0 6px 18px -12px rgba(46, 16, 101, .35); display: flex; flex-direction: column; gap: 3px; }
.ml-slot__card small { color: var(--muted); font-size: 12.5px; }
.ml-slot__card.is-blocked { border-left-color: #94A3B8; background: repeating-linear-gradient(45deg, rgba(148, 163, 184, .12) 0 8px, rgba(255, 255, 255, .7) 8px 16px); }
.ml-slot__card.is-pending { border-left-color: #F59E0B; }
.ml-slot__card.is-paid { border-left-color: #16A34A; }
.ml-preset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ml-days-pick { display: flex; gap: 6px; flex-wrap: wrap; }

/* Demo role picker */
.ml-demo__body { max-width: 980px; margin: 0 auto; padding: 24px var(--pad) 80px; display: flex; flex-direction: column; gap: 28px; }
.ml-demo__intro h1 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 5vw, 42px); margin: 10px 0 6px; line-height: 1.1; }
.ml-demo__group h2 { font-family: var(--display); font-weight: 600; font-size: 22px; margin: 0; }
.ml-demo__group > .ml-muted { margin: 4px 0 12px; }
.ml-demo__bizhead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ml-demo__bizhead > span { flex: 1; min-width: 0; }
.ml-demo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.ml-demo__card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.ml-demo__card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -20px rgba(109, 40, 217, .5); }
.ml-demo__card > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ml-demo__card small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.ml-demo__card .ml-pill { font-size: 11px; vertical-align: 2px; }
.ml-demo__go { font-weight: 800; color: var(--accent); font-size: 13.5px; white-space: nowrap; }
.ml-demo__card.is-current { box-shadow: 0 0 0 2px var(--accent); }
.ml-demo__card[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.ml-demo .ml-avatar { width: 46px; height: 46px; flex: none; }
