/* 移动端优先，风格贴近金色顶栏 + 浅黄底 + 三列网格栅格 */

:root {
  /* 顶栏主金黄（与截图「商家中心」条对齐）；与 index.php、manifest 须同值 */
  --header-gradient-top: #e6c545;
  --gold: #e8b923;
  --gold-deep: #d4a61a;
  --bg: #f9f6e8;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #8a8a8a;
  --red-dot: #e54545;
  --gray-dot: #b0b0b0;
  --header-h: 48px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
}

/* ========== 登录页 ========== */
.page-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
  background: linear-gradient(180deg, #fff6cc 0%, var(--bg) 45%, #f0e8d4 100%);
}

.login-wrap {
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: var(--card);
  border-radius: 16px;
  padding: 32px 24px 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.login-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.login-sub {
  margin: 0 0 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.login-error {
  background: #fff0f0;
  color: #b00020;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: #444;
}

.login-label input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
}

.login-label input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold-deep);
  background: #fff;
}

.btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--header-gradient-top) 0%, var(--gold) 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(214, 175, 30, 0.45);
}

.btn-primary:active {
  transform: translateY(1px);
}

.login-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 0.88rem;
}

.login-footer a {
  color: #5a5a5a;
}

.login-footer-sep {
  margin: 0 6px;
  color: #b0b0b0;
}

/* ========== 通道页顶栏（仿小程序风）========== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 10px 0 6px;
  background: linear-gradient(180deg, var(--header-gradient-top) 0%, var(--gold) 100%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.app-header__back {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  color: #111;
  font-size: 1.6rem;
  font-weight: 700;
}

.app-header__title {
  flex: 1 1 auto;
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.app-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 48px;
  justify-content: flex-end;
}

.app-header__logout {
  margin-left: 2px;
  font-size: 0.8rem;
  color: #222;
  text-decoration: none;
  padding: 4px 6px;
  white-space: nowrap;
}

.app-header__logout:active {
  opacity: 0.7;
}

/* ========== 主内容：三列网格 ========== */
.app-main {
  padding: 14px 10px 28px;
  max-width: 480px;
  margin: 0 auto;
}

.channel-empty {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 40px 20px 32px;
  margin: 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.channel-card {
  background: var(--card);
  border-radius: 12px;
  padding: 12px 8px 10px;
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.channel-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: #f3f0e6;
  overflow: hidden;
}

.channel-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.channel-card__logo-fallback {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.channel-card__name {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
  color: #111;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.channel-card__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.7rem;
  line-height: 1;
  margin-top: auto;
  width: 100%;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--red { background: var(--red-dot); }
.dot--gray { background: var(--gray-dot); }
.dot--green { background: #1aad19; }

.status-text { color: #555; }
.status--warn .status-text { color: #c33; }
.status--muted .status-text { color: #888; }
.status--ok .status-text { color: #1a7f37; }

@media (min-width: 500px) {
  .app-main { max-width: 520px; }
}

/* ========== 商家中心页（与参考图2同结构，沿用金色/浅黄主题）========== */
.page-merchant {
  background: var(--bg);
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

/* 仅首页：顶缘/橡皮筋上拉/部分 WebView 与 theme-color 同色；与 public/user/index.php 中 meta 同色系 */
html.page-merchant-home {
  background-color: var(--header-gradient-top);
  color-scheme: light;
}

body.page-merchant-home.page-merchant {
  /* 首屏上缘为金渐变顶，与 .mch-surface 衔接；下方仍回米底，避免全屏发青黄 */
  background: linear-gradient(
      180deg,
      var(--header-gradient-top) 0%,
      var(--gold) 1.5rem,
      #f0e0a0 3.25rem,
      var(--bg) 4.5rem
    )
    0 0/100% 4.5rem no-repeat, var(--bg);
}

/* 避免内嵌 WebView 里链接默认变蓝、顶栏/正文统一深色字 */
.page-merchant a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
}

.page-merchant .app-header a,
.page-merchant .app-header__logout,
.page-merchant .app-header__title {
  color: #111;
  text-decoration: none;
}

/* 整段黄色渐变顶区：含顶栏 + 内边距，不等同于下面那张圆角主数据卡 */
.mch-surface {
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--header-gradient-top) 0%, var(--gold) 40%, #d4a61a 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  padding-bottom: 4px;
}

/* 刘海/安全区：金底铺入状态栏下沿（需 viewport 含 viewport-fit=cover，仅首页声明） */
body.page-merchant-home .mch-surface {
  padding-top: max(0px, env(safe-area-inset-top, 0px));
}

.app-header--in-surface {
  position: relative;
  background: transparent;
  box-shadow: none;
}

.app-header__home {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
}

.app-header__home:active {
  opacity: 0.7;
}

/* 主数据卡：在 .mch-surface 内，你标的「公司名/金额/笔数/状态」的模块仅指本类，不包顶栏 */
.mch-income {
  position: relative;
  /* 与顶栏间距用外边距，勿用负 margin 整体上移（顶栏位置不变） */
  margin: 8px 12px 14px;
  /* 相对最初版主卡：上/下内边累计再收，总高度再约 -20px（相对上一版再 -20px） */
  padding: 24px 14px 4px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 252, 230, 0.92) 0%, rgba(255, 242, 190, 0.55) 100%);
  color: #111;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mch-surface,
.mch-body {
  color: #1a1a1a;
}

.mch-income__bg {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 110px;
  height: 90px;
  background: no-repeat 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100' fill='none' stroke='%23000' stroke-opacity='0.1' stroke-width='1.2'%3E%3Crect x='15' y='20' width='50' height='40' rx='2'/%3E%3Crect x='70' y='40' width='32' height='24' rx='1'/%3E%3Cpath d='M20 80h30M20 86h20'/%3E%3Cpath d='M80 20v12M80 8v4'/%3E%3C/svg%3E");
  background-size: contain;
  pointer-events: none;
}

/* 主卡品牌区：公司名 → 其下「小程序商家」；状态药丸锚定本区右上 */
.mch-income__brand {
  position: relative;
  z-index: 2;
  margin: 0 0 2px;
}

.mch-income__brand .mch-company {
  margin: 0 0 4px;
  padding: 0 100px; /* 与右上状态条错开，避免长公司名与药丸重叠 */
}

.mch-mini-merchant--center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.mch-mini-merchant--center.mch-mini-merchant--below {
  min-height: 24px;
  margin: 0 0 10px;
}

.mch-mini-merchant__ico {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.mch-mini-merchant__txt {
  font-size: 0.8rem;
  font-weight: 600;
  color: #3a3a3a;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.mch-company {
  position: relative;
  margin: 0 0 10px;
  padding: 0 4px;
  text-align: center;
  box-sizing: border-box;
}

.mch-company__name {
  display: inline-block;
  max-width: 100%;
  color: #1a1a1a;
  text-align: center;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 4px 2px 6px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.06);
  word-wrap: break-word;
}

.mch-company__name:visited {
  color: #1a1a1a;
}

.mch-company__placeholder {
  color: #555;
  font-weight: 500;
}

.mch-income__label {
  position: relative;
  margin: 0 0 4px;
  font-size: 0.9rem;
  line-height: 1.35;
  opacity: 0.9;
}

.mch-income__amount-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 8px;
}

.mch-income__amount {
  position: relative;
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mch-order-receiving {
  flex: 0 0 auto;
}

.mch-order-receiving__form {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.mch-order-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 14px 7px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  white-space: nowrap;
}

.mch-order-btn--open {
  background: #e8f5e9;
  color: #1b5e20;
  box-shadow: 0 0 0 1px rgba(27, 94, 32, 0.25);
}

.mch-order-btn--closed {
  background: #fff3e0;
  color: #e65100;
  box-shadow: 0 0 0 1px rgba(230, 81, 0, 0.35);
}

.mch-order-btn:active {
  opacity: 0.88;
}

.mch-income__yoy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin: 0 0 10px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #444;
}

.mch-income__yoy {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  flex: 1 1 auto;
  min-width: 0;
}

.mch-income__yoy-label {
  margin-right: 2px;
}

.mch-income__rate {
  margin: 0;
  flex: 0 0 auto;
  text-align: right;
  max-width: 100%;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.mch-income__rate-label {
  margin-right: 2px;
}

.mch-income__rate-v {
  font-weight: 600;
  white-space: nowrap;
  color: #1b5e20; /* 不高于 50%（含等于）为绿 */
}

.mch-income__rate-v--high {
  color: #c62828; /* 高于 50% 为红 */
}

.mch-yoy {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 600;
  white-space: nowrap;
}

.mch-yoy__arrow {
  display: block;
  flex-shrink: 0;
}

.mch-yoy--up {
  color: #c62828;
}

.mch-yoy--down {
  color: #2e7d32;
}

.mch-yoy--flat {
  color: #666;
  font-weight: 500;
}

.mch-income__sub {
  position: relative;
  display: flex;
  /* 仅本行相对上方金额区下移；不联动改其他模块 */
  margin-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 10px;
}

.mch-income__cell {
  flex: 1 1 50%;
  text-align: center;
}

.mch-income__k {
  display: block;
  font-size: 0.72rem;
  opacity: 0.88;
  margin-bottom: 2px;
}

.mch-income__v {
  font-size: 1.05rem;
  font-weight: 600;
}

/* 经营状态药丸；--tr=在 mch-income__brand 内绝对定位右上 */
.mch-merchant-state {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  text-align: left;
}

.mch-merchant-state--tr {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  margin: 0;
  max-width: 50%;
  text-align: right;
}

.mch-merchant-state--tr .mch-state-btn {
  margin-top: 0;
}

.mch-state-form {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.mch-state-btn {
  border: none;
  border-radius: 999px;
  margin-top: 1px; /* 与公司名大字号顶线略对齐 */
  padding: 4px 10px 5px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  white-space: nowrap;
}

.mch-state-btn--ok {
  background: #e8f5e9;
  color: #1b5e20;
  box-shadow: 0 0 0 1px rgba(27, 94, 32, 0.25);
}

.mch-state-btn--bad {
  background: #ffebee;
  color: #b71c1c;
  box-shadow: 0 0 0 1px rgba(183, 28, 28, 0.2);
}

.mch-state-btn:active {
  opacity: 0.88;
}

.mch-body {
  max-width: 480px;
  margin: 0 auto;
  background: #f5f2e5;
  min-height: 40vh;
  padding-bottom: 28px;
}

.mch-todo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid #ebe8de;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mch-todo:visited {
  color: #1a1a1a;
}

.mch-todo:active {
  background: #faf8f0;
}

.mch-todo__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mch-todo__bell {
  color: #c5a21a;
  display: flex;
  align-items: center;
}

.mch-todo__arrow {
  color: #bbb;
  font-size: 1.2rem;
  line-height: 1;
}

/* 三列：minmax(0,1fr) 防止子项把格子撑开导致重叠；勿用 -webkit-box 作整卡布局 */
.mch-menu-grid {
  display: grid;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  background: #fff;
  padding: 12px 12px 20px;
  border-top: 1px solid #ebe8de;
  gap: 2px 16px;
  column-gap: 16px;
}

.mch-menu-item {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: #1a1a1a;
  padding: 10px 6px 12px;
  min-height: 90px;
}

.mch-menu-item:visited {
  color: #1a1a1a;
}

.mch-menu-item:active {
  background: #faf8f0;
  border-radius: 8px;
}

.mch-menu-item__ico {
  display: block;
  flex: 0 0 auto;
  color: #1a1a1a;
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  line-height: 0;
  overflow: hidden;
}

.mch-menu-item__ico svg {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  display: block;
  vertical-align: top;
}

.mch-menu-item__t {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0 1px;
  font-size: 0.7rem;
  line-height: 1.3;
  text-align: center;
  color: #1a1a1a;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 极旧环境无 Grid 时退回 flex 三列 */
@supports not (display: grid) {
  .mch-menu-grid {
    display: flex;
    flex-wrap: wrap;
  }
  .mch-menu-item {
    width: 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    min-width: 0;
  }
}

/* 首页：最新订单记录（默认最多 6 条） */
.mch-recent-orders {
  margin: 0 auto;
  padding: 12px 12px 4px;
  max-width: 480px;
  background: #f5f2e5;
}

.mch-recent-orders__title {
  margin: 0 0 10px;
  padding: 0 2px 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  border-bottom: 1px solid #e3dcc8;
  letter-spacing: 0.02em;
}

.mch-recent-orders__empty {
  margin: 12px 0 16px;
  text-align: center;
  font-size: 0.86rem;
  color: #888;
}

.mch-recent-orders__flash {
  margin: 0 0 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 6px;
}

.mch-recent-orders__flash--err {
  background: #ffebee;
  color: #b71c1c;
}

.mch-recent-orders__flash--ok {
  background: #e8f5e9;
  color: #1b5e20;
}

.mch-orders-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.mch-orders-table {
  width: 100%;
  min-width: 300px;
  border-collapse: collapse;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #1a1a1a;
}

.mch-orders-table th,
.mch-orders-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 5px;
  text-align: left;
  vertical-align: middle;
}

.mch-orders-table th {
  background: #f7f5ef;
  font-weight: 600;
  text-align: center;
  font-size: 0.7rem;
}

.mch-orders-table__amt {
  font-weight: 600;
  white-space: nowrap;
}

.mch-orders-table__pay {
  white-space: nowrap;
  vertical-align: middle;
}
.mch-orders-table__pay .mch-pay-img,
.mch-orders-table__pay .mch-pay-ico,
.mch-orders-table__pay .mch-pay-txt {
  vertical-align: middle;
}

.mch-orders-table__time {
  font-size: 0.65rem;
  line-height: 1.45;
  color: #333;
  word-break: break-all;
}

.mch-orders-table__t2 {
  color: #666;
  margin-top: 2px;
}

.mch-orders-table__st-cell {
  text-align: center;
  vertical-align: middle;
  padding: 4px 2px;
}

.mch-order-st-form {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

.mch-order-st-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 4px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.06);
  font-family: inherit;
}

.mch-order-st-btn--1 {
  color: #1b5e20;
}

.mch-order-st-btn--2 {
  color: #1565c0;
}

.mch-order-st-btn--3 {
  color: #c62828;
}

.mch-order-st-btn:active {
  opacity: 0.75;
}

.mch-pay-ico {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  border-radius: 2px;
}

.mch-pay-ico--alipay {
  background: #1677ff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  position: relative;
}

.mch-pay-ico--alipay::after {
  content: "支";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

/* 微信：官方标（assets/img/wechat.png），与表格行对齐 */
.mch-pay-img {
  display: inline-block;
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  margin-right: 5px;
  vertical-align: middle;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.mch-pay-txt {
  font-size: 0.7rem;
}

.mch-foot-sep {
  color: #ccc;
  user-select: none;
}

.mch-foot-sep::before {
  content: "|";
  margin: 0 6px;
  color: #ccc;
}

.mch-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px 0;
  box-sizing: border-box;
}

.mch-modal--open {
  display: flex;
}

.mch-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.mch-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 16px 16px 20px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  margin-top: 48px;
}

.mch-modal__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  text-align: center;
}

.mch-batch-hint {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.45;
}

.mch-batch-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 4px;
}

.mch-batch-counts__item {
  flex: 1 1 calc(50% - 8px);
  min-width: 120px;
}

.mch-batch-counts__item .mch-batch-input {
  margin-bottom: 10px;
}

.mch-batch-times {
  margin: 0 0 2px;
}

.mch-batch-times__row {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 10px;
  flex-wrap: nowrap;
}

.mch-batch-input--time {
  flex: 1 1 40%;
  min-width: 0;
  max-width: calc(50% - 20px);
  margin-bottom: 0 !important;
}

.mch-batch-times__sep {
  flex: 0 0 auto;
  font-size: 0.88rem;
  color: #555;
}

.mch-batch-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: #1a1a1a;
}

.mch-batch-input,
.mch-batch-select {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 10px 10px;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.mch-modal__btns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.mch-btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

.mch-btn--primary {
  background: var(--gold, #e8b923);
  color: #111;
}

.mch-btn--ghost {
  background: #f0ede4;
  color: #333;
}

.mch-foot-wrap {
  text-align: center;
  margin: 20px 0 8px;
  padding: 0 12px;
}

.mch-foot-wrap--after-orders {
  margin-top: 14px;
  margin-bottom: 8px;
}

.mch-help {
  font-size: 0.88rem;
  color: #4a6b8a;
  text-decoration: none;
}

.mch-help:active {
  text-decoration: underline;
}

/* 我的收款码 */
.mch-surface--paycode {
  padding-bottom: 2px;
}

/* 收款记录页：顶栏随页面滚动时吸附在视口顶部（背景沿用 .mch-surface 金底） */
.mch-surface--pr-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
}

.mch-paycode-back {
  flex: 0 0 52px;
  min-width: 48px;
  max-width: 64px;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 4px 2px 4px 0;
  text-align: left;
  white-space: nowrap;
}

.mch-surface--paycode .app-header {
  min-height: var(--header-h);
  align-items: center;
}

.mch-surface--paycode .app-header__title {
  margin: 0;
}

.mch-paycode {
  padding-top: 14px;
}

.mch-paycode-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 0 16px 32px;
  text-align: center;
}

.mch-paycode-hint {
  font-size: 0.86rem;
  color: #555;
  line-height: 1.5;
  margin: 0 0 16px;
}

.mch-paycode-qr {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.mch-paycode-qr__img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  vertical-align: top;
}

.mch-paycode-dl {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--header-gradient-top) 0%, var(--gold) 100%);
  color: #111 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mch-paycode-dl:active {
  opacity: 0.9;
}

.mch-paycode-records {
  display: inline-block;
  font-size: 0.92rem;
  color: #a67c00 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mch-paycode-records:active {
  opacity: 0.85;
}

/* 收款记录页 */
.mch-pr {
  padding-top: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.mch-pr-flash {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 12px;
  padding-right: 12px;
}

.mch-pr-filter {
  max-width: min(100%, 480px);
  margin: 0 auto 12px;
  padding: 0 max(12px, env(safe-area-inset-left)) 0 max(12px, env(safe-area-inset-right));
  box-sizing: border-box;
}

.mch-pr-form {
  background: #fff;
  border-radius: 10px;
  padding: 14px 12px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  overflow: visible;
}

.mch-pr-dates {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 8px 10px;
  margin-bottom: 12px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  box-sizing: border-box;
}

.mch-pr-fld {
  flex: 1 0 auto;
  min-width: 7.2rem;
  width: auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mch-pr-fld__k {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  flex-shrink: 0;
  padding-top: 1px;
}

.mch-pr-fld__k--block {
  display: block;
  margin-bottom: 6px;
  flex: 0 0 100%;
  width: 100%;
}

.mch-pr-input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 10px;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.2;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.mch-pr-status {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #1a1a1a;
  gap: 0 6px;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 2px 0 6px;
  box-sizing: border-box;
}

.mch-pr-status .mch-pr-fld__k--block {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0 2px 0 0;
  display: block;
  white-space: nowrap;
}

.mch-pr-chk {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 32px;
  margin: 0;
  padding: 2px 0;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.mch-pr-chk input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  min-width: 18px;
  min-height: 18px;
  margin: 0 4px 0 0;
  vertical-align: middle;
  flex-shrink: 0;
}

.mch-pr-actions {
  text-align: center;
}

.mch-pr-submit {
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(180deg, var(--header-gradient-top) 0%, var(--gold) 100%);
  color: #111;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mch-pr-submit:active {
  opacity: 0.92;
}

.mch-pr-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
  gap: 10px 8px;
  max-width: min(100%, 480px);
  margin: 0 auto 8px;
  padding: 12px max(12px, env(safe-area-inset-left)) 12px max(12px, env(safe-area-inset-right));
  background: #faf8f0;
  border-radius: 8px;
  border: 1px solid #ebe8de;
  box-sizing: border-box;
  width: 100%;
  justify-items: center;
  text-align: center;
}

.mch-pr-summary__item {
  min-width: 0;
  width: 100%;
}

.mch-pr-summary__k {
  display: block;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 2px;
}

.mch-pr-summary__v {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mch-pr-note {
  max-width: 480px;
  margin: 0 auto 12px;
  padding: 0 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #666;
}

.mch-pr-list-title {
  max-width: 480px;
  margin: 0 auto 6px;
  padding: 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.mch-pr-empty {
  margin: 20px 12px 0;
}

.mch-pr .mch-orders-table-wrap {
  margin: 0 0 20px;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 400px) {
  .mch-pr .mch-orders-table th,
  .mch-pr .mch-orders-table td {
    padding: 5px 3px;
    font-size: 0.62rem;
  }

  .mch-pr .mch-orders-table th {
    font-size: 0.62rem;
  }
}

.mch-pr-st {
  display: inline-block;
  border: none;
  pointer-events: none;
  cursor: default;
}

.mch-pr-hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.mch-pr-mng {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mch-pr-mng-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #111;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.mch-pr-mng-ico:active {
  opacity: 0.75;
  background: rgba(0, 0, 0, 0.08);
}

.mch-pr-mng-menu {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 50;
  min-width: 12rem;
  margin: 2px 0 0 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.mch-pr-mng-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

.mch-pr-mng-item--danger {
  color: #b71c1c;
}

.mch-pr-mng-item:active {
  background: #f3f0e6;
}

.mch-orders-table--pr .mch-pr-col-chk,
.mch-orders-table--pr .mch-pr-cell-chk {
  display: none;
  width: 0;
  max-width: 0;
  padding: 0;
  border: 0;
  vertical-align: middle;
  overflow: hidden;
}

.mch-orders-table--pr .mch-pr-col-chk {
  font-size: 0.72rem;
  color: #666;
  font-weight: 600;
}

body.mch-pr--batch .mch-orders-table--pr .mch-pr-col-chk,
body.mch-pr--batch .mch-orders-table--pr .mch-pr-cell-chk {
  display: table-cell;
  width: 36px;
  max-width: 40px;
  padding: 6px 4px 6px 8px;
  box-sizing: border-box;
  overflow: visible;
}

.mch-pr-row-chk {
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
  accent-color: #1a1a1a;
}

/* 「操作」列：仅批量选择删除模式下显示 */
.mch-orders-table--pr .mch-pr-col-act,
.mch-orders-table--pr .mch-pr-cell-act {
  display: none;
  width: 0;
  max-width: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}

body.mch-pr--batch .mch-orders-table--pr .mch-pr-col-act,
body.mch-pr--batch .mch-orders-table--pr .mch-pr-cell-act {
  display: table-cell;
  width: 2.2rem;
  max-width: 3rem;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
  vertical-align: middle;
  overflow: visible;
  box-sizing: border-box;
}

.mch-pr-cell-act {
  line-height: 0;
}

.mch-pr-delone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #666;
  border-radius: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mch-pr-delone:active {
  color: #b71c1c;
  background: rgba(0, 0, 0, 0.05);
}

body.mch-pr--batch .mch-body.mch-pr {
  padding-bottom: 64px;
}

.mch-pr-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0));
  background: #fff;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.08);
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

.mch-pr-bar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  max-width: 480px;
  margin: 0 auto;
}

.mch-pr-bar__all {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.mch-pr-bar__n {
  font-size: 0.8rem;
  color: #666;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.mch-pr-bar__x {
  border: none;
  background: #eee;
  color: #333;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.mch-pr-bar__go {
  border: none;
  background: #b71c1c;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.mch-pr-bar__go:active {
  opacity: 0.9;
}

.mch-pr-modal[hidden] {
  display: none !important;
}

.mch-pr-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.mch-pr-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: default;
}

.mch-pr-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 14px 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.mch-pr-modal__h {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.mch-pr-modal__p {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #555;
}

.mch-pr-dates--modal {
  margin-bottom: 12px;
}

.mch-pr-modal__act {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.mch-pr-btn1,
.mch-pr-btn2 {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mch-pr-btn2 {
  background: #eee;
  color: #333;
}

.mch-pr-btn1--err {
  background: #b71c1c;
  color: #fff;
}

.mch-pr-confirm-lbl {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
  cursor: pointer;
}

/* 资金管理 */
.mch-fund {
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 12px 28px;
  box-sizing: border-box;
}

.mch-fund--sub {
  padding-top: 12px;
}

.mch-fund-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
  box-sizing: border-box;
}

.mch-fund-card--text {
  padding: 16px 14px;
}

.mch-fund-balance {
  margin: 0 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  text-align: center;
}

.mch-fund-balance__num {
  display: block;
  margin-top: 8px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}

.mch-fund-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
}

.mch-fund-btn {
  flex: 1 1 calc(50% - 6px);
  min-width: 120px;
  max-width: 200px;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.mch-fund-btn--pri {
  background: linear-gradient(180deg, var(--header-gradient-top) 0%, var(--gold) 100%);
  color: #111 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mch-fund-btn--pri:visited,
.mch-fund-btn--sec:visited {
  color: inherit;
}

.mch-fund-btn--pri:active,
.mch-fund-btn--sec:active {
  opacity: 0.92;
}

.mch-fund-btn--sec {
  background: #fff;
  color: #1a1a1a !important;
  border-color: #d4c4a0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.mch-fund-linklist {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.mch-fund-linklist li {
  border-bottom: 1px solid #eee9dc;
  margin: 0;
  padding: 0;
}

.mch-fund-linklist li:last-child {
  border-bottom: none;
}

.mch-fund-link {
  display: block;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a !important;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") no-repeat 96% 50% / 0.5rem 0.5rem;
}

.mch-fund-link:visited {
  color: #1a1a1a !important;
}

.mch-fund-link:active {
  background-color: #faf8f0;
}

.mch-fund-hint {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #555;
  text-align: left;
}

.mch-fund-rec-empty {
  margin: 32px 12px 0;
  text-align: center;
  color: #888;
}

.mch-fund-dlg .mch-fund-amt-lbl {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.mch-fund-dlg .mch-fund-amt {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 10px 12px;
  font-size: 1.05rem;
  font-weight: 600;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.mch-fund-dlg__act {
  margin-top: 4px;
}

.mch-fund-dlg-ok {
  background: linear-gradient(180deg, var(--header-gradient-top) 0%, var(--gold) 100%) !important;
  color: #111 !important;
  border: none;
}

.mch-fund-dlg-ok:active {
  opacity: 0.9;
}

/* 收款方式管理 */
.mch-pm-lead {
  margin: 8px 16px 16px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #555;
  text-align: left;
}

.mch-pm-form {
  max-width: 100%;
  padding: 0 12px 24px;
  box-sizing: border-box;
}

.mch-pm-card {
  background: #fff;
  border: 1px solid #e8e4d8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.mch-pm-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0ebe0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mch-pm-row:last-child {
  border-bottom: none;
}

.mch-pm-cb {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #c9a227;
}

.mch-pm-row__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.mch-pm-row__img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

.mch-pm-row__ic--alipay {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #1677ff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  position: relative;
  vertical-align: middle;
}

.mch-pm-row__ic--alipay::after {
  content: "支";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.mch-pm-row__t {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  flex: 1;
  text-align: left;
}

.mch-pm-actions {
  padding: 0 2px;
}

.mch-pm-save {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
