.mg-page {
  width: 100%;
  min-width: 0;
}

.mg-page-heading {
  margin-bottom: 31px;
}

.mg-page-heading > div > p:last-child {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.mg-title-dot {
  color: var(--blue);
}

.mg-heading-count {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 27px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 8px;
}

.mg-store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
  gap: 25px;
  align-items: start;
}

.mg-store-editor {
  padding: 27px;
}

.mg-panel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}

.mg-section-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #6089bc;
  background: #edf3fa;
  border-radius: 8px;
}

.mg-section-icon .icon {
  width: 20px;
  height: 20px;
}

.mg-panel-heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.3px;
}

.mg-panel-heading p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.mg-store-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mg-store-form .field {
  width: 100%;
}

.mg-store-form .field-input {
  width: 100%;
}

.mg-store-form textarea {
  min-height: 120px;
  resize: vertical;
}

.mg-slug-field > p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 8px 0 0;
}

.mg-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 23px;
}

.mg-form-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}

.mg-form-footer > span .icon {
  height: 15px;
  width: 15px;
  color: #8b9d88;
}

.mg-form-footer > button {
  flex-shrink: 0;
}

.mg-store-aside {
  min-width: 0;
}

.mg-store-preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white, #fff);
  overflow: hidden;
}

.mg-preview-top {
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mg-preview-top > span:first-child {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 650;
}

.mg-store-visual {
  height: 185px;
  overflow: hidden;
  background: #dfebf9;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mg-store-orbit {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid #a7c4e866;
  border-radius: 50%;
  left: -55px;
  top: -110px;
}

.mg-store-orbit-two {
  left: auto;
  top: 30px;
  right: -30px;
}

.mg-store-monogram {
  color: #7699c3;
  font-size: 66px;
  font-weight: 550;
  letter-spacing: -.08em;
  line-height: 1;
  transform: translateX(-2px);
}

.mg-store-flower {
  position: absolute;
  bottom: 14px;
  right: 18px;
  color: #95b5db;
  transform: rotate(-18deg);
}

.mg-store-flower .brand-mark {
  width: 22px;
  height: 29px;
}

.mg-store-preview-copy {
  padding: 23px 23px 21px;
}

.mg-store-preview-copy > .eyebrow {
  font-size: 10px;
  letter-spacing: .85px;
  color: #9c8c74;
}

.mg-store-preview-copy h2 {
  margin: 10px 0;
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.mg-store-preview-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  overflow-wrap: anywhere;
}

.mg-preview-address {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a39784;
  font-size: 10px;
  margin-top: 20px;
  overflow-wrap: anywhere;
}

.mg-preview-address .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.mg-preview-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 23px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 650;
}

.mg-preview-link .icon {
  width: 16px;
  height: 16px;
}

.mg-preview-link:hover {
  background: #faf8f3;
}

.mg-aside-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 10px;
  color: #a1917b;
}

.mg-aside-note > .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

.mg-aside-note p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}

.mg-aside-note strong {
  font-weight: 650;
}

.mg-status-active, .mg-status-paid, .mg-status-delivered {
  background: #edf3e9;
  color: #67835e;
  border: 1px solid #dce8d5;
}

.mg-status-neutral, .mg-status-expired {
  background: #f2efe9;
  color: #9a8b77;
  border: 1px solid #e8e1d7;
}

.mg-status-pending {
  background: #fbf3df;
  color: #a0884c;
  border: 1px solid #efe3bf;
}

.mg-status-delivered {
  background: #ecf1fa;
  color: #718ab0;
  border-color: #dce5f1;
}

.mg-status-active > span, .mg-status-neutral > span, .mg-status-pending > span, .mg-status-paid > span, .mg-status-delivered > span, .mg-status-expired > span {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}

.mg-catalogue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
}

.mg-filter-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.mg-filter-tab {
  padding: 9px 14px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  border-radius: 5px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.mg-filter-tab:hover {
  background: #f0ece4;
}

.mg-filter-tab-active {
  color: var(--ink);
  background: var(--white, #fff);
  border-color: var(--line);
  font-weight: 650;
  box-shadow: 0 1px 2px #51463405;
}

.mg-search-form {
  position: relative;
  width: 235px;
  flex-shrink: 0;
}

.mg-search-form > .icon {
  width: 16px;
  height: 16px;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #a99c88;
  pointer-events: none;
}

.mg-search-form .field {
  margin: 0;
}

.mg-search-input {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white, #fff);
  padding: 10px 11px 10px 37px;
  height: 38px;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  width: 100%;
  outline: none;
}

.mg-search-input::placeholder {
  color: #a99d8c;
}

.mg-search-input:focus {
  border-color: #80acd9;
  box-shadow: 0 0 0 3px #65a9ff15;
}

.mg-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mg-product-card {
  background: var(--white, #fff);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.mg-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 17px #4e49360a;
}

.mg-product-cover {
  --cover-bg: #d9eafa;
  --cover-ink: #8aa9ce;
  --cover-orb: #b4cfec;
  height: 186px;
  position: relative;
  background: var(--cover-bg);
  color: var(--cover-ink);
  overflow: hidden;
  isolation: isolate;
}

.mg-cover-sand, .mg-cover-amber {
  --cover-bg: #ece3d2;
  --cover-ink: #ac9470;
  --cover-orb: #d7c2a2;
}

.mg-cover-pink, .mg-cover-rose {
  --cover-bg: #f3ddd8;
  --cover-ink: #c78f83;
  --cover-orb: #e6b9ad;
}

.mg-cover-mint, .mg-cover-green, .mg-cover-emerald {
  --cover-bg: #deebe1;
  --cover-ink: #90aa96;
  --cover-orb: #b9d3c0;
}

.mg-cover-purple, .mg-cover-violet {
  --cover-bg: #e6e0ef;
  --cover-ink: #a593b9;
  --cover-orb: #cbbddd;
}

.mg-cover-orange {
  --cover-bg: #f5e2ce;
  --cover-ink: #caa070;
  --cover-orb: #e5c49b;
}

.mg-product-cover > .status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10px;
  padding: 5px 8px;
  border: 1px solid #ffffff80;
  background: #fffdf9d9;
  border-radius: 4px;
}

.mg-cover-status-active {
  color: #738c6b;
}

.mg-cover-status-paused {
  color: #a2937e;
}

.mg-product-cover > .status-badge > span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}

.mg-cover-orb {
  position: absolute;
  width: 205px;
  height: 205px;
  border: 1px solid var(--cover-ink);
  opacity: .23;
  border-radius: 50%;
  top: -118px;
  right: -14px;
}

.mg-cover-orb-second {
  top: auto;
  right: auto;
  left: -74px;
  bottom: -151px;
  width: 265px;
  height: 265px;
}

.mg-cover-grid {
  position: absolute;
  height: 88px;
  width: 88px;
  background: var(--cover-orb);
  border-radius: 50%;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .55;
}

.mg-cover-initials {
  position: absolute;
  font-size: 49px;
  font-weight: 450;
  letter-spacing: -.08em;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.5;
}

.mg-cover-bottom {
  position: absolute;
  left: 16px;
  right: 15px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mg-cover-bottom > span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.mg-cover-bottom .brand-mark {
  width: 15px;
  height: 20px;
}

.mg-product-content {
  padding: 18px 17px 14px;
}

.mg-product-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mg-product-name-row > button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.2px;
  text-align: left;
  line-height: 1.5;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.mg-product-name-row > button:hover {
  color: #6385ae;
}

.mg-product-name-row > strong {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.7;
}

.mg-product-content > p {
  margin: 8px 0 18px;
  min-height: 34px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.mg-product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.mg-product-actions .button {
  padding: 7px 9px;
  font-size: 12px;
  gap: 7px;
  min-height: 31px;
}

.mg-product-actions .button .icon {
  width: 12px;
  height: 12px;
}

.mg-product-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: inherit;
  font-size: 12px;
  color: #9c8d78;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 0 8px 5px;
}

.mg-product-toggle .icon {
  width: 12px;
  height: 12px;
}

.mg-product-toggle:hover {
  color: var(--ink);
}

.mg-stream-empty {
  display: none;
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 12px;
  min-height: 340px;
  padding: 60px 30px;
  text-align: center;
}

.mg-stream-empty:only-child {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.mg-stream-empty h2, .mg-orders-empty h2 {
  font-size: 20px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -.6px;
  margin: 17px 0 8px;
}

.mg-stream-empty p, .mg-orders-empty p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  max-width: 380px;
}

.mg-stream-empty .button, .mg-orders-empty .button {
  margin-top: 24px;
}

.mg-empty-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #ebe6da;
  color: #9e9078;
  border-radius: 12px;
}

.mg-empty-symbol .icon {
  width: 24px;
  height: 24px;
}

.mg-catalogue-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a1937e;
  margin: 24px 0 0;
  font-size: 10px;
  line-height: 1.6;
}

.mg-catalogue-note .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mg-order-notice {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  background: #edf2f7;
  border: 1px solid #dfe7ef;
  border-radius: 9px;
  margin-bottom: 25px;
}

.mg-notice-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  border-radius: 8px;
  color: #7292b7;
  background: #e0e9f3;
}

.mg-notice-icon .icon {
  width: 18px;
  height: 18px;
}

.mg-order-notice > div {
  flex: 1;
}

.mg-order-notice strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: #607487;
}

.mg-order-notice p {
  color: #8c9aab;
  font-size: 12px;
  margin: 4px 0 0;
}

.mg-simulation-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dce4ed;
  border-radius: 5px;
  padding: 6px 9px;
  color: #8a9aaf;
  font-size: 10px;
  line-height: 1.4;
  background: #f9fbfd;
  white-space: nowrap;
}

.mg-simulation-tag .icon {
  width: 12px;
  height: 12px;
}

.mg-orders-panel {
  overflow: hidden;
}

.mg-orders-toolbar {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.mg-order-count {
  color: #a99c89;
  font-size: 10px;
  white-space: nowrap;
}

.mg-orders-table-wrap {
  overflow-x: auto;
}

.mg-orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.mg-orders-table th {
  color: #a09482;
  background: #faf8f3;
  font-size: 11px;
  letter-spacing: .15px;
  font-weight: 500;
  padding: 13px 14px;
  white-space: nowrap;
}

.mg-orders-table th:first-child, .mg-orders-table td:first-child {
  padding-left: 24px;
}

.mg-orders-table td {
  border-top: 1px solid var(--line);
  padding: 20px 14px;
  font-size: 12px;
  vertical-align: middle;
}

.mg-order-row:hover {
  background: #fdfbf6;
}

.mg-order-reference > button {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 0;
  font: inherit;
  font-weight: 650;
  font-size: 12px;
  cursor: pointer;
}

.mg-order-reference > button:hover {
  color: #6086b6;
}

.mg-order-reference > span {
  display: block;
  color: #a89a86;
  font-size: 10px;
  margin-top: 5px;
  white-space: nowrap;
}

.mg-order-customer > span:last-child {
  font-weight: 550;
  white-space: nowrap;
}

.mg-customer-avatar {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  background: #f0eadf;
  color: #a19580;
  border: 1px solid #e8dfd0;
  font-size: 10px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}

.mg-order-product {
  color: #8d816d;
  max-width: 170px;
  line-height: 1.6;
}

.mg-order-channel {
  white-space: nowrap;
  color: #948670;
}

.mg-channel-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aebcdb;
  margin-right: 6px;
}

.mg-channel-dot-telegram {
  background: #9cc2db;
}

.mg-channel-dot-whatsapp {
  background: #a0bda2;
}

.mg-order-total {
  font-weight: 650;
  white-space: nowrap;
}

.mg-order-status > .status-badge {
  font-size: 10px;
  padding: 5px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.mg-order-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  color: #a69b88;
  background: transparent;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.mg-order-open-button:hover {
  background: #efe9de;
  color: var(--ink);
}

.mg-order-open-button > span {
  display: none;
}

.mg-order-open-button .icon {
  width: 15px;
  height: 15px;
}

.mg-orders-empty-row {
  display: none;
}

.mg-orders-empty-row:only-child {
  display: table-row;
}

.mg-orders-table .mg-orders-empty-row > td {
  padding: 0;
}

.mg-orders-empty {
  min-height: 300px;
  padding: 45px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.mg-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mg-channels-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
  background: #e7eff9;
  border: 1px solid #d9e4f2;
  border-radius: 11px;
  min-height: 259px;
  padding: 35px 37px;
  margin-bottom: 28px;
  overflow: hidden;
}

.mg-channels-hero-copy {
  position: relative;
  z-index: 1;
}

.mg-channels-hero-copy .eyebrow {
  font-size: 10px;
  color: #7d98b8;
}

.mg-channels-hero h2 {
  margin: 13px 0 12px;
  color: #4d6380;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -1.1px;
  line-height: 1.2;
}

.mg-channels-hero h2 > span {
  color: #8ca7c8;
}

.mg-channels-hero-copy > p {
  color: #7f93ae;
  font-size: 12px;
  line-height: 1.8;
  max-width: 330px;
  margin: 0;
}

.mg-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 650;
}

.mg-inline-link:hover {
  color: #608bc2;
}

.mg-inline-link .icon {
  width: 14px;
  height: 14px;
}

.mg-channels-hero .mg-inline-link {
  margin-top: 20px;
  color: #6a87ab;
}

.mg-channel-constellation {
  width: 270px;
  height: 235px;
  position: absolute;
  right: 43px;
  top: 8px;
}

.mg-constellation-core {
  display: grid;
  place-items: center;
  width: 69px;
  height: 69px;
  border: 1px solid #c6d9ef;
  background: #f4f8fd;
  border-radius: 20px;
  position: absolute;
  top: 87px;
  left: 95px;
  z-index: 2;
  box-shadow: 0 7px 15px #7198c70b;
  color: #7da7db;
}

.mg-constellation-core .brand-mark {
  width: 24px;
  height: 32px;
}

.mg-constellation-node {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  box-shadow: 0 3px 8px #5b78a40a;
  border-radius: 13px;
  position: absolute;
  font-size: 14px;
  font-weight: 650;
  z-index: 2;
}

.mg-node-telegram {
  left: 20px;
  top: 28px;
  background: #d0e3f6;
  color: #82a5c9;
  transform: rotate(-9deg);
}

.mg-node-discord {
  right: 5px;
  top: 48px;
  background: #dddff2;
  color: #9a9fc7;
  transform: rotate(8deg);
}

.mg-node-whatsapp {
  right: 48px;
  bottom: 3px;
  background: #d7e9db;
  color: #91b399;
  transform: rotate(-5deg);
}

.mg-constellation-line {
  position: absolute;
  width: 108px;
  height: 1px;
  background: #c1d3ea;
  left: 32px;
  top: 96px;
  transform: rotate(43deg);
}

.mg-constellation-line-two {
  left: 143px;
  top: 99px;
  transform: rotate(-29deg);
}

.mg-constellation-line-three {
  left: 127px;
  top: 172px;
  transform: rotate(51deg);
  width: 95px;
}

.mg-constellation-orbit {
  position: absolute;
  top: 43px;
  left: 48px;
  width: 170px;
  height: 170px;
  border: 1px dashed #c4d5e9;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.mg-channel-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mg-channel-card {
  padding: 23px 20px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mg-channel-card-connected {
  border-color: #cbdcc7;
}

.mg-channel-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 26px;
}

.mg-channel-emblem {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 18px;
  font-weight: 650;
  border-radius: 11px;
}

.mg-channel-emblem-telegram {
  color: #8caaca;
  background: #e8f0f9;
}

.mg-channel-emblem-discord {
  color: #9c9cc3;
  background: #edecf7;
}

.mg-channel-emblem-whatsapp {
  color: #93ad92;
  background: #e9f1e6;
}

.mg-channel-card-top .status-badge {
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.mg-channel-card h2 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -.7px;
  margin: 0;
}

.mg-channel-tagline {
  font-size: 11px;
  color: #b3a48c;
  margin: 5px 0 0;
}

.mg-channel-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 18px 0;
}

.mg-channel-caveat {
  display: flex;
  gap: 6px;
  color: #b49e73;
  background: #fbf5e8;
  border-radius: 5px;
  padding: 9px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 17px;
}

.mg-channel-caveat > .icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.mg-channel-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.mg-channel-card-bottom > span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ab9b83;
  font-size: 10px;
}

.mg-channel-card-bottom .button {
  font-size: 12px;
  gap: 7px;
  padding: 8px 9px;
  min-height: 32px;
}

.mg-channel-card-bottom .button .icon {
  width: 12px;
  height: 12px;
}

.mg-ready-dot, .mg-idle-dot {
  display: block;
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #b0c1a7;
}

.mg-idle-dot {
  background: #c6bcae;
}

.mg-channels-explanation {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-top: 25px;
  padding: 22px 23px;
  background: #faf8f2;
}

.mg-explanation-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #efeade;
  color: #b5a68b;
  flex-shrink: 0;
}

.mg-explanation-icon .icon {
  width: 17px;
  height: 17px;
}

.mg-channels-explanation > div {
  flex: 1;
}

.mg-channels-explanation h2 {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 650;
}

.mg-channels-explanation p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  max-width: 540px;
}

.mg-channels-explanation > .mg-inline-link {
  flex-shrink: 0;
  margin-left: 15px;
}

@media (max-width: 1250px) {
  .mg-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mg-store-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(245px, 1fr);
    gap: 20px;
  }
  .mg-store-editor {
    padding: 23px;
  }
  .mg-form-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .mg-form-footer > button {
    align-self: flex-end;
  }
  .mg-orders-table th, .mg-orders-table td {
    padding-left: 10px;
    padding-right: 10px;
  }
  .mg-orders-table th:first-child, .mg-orders-table td:first-child {
    padding-left: 18px;
  }
  .mg-orders-table {
    min-width: 755px;
  }
  .mg-channel-cards {
    gap: 15px;
  }
  .mg-channel-card {
    padding-left: 16px;
    padding-right: 16px;
  }
  .mg-channel-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 20px;
  }
  .mg-channel-card-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .mg-channel-card-bottom .button {
    width: 100%;
    justify-content: space-between;
  }
  .mg-channels-explanation {
    flex-wrap: wrap;
  }
  .mg-channels-explanation > .mg-inline-link {
    margin-left: 49px;
  }
}

@media (max-width: 800px) {
  .mg-store-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .mg-store-editor {
    padding: 24px;
  }
  .mg-form-footer {
    flex-direction: row;
    align-items: center;
  }
  .mg-form-footer > span {
    max-width: 200px;
    line-height: 1.6;
  }
  .mg-store-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
    align-items: center;
    gap: 22px;
  }
  .mg-store-visual {
    height: 140px;
  }
  .mg-store-monogram {
    font-size: 56px;
  }
  .mg-aside-note {
    padding: 0;
  }
  .mg-catalogue-toolbar {
    flex-wrap: wrap;
    gap: 15px;
  }
  .mg-search-form {
    width: 210px;
  }
  .mg-product-cover {
    height: 171px;
  }
  .mg-channels-hero {
    padding: 28px;
  }
  .mg-channels-hero h2 {
    font-size: 27px;
  }
  .mg-channels-hero-copy > p {
    max-width: 265px;
  }
  .mg-channel-constellation {
    transform: scale(.85);
    transform-origin: right center;
    right: 15px;
  }
  .mg-channel-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .mg-channel-card {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 20px;
    gap: 0 25px;
  }
  .mg-channel-card-top {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    grid-column: 1;
    margin-bottom: 16px;
  }
  .mg-channel-card h2, .mg-channel-tagline, .mg-channel-description, .mg-channel-caveat {
    grid-column: 1;
  }
  .mg-channel-description {
    max-width: 330px;
    margin-bottom: 0;
  }
  .mg-channel-caveat {
    margin-top: 15px;
    margin-bottom: 0;
  }
  .mg-channel-card-bottom {
    grid-column: 2;
    grid-row: 1 / 6;
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
    gap: 11px;
  }
  .mg-channel-card-bottom .button {
    width: auto;
    min-width: 115px;
    padding: 10px 12px;
  }
}

@media (max-width: 600px) {
  .mg-page-heading {
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
  }
  .mg-page-heading > div > p:last-child {
    max-width: 290px;
    font-size: 12px;
  }
  .mg-page-heading > .button {
    align-self: flex-start;
    white-space: nowrap;
    font-size: 10px;
    padding: 10px 12px;
  }
  .mg-store-editor {
    padding: 20px;
  }
  .mg-panel-heading {
    align-items: flex-start;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .mg-panel-heading p {
    max-width: 220px;
  }
  .mg-store-form {
    gap: 20px;
  }
  .mg-form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .mg-form-footer > span {
    max-width: none;
  }
  .mg-form-footer > button {
    width: 100%;
    justify-content: space-between;
  }
  .mg-store-aside {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .mg-store-preview {
    max-width: none;
  }
  .mg-store-visual {
    height: 170px;
  }
  .mg-aside-note {
    padding: 20px 6px 0;
  }
  .mg-catalogue-toolbar {
    align-items: stretch;
    gap: 16px;
    margin-bottom: 20px;
  }
  .mg-filter-tabs {
    gap: 3px;
  }
  .mg-filter-tab {
    padding: 9px 12px;
    font-size: 12px;
  }
  .mg-search-form {
    width: 100%;
  }
  .mg-search-input {
    height: 41px;
    font-size: 12px;
  }
  .mg-products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .mg-product-cover {
    height: 210px;
  }
  .mg-cover-grid {
    height: 105px;
    width: 105px;
    top: 61px;
  }
  .mg-cover-initials {
    font-size: 61px;
    top: 66px;
  }
  .mg-cover-orb {
    width: 280px;
    height: 280px;
    top: -190px;
    right: -10px;
  }
  .mg-product-content {
    padding: 20px;
  }
  .mg-product-name-row > button {
    font-size: 14px;
  }
  .mg-product-name-row > strong {
    font-size: 12px;
  }
  .mg-product-content > p {
    font-size: 12px;
    min-height: 0;
    margin: 10px 0 19px;
  }
  .mg-product-actions .button {
    min-height: 35px;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .mg-product-toggle {
    font-size: 12px;
    padding-right: 0;
  }
  .mg-catalogue-note {
    font-size: 10px;
    align-items: flex-start;
    gap: 6px;
  }
  .mg-catalogue-note .icon {
    margin-top: 1px;
  }
  .mg-stream-empty {
    padding: 45px 20px;
    min-height: 310px;
  }
  .mg-stream-empty h2, .mg-orders-empty h2 {
    font-size: 18px;
  }
  .mg-stream-empty p, .mg-orders-empty p {
    font-size: 11px;
  }
  .mg-order-notice {
    padding: 15px;
    gap: 10px;
    align-items: flex-start;
  }
  .mg-order-notice .mg-simulation-tag {
    display: none;
  }
  .mg-order-notice strong {
    font-size: 10px;
  }
  .mg-order-notice p {
    font-size: 12px;
    line-height: 1.7;
  }
  .mg-orders-toolbar {
    display: block;
    padding: 13px;
  }
  .mg-orders-toolbar .mg-filter-tabs {
    gap: 2px;
  }
  .mg-orders-toolbar .mg-filter-tab {
    padding: 8px 9px;
    font-size: 10px;
  }
  .mg-order-count {
    display: none;
  }
  .mg-orders-table {
    min-width: 0;
    display: block;
  }
  .mg-orders-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .mg-orders-table tbody {
    display: block;
  }
  .mg-order-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 15px 10px;
    border-top: 1px solid var(--line);
  }
  .mg-order-row:first-of-type {
    border-top: 0;
  }
  .mg-orders-table .mg-order-row td, .mg-orders-table .mg-order-row td:first-child {
    padding: 0;
    border: 0;
  }
  .mg-order-reference {
    grid-column: 1;
    grid-row: 1;
  }
  .mg-order-status {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .mg-order-customer {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .mg-order-customer > span:last-child {
    font-size: 11px;
  }
  .mg-order-product {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
  }
  .mg-order-product::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    color: #b4a68d;
    margin-bottom: 4px;
  }
  .mg-order-channel {
    grid-column: 1;
    grid-row: 4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .mg-order-channel::before {
    content: attr(data-label);
    display: block;
    flex-basis: 100%;
    margin-bottom: 7px;
    font-size: 10px;
    color: #b4a68d;
  }
  .mg-order-total {
    grid-column: 2;
    grid-row: 4;
    justify-self: end;
    text-align: right;
  }
  .mg-order-total::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    color: #b4a68d;
    margin-bottom: 7px;
    font-weight: 400;
  }
  .mg-order-open {
    grid-column: 1 / -1;
    grid-row: 5;
    border-top: 1px solid var(--line) !important;
    padding-top: 12px !important;
  }
  .mg-order-open-button {
    width: 100%;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    color: #8e806c;
    border-radius: 0;
  }
  .mg-order-open-button > span {
    display: block;
    font-size: 10px;
  }
  .mg-orders-empty-row:only-child {
    display: block;
  }
  .mg-orders-empty-row:only-child > td {
    display: block;
  }
  .mg-orders-empty {
    padding: 40px 20px;
  }
  .mg-channels-hero {
    display: block;
    padding: 26px;
    padding-bottom: 205px;
    min-height: 0;
  }
  .mg-channels-hero h2 {
    font-size: 28px;
  }
  .mg-channels-hero-copy > p {
    max-width: 300px;
    font-size: 12px;
  }
  .mg-channel-constellation {
    transform: scale(.77);
    transform-origin: center;
    top: auto;
    bottom: -7px;
    right: calc(50% - 135px);
  }
  .mg-channels-hero .mg-inline-link {
    margin-top: 17px;
  }
  .mg-channel-card {
    display: flex;
    padding: 22px;
    gap: 0;
  }
  .mg-channel-card-top {
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 23px;
  }
  .mg-channel-description {
    margin-top: 17px;
    margin-bottom: 21px;
  }
  .mg-channel-caveat {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 12px;
  }
  .mg-channel-card-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    gap: 10px;
  }
  .mg-channel-card-bottom > span {
    font-size: 10px;
  }
  .mg-channel-card-bottom .button {
    min-width: auto;
    font-size: 12px;
    padding: 9px 12px;
  }
  .mg-channels-explanation {
    align-items: flex-start;
    padding: 20px;
    gap: 12px;
  }
  .mg-channels-explanation > div {
    min-width: calc(100% - 46px);
  }
  .mg-channels-explanation h2 {
    font-size: 11px;
    line-height: 1.7;
  }
  .mg-channels-explanation > .mg-inline-link {
    margin-left: 46px;
    margin-top: 3px;
  }
  .mg-page-heading > .mg-simulation-tag {
    font-size: 10px;
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-product-card {
    transition: none;
  }
  .mg-product-card:hover {
    transform: none;
  }
}

/* Operational details remain readable alongside the conversational surface. */
.mg-preview-top > span:first-child, .mg-store-preview-copy > .eyebrow, .mg-preview-address, .mg-catalogue-note, .mg-product-toggle, .mg-order-count, .mg-orders-table th, .mg-order-reference > span, .mg-order-product, .mg-order-channel, .mg-order-open-button, .mg-channel-tagline, .mg-channel-card-bottom > span {
  color: var(--muted);
}

.mg-order-notice strong {
  color: #4e647c;
}

.mg-order-notice p, .mg-simulation-tag {
  color: #5b6e85;
}

.mg-channels-hero-copy .eyebrow, .mg-channels-hero-copy > p, .mg-channels-hero h2 > span, .mg-channels-hero .mg-inline-link {
  color: #506e95;
}

.mg-channel-caveat {
  color: #786336;
  font-size: 11px;
}

.mg-channel-card-bottom > span, .mg-form-footer > span, .mg-slug-field > p, .mg-preview-address {
  font-size: 11px;
}

.mg-product-content > p {
  min-height: 42px;
}

.mg-filter-tabs {
  flex-wrap: wrap;
}

.mg-filter-tab, .mg-product-actions .button, .mg-product-toggle, .mg-order-reference > button, .mg-order-open-button, .mg-channel-card-bottom .button, .mg-inline-link {
  min-height: 40px;
}

.mg-product-actions {
  flex-wrap: wrap;
}

.mg-product-name-row {
  flex-wrap: wrap;
}

.mg-product-name-row > button {
  min-width: 0;
}

.mg-channel-card-top {
  flex-wrap: wrap;
}

.mg-customer-avatar {
  color: #75664f;
}

@media (max-width: 760px) {
  .mg-filter-tab, .mg-orders-toolbar .mg-filter-tab, .mg-product-actions .button, .mg-product-toggle, .mg-order-reference > button, .mg-order-open-button, .mg-channel-card-bottom .button, .mg-inline-link, .mg-search-input {
    min-height: 44px;
  }
  .mg-search-input {
    font-size: 16px;
  }
  .mg-filter-tab, .mg-orders-toolbar .mg-filter-tab {
    font-size: 12px;
  }
  .mg-orders-toolbar .mg-filter-tabs {
    gap: 4px;
  }
  .mg-product-content > p, .mg-order-notice p, .mg-channels-hero-copy > p, .mg-channel-description, .mg-channels-explanation p {
    font-size: 12px;
  }
  .mg-product-actions .button, .mg-product-toggle, .mg-channel-card-bottom .button {
    font-size: 12px;
  }
  .mg-channel-card-top .status-badge, .mg-order-status > .status-badge {
    font-size: 10px;
  }
  .mg-channel-card-bottom > span {
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .mg-order-open-button > span {
    font-size: 12px;
  }
  .mg-order-product::before, .mg-order-channel::before, .mg-order-total::before {
    font-size: 10px;
    color: var(--muted);
  }
  .mg-order-customer > span:last-child {
    font-size: 12px;
  }
  .mg-catalogue-note {
    font-size: 11px;
  }
  .mg-channel-caveat {
    font-size: 11px;
  }
  .mg-page-heading > .button {
    font-size: 12px;
  }
  .mg-channel-card-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .mg-store-editor, .mg-product-content, .mg-channel-card {
    padding: 18px;
  }
  .mg-channel-card-bottom .button {
    width: 100%;
    justify-content: space-between;
  }
  .mg-product-actions .button {
    flex: 1;
  }
  .mg-product-toggle {
    padding-left: 4px;
  }
  .mg-order-row {
    padding: 16px;
  }
}
