/* Miyo 控制台 · 页面组件与移动端适配 */

/* ---------------- 通用页头 ---------------- */
.miyo-page-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin: 2px 0 18px;
}
.miyo-page-head h1 {
  margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; color: #2b2d3a; letter-spacing: .2px;
}
.miyo-page-head p { margin: 6px 0 0; font-size: 13px; color: #8a8fa6; line-height: 1.6; }
.miyo-page-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.miyo-page-head .miyo-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font-size: 11px; color: #7d7eb8; background: #eef0fa; padding: 4px 9px; border-radius: 20px; font-weight: 600;
}

/* ---------------- 按钮 ---------------- */
.miyo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent;
  font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  font-family: inherit; white-space: nowrap;
}
.miyo-btn:active { transform: translateY(1px); }
.miyo-btn-primary {
  color: #fff; background: linear-gradient(135deg, #9495c8 0%, #7b7cb4 100%);
  box-shadow: 0 8px 20px rgba(139, 140, 190, .28);
}
.miyo-btn-primary:hover { box-shadow: 0 10px 24px rgba(139, 140, 190, .36); }
.miyo-btn-ghost { color: #5e6278; background: #fff; border-color: #e3e5ef; }
.miyo-btn-ghost:hover { border-color: #cfd2e4; color: #7b7cb4; }
.miyo-btn-soft { color: #7071a8; background: #eef0fa; border-color: #e3e5f4; }
.miyo-btn-soft:hover { background: #e7e9f8; }
.miyo-btn-lg { height: 46px; padding: 0 26px; font-size: 14px; border-radius: 11px; }
.miyo-btn-sm { height: 32px; padding: 0 12px; font-size: 12px; border-radius: 8px; }
.miyo-btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------------- 卡片 ---------------- */
.miyo-card {
  background: #fff; border: 1px solid #eceef6; border-radius: 14px;
  padding: 20px; box-shadow: 0 2px 10px rgba(70, 73, 110, .04);
}
.miyo-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.miyo-card-head h2, .miyo-card-head h3 { margin: 0; font-size: 15.5px; font-weight: 700; color: #33364a; }
.miyo-card-head .miyo-muted { font-size: 12px; color: #9a9eb2; }
.miyo-muted { color: #8a8fa6; }
.miyo-hint { font-size: 12px; color: #9a9eb2; line-height: 1.7; }
.miyo-divider { height: 1px; background: #eef0f6; margin: 18px 0; }

/* ---------------- 网站托管 / 产品 Hero ---------------- */
.miyo-hero {
  position: relative; overflow: hidden;
  border-radius: 18px; padding: 30px 32px;
  background:
    radial-gradient(900px 380px at 88% -20%, rgba(150, 152, 210, .30), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgba(124, 190, 230, .18), transparent 60%),
    linear-gradient(135deg, #f7f8ff 0%, #eef0fb 55%, #f9f7ff 100%);
  border: 1px solid #e4e6f4;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 26px; align-items: center;
}
.miyo-hero::after {
  content: ""; position: absolute; right: -80px; top: -90px; width: 280px; height: 280px;
  border-radius: 50%; background: linear-gradient(135deg, rgba(139, 140, 190, .18), rgba(120, 190, 230, .12));
  filter: blur(2px);
}
.miyo-hero-main { position: relative; z-index: 1; }
.miyo-hero h2 { margin: 10px 0 10px; font-size: 30px; line-height: 1.28; color: #2b2d3a; letter-spacing: .3px; }
.miyo-hero h2 em { font-style: normal; color: #7071a8; }
.miyo-hero p { margin: 0; color: #6f748c; font-size: 13.5px; line-height: 1.8; max-width: 620px; }
.miyo-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.miyo-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: #6b6f8a; background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(214, 217, 235, .9); border-radius: 20px; padding: 5px 10px;
}
.miyo-chip svg { width: 13px; height: 13px; color: #7f80b8; }
.miyo-hero-aside { position: relative; z-index: 1; background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .9); border-radius: 16px; padding: 20px; box-shadow: 0 16px 40px rgba(90, 92, 140, .10); }
.miyo-hero-aside .miyo-price-label { font-size: 12px; color: #8a8fa6; }
.miyo-hero-aside .miyo-price { display: flex; align-items: baseline; gap: 4px; margin: 4px 0 8px; color: #2b2d3a; }
.miyo-hero-aside .miyo-price b { font-size: 42px; line-height: 1; font-weight: 800; letter-spacing: -1px; }
.miyo-hero-aside .miyo-price span { font-size: 13px; color: #8a8fa6; }
.miyo-hero-aside ul { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 8px; }
.miyo-hero-aside li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5f647c; }
.miyo-hero-aside li svg { width: 15px; height: 15px; color: #6fa27e; flex: 0 0 auto; }
.miyo-hero-aside .miyo-btn { width: 100%; }

/* ---------------- 套餐卡片 ---------------- */
.miyo-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.miyo-plan {
  position: relative; background: #fff; border: 1.5px solid #e8eaf3; border-radius: 16px;
  padding: 22px 20px 20px; cursor: pointer; transition: border-color .16s, box-shadow .16s, transform .16s;
  display: flex; flex-direction: column;
}
.miyo-plan:hover { border-color: #cfd2e8; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(80, 83, 120, .08); }
.miyo-plan.is-selected { border-color: #8b8cbe; box-shadow: 0 14px 34px rgba(139, 140, 190, .18); }
.miyo-plan.is-selected::after {
  content: ""; position: absolute; inset: auto 14px 14px auto; width: 20px; height: 20px; border-radius: 50%;
  background: #8b8cbe; box-shadow: inset 0 0 0 2px #fff;
}
.miyo-plan-flag {
  position: absolute; top: -11px; right: 16px; font-size: 10.5px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #9a9bcc, #7c7db4);
  padding: 4px 10px; border-radius: 20px; box-shadow: 0 6px 14px rgba(139, 140, 190, .3);
}
.miyo-plan h3 { margin: 0 0 4px; font-size: 17px; color: #2f3246; }
.miyo-plan .miyo-plan-sub { font-size: 12px; color: #9a9eb2; margin: 0 0 14px; }
.miyo-plan .miyo-plan-price { display: flex; align-items: baseline; gap: 3px; color: #2f3246; margin-bottom: 4px; }
.miyo-plan .miyo-plan-price b { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.miyo-plan .miyo-plan-price i { font-style: normal; font-size: 12px; color: #8a8fa6; }
.miyo-plan .miyo-plan-note { font-size: 11px; color: #a3a7ba; margin: 0 0 14px; }
.miyo-plan ul { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px dashed #eceef6; display: grid; gap: 9px; }
.miyo-plan li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5f647c; }
.miyo-plan li svg { width: 14px; height: 14px; color: #75a884; flex: 0 0 auto; }
.miyo-plan li.is-muted { color: #b0b4c5; }
.miyo-plan li.is-muted svg { color: #c9ccda; }
.miyo-plan .miyo-plan-foot { margin-top: auto; padding-top: 16px; }
.miyo-plan .miyo-plan-foot .miyo-btn { width: 100%; }

/* ---------------- 表单 ---------------- */
.miyo-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.miyo-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.miyo-field.is-full { grid-column: 1 / -1; }
.miyo-field label { font-size: 12.5px; color: #4d5168; font-weight: 600; }
.miyo-field label span { color: #b3b6c8; font-weight: 400; margin-left: 4px; }
.miyo-input, .miyo-select, .miyo-textarea {
  box-sizing: border-box;
  width: 100%; height: 40px; border: 1px solid #e2e4ef; border-radius: 9px;
  background: #fff; color: #363a4e; font-size: 13px; padding: 0 12px; outline: none;
  font-family: inherit; transition: border-color .16s, box-shadow .16s;
}
.miyo-textarea { height: 92px; padding: 10px 12px; resize: vertical; }
.miyo-input:focus, .miyo-select:focus, .miyo-textarea:focus {
  border-color: #b7b8d8; box-shadow: 0 0 0 3px rgba(139, 140, 190, .12);
}
.miyo-input::placeholder { color: #b0b3c4; }
.miyo-input-group { display: flex; }
.miyo-input-group .miyo-input { border-radius: 9px 0 0 9px; }
.miyo-input-group .miyo-input-suffix {
  display: inline-flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: #8a8fa6;
  background: #f6f7fb; border: 1px solid #e2e4ef; border-left: 0; border-radius: 0 9px 9px 0; white-space: nowrap;
}
.miyo-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #e8eaf3; border-radius: 10px; }
.miyo-switch-row b { display: block; font-size: 12.5px; color: #4d5168; }
.miyo-switch-row small { display: block; font-size: 11px; color: #9a9eb2; margin-top: 2px; }

/* ---------------- 摘要 / 订单 ---------------- */
.miyo-summary { background: #f7f8fc; border: 1px solid #eceef6; border-radius: 12px; padding: 16px 18px; }
.miyo-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #6b7086; padding: 5px 0; }
.miyo-summary-row b { color: #363a4e; font-weight: 600; }
.miyo-summary-row.is-total { border-top: 1px dashed #dfe2ee; margin-top: 8px; padding-top: 12px; font-size: 13.5px; }
.miyo-summary-row.is-total b { font-size: 20px; color: #7071a8; }
.miyo-billing-toggle { display: inline-flex; background: #f2f3f9; border-radius: 10px; padding: 3px; gap: 2px; }
.miyo-billing-toggle button {
  border: 0; background: transparent; color: #7c8198; font-size: 12.5px; font-weight: 600;
  padding: 7px 16px; border-radius: 8px; cursor: pointer; font-family: inherit;
}
.miyo-billing-toggle button.is-active { background: #fff; color: #5f60a0; box-shadow: 0 2px 8px rgba(80, 83, 120, .10); }

/* ---------------- 功能列表 ---------------- */
.miyo-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.miyo-feature {
  background: #fff; border: 1px solid #eceef6; border-radius: 13px; padding: 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.miyo-feature-ic {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  color: #7071a8; background: #eef0fa;
}
.miyo-feature-ic svg { width: 19px; height: 19px; }
.miyo-feature b { display: block; font-size: 13.5px; color: #33364a; margin-bottom: 4px; }
.miyo-feature p { margin: 0; font-size: 12px; color: #8a8fa6; line-height: 1.65; }

/* ---------------- FAQ ---------------- */
.miyo-faq { display: grid; gap: 10px; }
.miyo-faq details {
  background: #fff; border: 1px solid #eceef6; border-radius: 12px; padding: 0 16px;
}
.miyo-faq summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-size: 13px; font-weight: 600; color: #3d4053;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.miyo-faq summary::-webkit-details-marker { display: none; }
.miyo-faq summary::after { content: "+"; font-size: 18px; color: #a3a7ba; font-weight: 400; }
.miyo-faq details[open] summary::after { content: "–"; }
.miyo-faq details p { margin: 0 0 14px; font-size: 12.5px; color: #7c8198; line-height: 1.8; }

/* ---------------- 弹窗 ---------------- */
.miyo-modal-mask {
  position: fixed; inset: 0; z-index: 2500; background: rgba(28, 30, 48, .42);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
.miyo-modal-mask.is-open { opacity: 1; pointer-events: auto; }
.miyo-modal {
  width: min(520px, 100%); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(28, 30, 48, .30);
  padding: 24px; transform: translateY(10px) scale(.98); transition: transform .2s;
}
.miyo-modal-mask.is-open .miyo-modal { transform: none; }
.miyo-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.miyo-modal-head h3 { margin: 0; font-size: 18px; color: #2f3246; }
.miyo-modal-head p { margin: 5px 0 0; font-size: 12px; color: #9a9eb2; }
.miyo-modal-close {
  width: 30px; height: 30px; border: 0; border-radius: 8px; background: #f4f5fa;
  color: #7c8198; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto;
}
.miyo-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.miyo-success-ic {
  width: 56px; height: 56px; border-radius: 50%; background: #e9f6ee; color: #4f9a6b;
  display: flex; align-items: center; justify-content: center; margin: 4px auto 14px;
}
.miyo-success-ic svg { width: 28px; height: 28px; }
.miyo-success { text-align: center; }
.miyo-success h3 { margin: 0 0 8px; font-size: 19px; color: #2f3246; }
.miyo-success p { margin: 0 0 18px; font-size: 12.5px; color: #8a8fa6; line-height: 1.7; }

/* ---------------- 空状态 ---------------- */
.miyo-empty { text-align: center; padding: 42px 16px; }
.miyo-empty-ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; background: #f2f3f9; color: #b0b3c4; display: flex; align-items: center; justify-content: center; }
.miyo-empty-ic svg { width: 27px; height: 27px; }
.miyo-empty h3 { margin: 0 0 6px; font-size: 15px; color: #4d5168; }
.miyo-empty p { margin: 0 0 16px; font-size: 12.5px; color: #9a9eb2; }

/* ---------------- 仪表盘快捷开通 ---------------- */
.quick-start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 16px; }
.quick-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid #eceef6; border-radius: 13px; text-decoration: none;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.quick-card:hover { border-color: #d6d8ea; box-shadow: 0 10px 24px rgba(80, 83, 120, .07); transform: translateY(-1px); }
.quick-card-ic { width: 38px; height: 38px; border-radius: 11px; background: #eef0fa; color: #7071a8; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.quick-card-ic svg { width: 19px; height: 19px; }
.quick-card b { display: block; font-size: 13px; color: #33364a; }
.quick-card small { display: block; font-size: 11px; color: #9a9eb2; margin-top: 2px; }
.quick-card .miyo-ic { width: 14px; height: 14px; color: #b0b3c4; margin-left: auto; }

/* ---------------- 旧页面兜底 ---------------- */
body.miyo-page-inner .main-card {
  background: #fff !important;
  border-radius: 14px;
  border: 1px solid #eceef6;
  padding: 20px 22px !important;
  box-shadow: 0 2px 10px rgba(70, 73, 110, .04);
}
body.miyo-page-inner .main-card-title { font-size: 22px; font-weight: 700; color: #2b2d3a; margin-bottom: 12px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1180px) {
  .miyo-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .miyo-page-head { align-items: flex-start; flex-direction: column; margin-bottom: 14px; }
  .miyo-page-head h1 { font-size: 21px; }
  .miyo-page-head p { font-size: 12.5px; }
  .miyo-page-head-actions { width: 100%; }
  .miyo-hero { grid-template-columns: 1fr; padding: 22px 20px; gap: 18px; border-radius: 16px; }
  .miyo-hero h2 { font-size: 23px; }
  .miyo-hero p { font-size: 13px; }
  .miyo-hero-aside { padding: 16px; }
  .miyo-hero-aside .miyo-price b { font-size: 36px; }
  .miyo-plan-grid { grid-template-columns: 1fr; }
  .miyo-plan { padding: 20px 18px; }
  .miyo-form-grid { grid-template-columns: 1fr; }
  .miyo-feature-grid { grid-template-columns: 1fr; }
  .quick-start { grid-template-columns: 1fr; }
  .miyo-card { padding: 16px; border-radius: 12px; }
  .miyo-btn-lg { height: 44px; }
}

@media (max-width: 1024px) {
  /* 旧页面：账户/财务/工单/产品列表 单列化 */
  body.miyo-page-inner .main-card { padding: 16px !important; }
  .box-main .el-col-7, .box-main .el-col-3, .box-main .el-col-8, .box-main .el-col-6, .box-main .el-col-12 {
    width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important;
  }
  .box-item { margin-bottom: 12px; }
  .el-tabs__nav-wrap::after { height: 1px; }
  .el-table { font-size: 12px; }
  .el-table .cell { padding: 0 8px; }
  .main-card-menu, .main-card-search { flex-wrap: wrap; gap: 10px; }
  .main-card-search .right-search { width: 100%; flex-wrap: wrap; }
  .main-card-search .right-search .el-select, .main-card-search .right-search .el-input { width: 100% !important; }

  /* 选购页：分类栏 + 商品网格改为单列 */
  .main-content-box { flex-direction: column; row-gap: 12px; }
  .search-box { width: 100% !important; }
  .shopping-box { width: 100% !important; }
  .goods-list-div { grid-template-columns: 1fr !important; }
  .shopping-item { min-height: 0 !important; }
  .goods-description { max-height: 168px; overflow-y: auto; }
  .cart-des { font-size: 12px; line-height: 1.8; padding: 12px !important; }

  /* 财务/工单表格与筛选 */
  .finance-box, .ticket-box, .table-box { width: 100% !important; overflow-x: auto; }
  .el-dialog { width: calc(100vw - 28px) !important; margin-top: 8vh !important; }
}

@media (max-width: 480px) {
  .miyo-hero { padding: 20px 16px; }
  .miyo-hero h2 { font-size: 21px; }
  .miyo-hero-aside .miyo-price b { font-size: 32px; }
  .miyo-modal { padding: 18px; border-radius: 14px; }
  .miyo-plan .miyo-plan-price b { font-size: 27px; }
}

/* ---------------- 补充组件 ---------------- */
.miyo-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #5f647c; cursor: pointer; white-space: nowrap; }
.miyo-check input { width: 15px; height: 15px; accent-color: #8b8cbe; }
button.miyo-chip { cursor: pointer; font-family: inherit; }
button.miyo-chip.is-active { background: #eef0fa; border-color: #c9cbe6; color: #5f60a0; font-weight: 600; }
.miyo-compare { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.miyo-compare th, .miyo-compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f0f1f7; color: #5f647c; }
.miyo-compare th { font-size: 12px; color: #8a8fa6; font-weight: 600; background: #fafbfe; }
.miyo-compare th.is-recommend { color: #7071a8; }
.miyo-compare td.is-recommend { color: #4f508c; background: #fafaff; font-weight: 600; }
.miyo-compare tr:last-child td { border-bottom: 0; }
.news-row:hover { background: #fafbff; }
.news-row:last-child { border-bottom: 0 !important; }

/* ---------------- 仪表盘宽度适配 ---------------- */
body.page-dashboard .main-content { gap: 18px !important; align-items: flex-start; }
body.page-dashboard .main-left { min-width: 0 !important; flex: 1 1 0% !important; }
body.page-dashboard .main-right { width: 360px !important; flex: 0 0 360px !important; min-width: 0 !important; }
body.page-dashboard .account-box, body.page-dashboard .main-left > * { min-width: 0 !important; }
body.page-dashboard .quick-start { margin-top: 12px; }
@media (max-width: 1500px) {
  body.page-dashboard .main-right { width: 330px !important; flex-basis: 330px !important; }
}
@media (max-width: 1280px) {
  .miyo-head-links { display: none; }
  .miyo-search { width: 220px; }
}
@media (max-width: 1180px) {
  body.page-dashboard .main-content { flex-direction: column !important; }
  body.page-dashboard .main-right { width: 100% !important; flex-basis: auto !important; }
}

.miyo-btn, .miyo-plan, .miyo-card, .miyo-chip { box-sizing: border-box; }

/* ---------------- 旧仪表盘/内页手机端强制单列 ---------------- */
@media (max-width: 1024px) {
  body.page-dashboard .main-card,
  body.page-dashboard .main-content,
  body.page-dashboard .main-left,
  body.page-dashboard .main-right,
  body.page-dashboard .account-box,
  body.page-dashboard .account-info,
  body.page-dashboard .account-money,
  body.page-dashboard .left-bottom,
  body.page-dashboard .product-box,
  body.page-dashboard .ticket-box,
  body.page-dashboard .reacommet-box,
  body.page-dashboard .host-box,
  body.page-dashboard .news-box,
  body.page-dashboard .quick-start {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body.page-dashboard .main-content { flex-direction: column !important; }
  body.page-dashboard .main-right { flex: none !important; }
  body.page-dashboard .account-money { min-width: 0 !important; }
  body.page-dashboard .product-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  body.page-dashboard .product-item {
    min-width: 0 !important;
    padding: 14px !important;
    border-radius: 10px;
  }
  body.page-dashboard .product-item .product-value { font-size: 20px !important; }
  body.page-dashboard .product-item .product-right img { width: 34px; height: 34px; }
  body.page-dashboard .product-title { font-size: 12px !important; }
  body.page-dashboard .left-bottom { flex-direction: column !important; }
  body.page-dashboard .ticket-box, body.page-dashboard .reacommet-box { flex: none !important; }
  body.page-dashboard .account-name { font-size: 17px !important; }
  body.page-dashboard .money-num-value { font-size: 26px !important; }
  body.page-dashboard .account-oauth { flex-wrap: wrap; gap: 8px; }
  body.page-dashboard .quick-start { grid-template-columns: 1fr !important; }
  body.page-dashboard .quick-card { padding: 12px 14px; }
  body.page-dashboard .news-item-title-left { font-size: 13px; }
  body.page-dashboard .money-top { flex-wrap: wrap; gap: 10px; }
  body.page-dashboard .money-btns { margin-left: auto; }
  body.page-dashboard .account-top { flex-wrap: wrap; gap: 8px; }
  body.page-dashboard .account-certification { flex-wrap: wrap; }

  /* 内页通用：表格/卡片不超出 */
  body.miyo-page-inner .main-card,
  body.miyo-page-inner .main-card > div,
  body.miyo-page-inner .content-box {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.miyo-page-inner .el-row { flex-wrap: wrap; }
}

@media (max-width: 1024px) {
  body.page-dashboard .product-title { font-size: 11px !important; white-space: nowrap; }
}

/* 财务/工单筛选栏：避免下拉框和搜索框互相遮挡 */
.content_searchbar { display: flex !important; flex-wrap: wrap; gap: 10px; align-items: center; }
.content_searchbar .left_tips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.content_searchbar .searchbar.com-search {
  display: flex !important; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-left: auto; position: static !important; float: none !important;
}
.content_searchbar .searchbar.com-search > .el-select { width: 150px !important; margin-left: 0 !important; }
.content_searchbar .searchbar.com-search > .el-input { width: 220px !important; }
.content_searchbar .searchbar.com-search .el-button { margin-left: 0 !important; }
@media (max-width: 1024px) {
  .content_searchbar .searchbar.com-search { margin-left: 0; width: 100%; }
  .content_searchbar .searchbar.com-search > .el-select,
  .content_searchbar .searchbar.com-search > .el-input { width: 100% !important; }
  .content_searchbar .left_tips { width: 100%; }
}

/* 选中卡片不再显示右下角圆点，避免压住购买按钮 */
.miyo-plan.is-selected::after { display: none !important; }

/* 手机端：内页标签横向滚动、筛选控件纵向排列 */
@media (max-width: 1024px) {
  body.miyo-page-inner .el-tabs__nav-scroll { overflow-x: auto !important; }
  body.miyo-page-inner .el-tabs__nav { transform: none !important; white-space: nowrap; }
  body.miyo-page-inner .el-tabs__item { font-size: 13px !important; padding: 0 14px !important; height: 42px; line-height: 42px; }
  body.miyo-page-inner .main-card-menu { width: 100%; }
  body.miyo-page-inner .main-card-menu .el-button { flex: 1 1 auto; }
  body.miyo-page-inner .main-card-search { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  body.miyo-page-inner .main-card-search .right-search { display: flex !important; flex-direction: column !important; gap: 8px !important; width: 100% !important; }
  body.miyo-page-inner .main-card-search .right-search .el-select,
  body.miyo-page-inner .main-card-search .right-search .el-input,
  body.miyo-page-inner .main-card-search .right-search .el-button { width: 100% !important; margin-left: 0 !important; }
  body.miyo-page-inner .main-card-table { margin-top: 4px; }
  body.miyo-page-inner .el-pagination { flex-wrap: wrap; gap: 6px; }
}

/* 选购页手机端：隐藏占屏的分类手风琴，保留搜索 */
@media (max-width: 1024px) {
  body.page-shop .search-box { border: 0 !important; padding: 0 !important; }
  body.page-shop .search-box .el-collapse { display: none !important; }
  body.page-shop .search-box .search-input .el-input__inner { font-size: 15px !important; }
  body.page-shop .cart-des { font-size: 11.5px !important; line-height: 1.75 !important; }
  body.page-shop .goods-description { max-height: 150px; overflow-y: auto; }
}

body.page-shop .cart-des.is-collapsed { display: none !important; }

/* 手机端财务中心：余额与按钮不再挤压 */
@media (max-width: 1024px) {
  .finance-top { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
  .finance-money-main, .finance-balance, .balance-left { width: 100% !important; }
  .finance-balance { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
  .balance-left-title { white-space: nowrap !important; font-size: 13px !important; }
  .balance-left-num { font-size: 30px !important; line-height: 1.1 !important; white-space: nowrap !important; }
  .balance-left-num .prefix { font-size: 16px !important; }
  .balance-right { width: 100% !important; display: flex !important; flex-wrap: wrap !important; gap: 8px !important; align-items: center !important; }
  .balance-right .el-button { flex: 1 1 42% !important; margin-left: 0 !important; }
  .balance-right .tx-list { flex: 1 1 100%; white-space: nowrap; }
  .content_tab .el-tabs__nav-scroll { overflow-x: auto !important; }
  .content_tab .el-tabs__nav { transform: none !important; white-space: nowrap; }
  .content_tab .el-tabs__item { padding: 0 12px !important; font-size: 13px !important; }
  .content_table { padding: 0 !important; }
}

@media (max-width: 1024px) {
  body.miyo-page-inner .el-tabs__item { padding: 0 9px !important; font-size: 12.5px !important; }
  .content_tab .el-tabs__item { padding: 0 8px !important; font-size: 12px !important; }
}

@media (max-width: 1024px) {
  #help-layout { grid-template-columns: 1fr !important; }
  #help-layout > div { min-width: 0 !important; }
}

@media (max-width: 1024px) {
  .miyo-card-head { flex-wrap: wrap; }
  #billing-toggle { width: 100%; display: flex; }
  #billing-toggle button { flex: 1; white-space: nowrap; padding: 8px 10px; }
}
