/* Live demos (/demos/<id>/live) — dashboard look from the approved product-page designs */
.app-frame.skin {
  --dz-orange: #FE4A0A; --dz-orange-2: #FF6A1A; --dz-bg: #F6F7F9; --dz-line: #ECEDF1; --dz-ink: #16171A; --dz-muted: #8A8D96;
  display: grid; grid-template-columns: 216px minmax(0, 1fr); grid-template-rows: 64px minmax(0, 1fr);
  grid-template-areas: "corner top" "side main";
  background: #fff; border: 1px solid var(--dz-line); border-radius: 18px; box-shadow: 0 18px 48px -26px rgba(16,17,20,.35);
  font-family: 'Inter', var(--f-body); color: var(--dz-ink); min-height: 640px; overflow: hidden;
}
.app-frame:not(.skin) .app-corner, .app-frame:not(.skin) .app-topbar { display: none; }
.app-frame.skin .app-corner { grid-area: corner; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--dz-line); background: #fff; }
.app-frame.skin .app-topbar { grid-area: top; display: flex; align-items: center; gap: 16px; padding: 0 20px 0 24px; border-bottom: 1px solid var(--dz-line); background: #fff; }
.app-frame.skin .app-side { grid-area: side; background: #fff; border-right: 1px solid var(--dz-line); padding: 14px 12px; color: #2A2C31; gap: 10px; }
.app-frame.skin .app-main { grid-area: main; background: var(--dz-bg); }
.app-frame.skin .app-side .app-brand { display: none; }
.app-frame.skin .app-brand { display: flex; align-items: center; gap: 8px; border: 0; padding: 0; }
.app-emblem { width: 34px; height: auto; display: block; }
.app-word { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--dz-ink); white-space: nowrap; }
.app-word em { font-style: normal; color: var(--dz-orange); }

/* Search + icons + user */
.app-search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px; background: #F3F4F7; border: 1px solid #EEEFF3; border-radius: 10px; padding: 0 12px; height: 40px; color: #9A9DA6; }
.app-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: .84rem; color: var(--dz-ink); }
.app-search:focus-within { border-color: var(--dz-orange); box-shadow: 0 0 0 3px rgba(254,74,10,.14); }
.app-icons { display: flex; gap: 6px; margin-left: auto; }
.app-ib { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: #2A2C31; display: grid; place-items: center; }
.app-ib:hover { background: #F3F4F7; }
.app-ib i { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--dz-orange); box-shadow: 0 0 0 2px #fff; }
.app-me { display: flex; align-items: center; gap: 10px; padding-left: 6px; }
.app-me b { display: block; font-size: .84rem; line-height: 1.2; }
.app-me small { display: block; font-size: .72rem; color: var(--dz-muted); }

/* Sidebar nav */
.app-frame.skin .app-nav { gap: 3px; }
.app-frame.skin .app-nav-i { color: #2A2C31; font-weight: 500; font-size: .86rem; padding: 10px 12px; border-radius: 9px; gap: 11px; }
.app-frame.skin .app-nav-i .i { color: #3A3D44; }
.app-frame.skin .app-nav-i:hover { background: #F5F6F8; color: var(--dz-ink); }
.app-frame.skin .app-nav-i.on { background: linear-gradient(90deg, var(--dz-orange-2), var(--dz-orange)); color: #fff; box-shadow: 0 8px 18px -10px rgba(254,74,10,.8); }
.app-frame.skin .app-nav-i.on .i { color: #fff; }
.app-frame.skin .app-nav-i em { background: var(--dz-orange); color: #fff; }
.app-frame.skin .app-nav-i.on em { background: #fff; color: var(--dz-orange); }
.app-frame.skin .app-user { display: none; }

/* Dark sidebar variant (Inventory, HR, AI designs) */
.app-frame.skin-dark .app-corner, .app-frame.skin-dark .app-side { background: #17181B; border-color: #17181B; }
.app-frame.skin-dark .app-word { color: #fff; }
.app-frame.skin-dark .app-nav-i { color: #D4D6DB; }
.app-frame.skin-dark .app-nav-i .i { color: #C3C5CB; }
.app-frame.skin-dark .app-nav-i:hover { background: rgba(255,255,255,.06); color: #fff; }

/* Page header inside main */
.app-frame.skin .app-top { background: transparent; border: 0; padding: 18px 22px 0; }
.app-frame.skin .app-top h3 { font-size: 1.18rem; font-weight: 700; }
.app-frame.skin .app-top p { color: var(--dz-muted); }
.app-frame.skin .app-body { padding: 14px 22px 24px; }

/* KPI cards: coloured icon tile on the left, label, big value, delta */
.app-frame.skin .kpis { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.app-frame.skin .kpi { position: relative; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; align-items: center; border: 1px solid #EEEFF3; border-radius: 14px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(16,17,20,.04); background: #fff; }
.app-frame.skin .kpi-h { display: contents; }
.app-frame.skin .kpi-h > span:not(.kpi-ic) { grid-column: 2; grid-row: 1; font-size: .78rem; font-weight: 500; color: #6B6E77; }
.app-frame.skin .kpi-ic { grid-column: 1; grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 12px; }
.app-frame.skin .kpi-v { grid-column: 2; grid-row: 2; font-size: 1.5rem; font-weight: 800; }
.app-frame.skin .kpi-f { grid-column: 2; grid-row: 3; justify-content: flex-start; min-height: 0; }
.app-frame.skin .kpi-f .spark { display: none; }
.app-frame.skin .kpi .delta { background: transparent; padding: 0; font-size: .74rem; }
.app-frame.skin .kpi .delta.up { color: #17A34A; }
.app-frame.skin .kpi .delta.down { color: #E5383B; }
.kpi-ic.t-orange { background: #FFEDE4; color: #FE4A0A; }
.kpi-ic.t-blue { background: #E7EEFF; color: #2F6BFF; }
.kpi-ic.t-green { background: #E3F6EA; color: #17A34A; }
.kpi-ic.t-purple { background: #F0E9FF; color: #7C4DFF; }
.app-frame.skin .kpi-bad .kpi-ic { background: #FDE8E8; color: #E5383B; }

/* Panels, tables, badges */
.app-frame.skin .pcard { border: 1px solid #EEEFF3; border-radius: 14px; box-shadow: 0 2px 10px rgba(16,17,20,.04); }
.app-frame.skin .pcard-h h4 { font-size: .98rem; font-weight: 700; }
.app-frame.skin .tbl-wrap { border-color: #EEEFF3; border-radius: 12px; }
.app-frame.skin .tbl th { background: #F7F8FA; color: #6B6E77; font-weight: 600; font-size: .74rem; }
.app-frame.skin .tbl tr.clickable:hover td { background: #FFF6F1; }
.app-frame.skin .b-ok { background: #E3F6EA; color: #15803D; }
.app-frame.skin .b-warn { background: #FFF1DB; color: #B45309; }
.app-frame.skin .b-info { background: #E7EEFF; color: #2F57D6; }
.app-frame.skin .b-bad { background: #FDE8E8; color: #C62828; }
.app-frame.skin .b-brand { background: #FFEDE4; color: #D9400A; }
.app-frame.skin .btn-primary { background: linear-gradient(90deg, var(--dz-orange-2), var(--dz-orange)); color: #fff; }
.app-frame.skin .seg button.on { color: var(--dz-orange); }
.app-frame.skin .pill.on { background: var(--dz-orange); border-color: var(--dz-orange); }
.app-frame.skin .prog > span { background: var(--dz-orange); }
.app-frame.skin .tile.on, .app-frame.skin .tile:hover { border-color: var(--dz-orange); }

/* Responsive */
@media (max-width: 900px) {
  .app-frame.skin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; grid-template-areas: "corner" "top" "side" "main"; border-radius: 14px; min-height: 0; }
  .app-frame.skin .app-corner { padding: 10px 14px; border-bottom: 0; }
  .app-frame.skin .app-topbar { padding: 0 14px 10px; gap: 8px; border-bottom: 0; }
  .app-frame.skin .app-me span { display: none; }
  .app-frame.skin .app-side { padding: 8px 10px; border-right: 0; border-top: 1px solid var(--dz-line); border-bottom: 1px solid var(--dz-line); }
  .app-frame.skin .app-nav { display: flex; overflow-x: auto; }
  .app-frame.skin .app-nav-i { flex: none; white-space: nowrap; }
  .app-frame.skin .app-top { padding: 14px 14px 0; }
  .app-frame.skin .app-body { padding: 12px 14px 18px; }
}
@media (max-width: 480px) {
  .app-frame.skin .app-icons { display: none; }
  .app-frame.skin .kpis { grid-template-columns: minmax(0, 1fr); }
}
.app-frame.skin .app-nav-i span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.app-frame.skin .evt { border-left-color: var(--dz-orange); background: #FFEDE4; }
.app-frame.skin .evt.blue { border-left-color: #2F6BFF; background: #E7EEFF; }
.app-frame.skin .evt.teal { border-left-color: #17A34A; background: #E3F6EA; }
.app-frame.skin .evt.violet { border-left-color: #7C4DFF; background: #F0E9FF; }
.app-frame.skin { grid-template-columns: 236px minmax(0, 1fr); }
.app-frame.skin .kpis { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.app-frame.skin .kpi-v { font-size: clamp(1.15rem, 1.55vw, 1.5rem); white-space: nowrap; overflow: visible; }
@media (max-width: 900px) { .app-frame.skin { grid-template-columns: minmax(0, 1fr); } }
/* REVOLA STORE storefront (e-commerce design) */
.st-catbar { display: flex; gap: 6px; padding: 10px 18px; border-bottom: 1px solid #ECEDF1; overflow-x: auto; scrollbar-width: none; }
.st-catbar button { flex: none; border: 0; background: transparent; padding: 7px 12px; border-radius: 8px; font-size: .84rem; font-weight: 500; color: #2A2C31; }
.st-catbar button.on { background: linear-gradient(90deg,#FF6A1A,#FE4A0A); color: #fff; font-weight: 600; }
.st-catbar button:hover:not(.on) { background: #F5F6F8; }
.st-hero { margin: 16px 18px; border-radius: 16px; padding: 28px 30px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; color: #fff; background: radial-gradient(120% 140% at 85% 30%, #4B2E9A 0%, #241a4f 38%, #0F1020 75%); overflow: hidden; }
.st-hero h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; margin: 0 0 8px; font-weight: 800; }
.st-hero p { color: #D7D8E2; margin: 0 0 6px; font-size: 1rem; }
.st-hero small { display: block; color: #FFB27A; margin-bottom: 14px; font-size: .78rem; }
.st-hero-art { display: flex; align-items: flex-end; gap: 6px; color: #FF7A3A; filter: drop-shadow(0 12px 30px rgba(255,90,30,.5)); }
.st-perks { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; padding: 0 18px 8px; }
.st-perks > span { display: flex; gap: 10px; align-items: center; border: 1px solid #ECEDF1; border-radius: 12px; padding: 10px 12px; color: #FE4A0A; }
.st-perks b { display: block; color: #16171A; font-size: .84rem; }
.st-perks small { display: block; color: #8A8D96; font-size: .72rem; }
@media (max-width: 760px) { .st-perks { grid-template-columns: 1fr 1fr; } .st-hero { grid-template-columns: 1fr; } .st-hero-art { display: none; } }
/* REVOLA MARKET storefront */
.mk-store { background: #fff; border: 1px solid #ECEDF1; border-radius: 14px; overflow: hidden; }
.mk-top { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #ECEDF1; flex-wrap: wrap; }
.mk-logo { display: flex; align-items: center; gap: 6px; }
.mk-logo img { width: 30px; }
.mk-logo b { font-weight: 800; }
.mk-logo em { font-style: normal; color: #FE4A0A; }
.mk-search { flex: 1; min-width: 180px; max-width: 520px; }
.mk-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 16px 18px; }
.mk-cats { display: grid; gap: 2px; align-content: start; }
.mk-cats button { display: flex; gap: 8px; align-items: center; border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 8px; font-size: .84rem; color: #2A2C31; }
.mk-cats button.on { background: linear-gradient(90deg,#FF6A1A,#FE4A0A); color: #fff; font-weight: 600; }
.mk-cats button:hover:not(.on) { background: #F5F6F8; }
.mk-main { display: grid; gap: 14px; min-width: 0; }
.mk-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 8px; }
.mk-stores .tile { justify-items: center; text-align: center; }
@media (max-width: 760px) { .mk-body { grid-template-columns: 1fr; } .mk-cats { display: flex; overflow-x: auto; } .mk-cats button { flex: none; } }
.mk-main .st-perks > span > span { display: grid; min-width: 0; }
.mk-main .st-perks small { white-space: normal; }
.mk-stores { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
/* ===== Mobile demo: design apps (SOMTECH / REVOLA / SOEXPRESS / School App) ===== */
.mx-dev { --ac: #FE4A0A; --acs: #FFEDE4; }
.mx-soexpress { --ac: #2F6BFF; --acs: #E7EEFF; }
.mx-school { --ac: #6D3BEB; --acs: #F0E9FF; }
.mx-dev .device-screen { font-size: .8rem; }
.mx-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 8px; }
.mx-logo { display: flex; align-items: center; gap: 6px; }
.mx-logo b { font-weight: 800; font-size: .98rem; letter-spacing: .01em; }
.mx-logo img { width: 24px; }
.mx-logo small { font-size: .5rem; color: var(--ac); font-weight: 700; align-self: flex-end; margin-left: -2px; }
.mx-mk { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--ac); color: #fff; }
.mx-hi { display: flex; gap: 2px; }
.mx-hi button { position: relative; border: 0; background: none; width: 32px; height: 32px; display: grid; place-items: center; color: #1F1F1F; border-radius: 50%; }
.mx-hi i { position: absolute; top: 3px; right: 2px; min-width: 14px; height: 14px; border-radius: 7px; background: var(--ac); color: #fff; font-size: .55rem; font-style: normal; font-weight: 800; display: grid; place-items: center; padding: 0 3px; }
.mx-hi i:empty { min-width: 7px; width: 7px; height: 7px; top: 6px; right: 7px; }
.mx-scr { flex: 1; overflow-y: auto; min-height: 0; }
.mx-pad { padding: 4px 14px 14px; display: grid; gap: 10px; align-content: start; }
.mx-search { display: flex; align-items: center; gap: 6px; border: 1px solid #ECEDF0; border-radius: 10px; padding: 0 10px; color: #8A8D94; }
.mx-search input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; padding: 9px 0; font-size: .78rem; color: #1F1F1F; }
.mx-ban { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 14px; border-radius: 14px; overflow: hidden; }
.mx-ban > div { display: grid; gap: 4px; justify-items: start; }
.mx-ban b { font-size: 1.15rem; line-height: 1.15; font-weight: 800; }
.mx-ban span { font-size: .72rem; }
.mx-ban .mx-art { opacity: .95; flex: none; }
.mx-ban.dark { background: radial-gradient(circle at 85% 50%, #3B2A6B, #121320 70%); color: #fff; }
.mx-ban.dark .mx-art { color: #FE6A2A; }
.mx-ban.peach { margin: 0 14px; background: linear-gradient(120deg, #FFE7DA, #FBD0B8); color: #3A1D10; }
.mx-ban.peach .mx-art { color: #FE4A0A; }
.mx-ban.blue { margin: 0 14px; background: linear-gradient(120deg, #1C3FAE, #2F6BFF); color: #fff; }
.mx-ban.purple { margin: 0 14px; background: linear-gradient(120deg, #5A2BD6, #8B5CF6); color: #fff; }
.mx-ban.blue .mx-art, .mx-ban.purple .mx-art { color: #fff; opacity: .9; }
.mx-btn { border: 0; border-radius: 9px; background: #FE4A0A; color: #fff; font-weight: 700; padding: 9px 14px; display: inline-flex; gap: 6px; align-items: center; justify-content: center; font-size: .78rem; }
.mx-btn.sm { padding: 6px 11px; font-size: .7rem; margin-top: 6px; }
.mx-btn.wide { width: 100%; padding: 12px; }
.mx-soexpress .mx-btn:not(.sm), .mx-school .mx-btn { background: var(--ac); }
.mx-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mx-chips button { flex: none; border: 1px solid #ECEDF0; background: #fff; border-radius: 999px; padding: 5px 11px; font-size: .7rem; font-weight: 600; color: #2A2C31; }
.mx-chips button.on { background: var(--ac); border-color: var(--ac); color: #fff; }
.mx-row { display: flex; justify-content: space-between; align-items: center; }
.mx-row b { font-size: .86rem; }
.mx-row small, .mx-mut { color: #7C7F87; font-size: .68rem; }
.mx-link { border: 0; background: none; color: var(--ac); font-weight: 700; font-size: .72rem; }
.mx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mx-pc { border: 1px solid #F0F1F3; border-radius: 12px; padding: 7px; display: grid; gap: 5px; }
.mx-pc > b { font-size: .74rem; font-weight: 600; line-height: 1.25; }
.mx-pimg { position: relative; height: 82px; border-radius: 9px; display: grid; place-items: center; color: #3A3C42; }
.mx-pimg.sm { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.mx-pimg.blue { background: #E7EEFF; color: #2F6BFF; }
.mx-pimg.purple { background: #F0E9FF; color: #6D3BEB; }
.mx-heart { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #fff; color: #9A9CA3; display: grid; place-items: center; }
.mx-heart.on { color: #FE4A0A; }
.mx-heart.on svg { fill: currentColor; }
.mx-pr { display: flex; justify-content: space-between; align-items: center; }
.mx-pr em { font-style: normal; font-weight: 800; font-size: .8rem; }
.mx-pr button { width: 26px; height: 26px; border-radius: 8px; border: 0; background: var(--ac); color: #fff; display: grid; place-items: center; }
.mx-empty { color: #7C7F87; font-size: .74rem; grid-column: 1 / -1; text-align: center; padding: 12px 0; margin: 0; }
.mx-emptybox { display: grid; justify-items: center; gap: 10px; padding: 40px 0; color: #B0B3BA; }
.mx-emptybox b { color: #1F1F1F; }
.mx-h { margin: 2px 0; font-size: 1rem; }
.mx-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F0F1F3; width: 100%; text-align: left; }
.mx-line.btn { border: 0; border-bottom: 1px solid #F0F1F3; background: none; color: inherit; font: inherit; }
.mx-lt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.mx-lt b { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-lt small { color: #7C7F87; font-size: .68rem; }
.mx-qty { display: flex; align-items: center; gap: 8px; }
.mx-qty button { width: 24px; height: 24px; border-radius: 7px; border: 1px solid #ECEDF0; background: #fff; display: grid; place-items: center; color: #1F1F1F; }
.mx-qty.big { justify-content: center; gap: 18px; padding: 6px; border: 1px solid #ECEDF0; border-radius: 12px; }
.mx-qty.big button { width: 32px; height: 32px; }
.mx-sum { display: grid; gap: 6px; background: #F7F8FA; border-radius: 12px; padding: 10px 12px; }
.mx-sum span { display: flex; justify-content: space-between; color: #5A5D64; font-size: .74rem; }
.mx-sum span b { color: #1F1F1F; }
.mx-sum .t { font-weight: 700; color: #1F1F1F; font-size: .84rem; border-top: 1px dashed #DADCE0; padding-top: 6px; }
.mx-lab { color: #7C7F87; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.mx-st { font-size: .62rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--acs); color: var(--ac); white-space: nowrap; }
.mx-st.ok { background: #E3F6EA; color: #128A3E; }
.mx-prof { display: grid; justify-items: center; gap: 3px; padding: 8px 0; }
.mx-prof small { color: #7C7F87; }
.mx-stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.mx-stats span { display: grid; justify-items: center; background: #F7F8FA; border-radius: 10px; padding: 8px 4px; font-size: .66rem; color: #7C7F87; }
.mx-stats b { font-size: 1rem; color: #1F1F1F; }
.mx-list { display: grid; gap: 6px; }
.mx-list button { display: flex; justify-content: space-between; align-items: center; gap: 6px; border: 1px solid #ECEDF0; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: .76rem; font-weight: 600; color: #1F1F1F; text-align: left; }
.mx-list button small { color: #7C7F87; }
.mx-list button.on { border-color: var(--ac); background: var(--acs); }
.mx-foot { text-align: center; color: #9A9CA3; font-size: .64rem; }
.mx-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mx-perks span { display: grid; justify-items: center; text-align: center; color: #FE4A0A; font-size: .62rem; gap: 1px; }
.mx-perks b { color: #1F1F1F; font-size: .66rem; }
.mx-perks small { color: #7C7F87; }
.mx-cats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mx-cats4 button { border: 0; background: none; display: grid; justify-items: center; gap: 4px; font-size: .64rem; font-weight: 600; color: #1F1F1F; padding: 0; }
.mx-cats4 span { width: 100%; height: 54px; border-radius: 10px; background: #FFF1E8; color: #FE4A0A; display: grid; place-items: center; }
.mx-tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mx-tiles3.four { grid-template-columns: repeat(4, 1fr); }
.mx-tiles3 button { border: 1px solid #F0F1F3; background: #fff; border-radius: 12px; padding: 10px 4px; display: grid; justify-items: center; gap: 5px; font-size: .64rem; font-weight: 600; color: #1F1F1F; line-height: 1.2; box-shadow: 0 1px 3px rgba(16,24,40,.05); }
.mx-tiles3 span { width: 36px; height: 36px; border-radius: 10px; background: var(--acs); color: var(--ac); display: grid; place-items: center; }
.mx-soexpress .mx-tiles3 span { background: #FFEDE4; color: #FE4A0A; }
.mx-card { border: 1px solid #F0F1F3; border-radius: 12px; padding: 12px; display: grid; gap: 8px; box-shadow: 0 1px 3px rgba(16,24,40,.05); }
.mx-card.center { justify-items: center; text-align: center; gap: 2px; }
.mx-big { font-size: 1.7rem; font-weight: 800; }
.mx-track { display: flex; gap: 6px; }
.mx-track input { flex: 1; min-width: 0; border: 1px solid #ECEDF0; border-radius: 9px; padding: 9px 10px; font-size: .76rem; }
.mx-soexpress .mx-track .mx-btn { background: #FE4A0A; }
.mx-err { color: #C0362C; font-size: .72rem; font-weight: 600; margin: 0; }
.mx-ok { color: #128A3E; font-weight: 700; text-align: center; }
.mx-tl { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.mx-tl li { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: #9A9CA3; }
.mx-tl li i { width: 16px; height: 16px; border-radius: 50%; background: #ECEDF0; display: grid; place-items: center; color: #fff; }
.mx-tl li.d, .mx-tl li.c { color: #1F1F1F; }
.mx-tl li.d i, .mx-tl li.c i { background: var(--ac); }
.mx-tl li.c { font-weight: 800; }
.mx-back { border: 0; background: none; display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: .92rem; padding: 0; color: #1F1F1F; }
.mx-bar { display: block; height: 5px; background: #F0F1F3; border-radius: 4px; overflow: hidden; margin-top: 4px; }
.mx-bar i { display: block; height: 100%; background: var(--ac); }
.mx-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); vertical-align: middle; }
.mx-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #F0F1F3; padding: 6px 4px 16px; background: #fff; }
.mx-tabs button { border: 0; background: none; display: grid; justify-items: center; gap: 2px; font-size: .62rem; font-weight: 600; color: #8A8D94; padding: 4px 0; }
.mx-tabs button.on { color: var(--ac); }
.mx-switch { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.mx-switch button { border: 1px solid #ECEDF1; background: #fff; border-radius: 12px; padding: 10px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; text-align: left; color: #1F1F1F; }
.mx-switch button span { grid-row: span 2; width: 32px; height: 32px; border-radius: 9px; background: #FFEDE4; color: #FE4A0A; display: grid; place-items: center; }
.mx-switch button b { font-size: .8rem; font-weight: 800; }
.mx-switch button small { font-size: .66rem; color: #7C7F87; }
.mx-switch button.on { border-color: #FE4A0A; background: #FFF7F2; box-shadow: 0 0 0 1px #FE4A0A inset; }
.mx-tiles3 button { min-width: 0; } .mx-pad > * { min-width: 0; }
/* Company demo: design examples switcher */
.cb-ex { display: grid; gap: 8px; margin-bottom: 12px; }
.cb-ex > b { font-size: .8rem; color: #5A5D64; }
.cb-ex > div { display: flex; gap: 6px; flex-wrap: wrap; }
.cb-ex button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #E4E6EA; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 600; color: #2A2C31; }
.cb-ex button svg { color: #FE4A0A; }
.cb-ex button.on { background: linear-gradient(90deg,#FF6A1A,#FE4A0A); border-color: #FE4A0A; color: #fff; }
.cb-ex button.on svg { color: #fff; }
@media (max-width: 600px) { .cb-ex > div { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .cb-ex button { flex: none; } }
