/* ==========================================================================
   用户中心 aurora_front · 统一皮肤样式
   - 设计令牌（白底 + 单一主色 #2563eb / 圆角 / 阴影 / 字号 / 间距）
   - 外壳：白底顶栏、左侧分组导航（可折叠图标窄栏）、内容区、页脚
   - 组件覆盖：card / card-head / card-body / btn / tb / pager / badge /
              form-item / alert / tabs / empty / grid2 / dash-*
   - 公告：通栏公告条、公告卡片、列表页、详情页、分页
   仅在前台用户中心布局中加载，不影响门户与管理后台。
   ========================================================================== */

:root {
  /* 品牌色：白底 + 单一主色 */
  --au-primary: #2563eb;
  --au-primary-d: #1d4ed8;
  --au-primary-l: #eff4ff;

  /* 中性色 */
  --au-ink: #101828;
  --au-text: #344054;
  --au-muted: #667085;
  --au-line: #e4e7ec;
  --au-line-2: #eaecf0;
  --au-bg: #ffffff;      /* 页面背景：白色 */
  --au-canvas: #f6f7f9;  /* 内容区衬托：极浅灰 */
  --au-card: #ffffff;

  /* 形体 */
  --au-radius: 12px;
  --au-radius-sm: 9px;
  --au-radius-lg: 16px;
  --au-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --au-shadow-lg: 0 18px 40px rgba(16, 24, 40, .12);
  --au-ring: 0 0 0 3px rgba(37, 99, 235, .14);

  /* 字号 */
  --au-fs-xs: 11.5px;
  --au-fs-sm: 12.5px;
  --au-fs: 14px;
  --au-fs-lg: 16px;
  --au-fs-xl: 20px;

  /* 结构尺寸 */
  --au-topbar-h: 62px;
  --au-side-w: 232px;
  --au-side-w-rail: 70px;

  /* 语义色 */
  --au-success: #16a34a;
  --au-warning: #d97706;
  --au-danger: #dc2626;
  --au-info: #2563eb;
}

/* ============================ 基础 ============================ */
body.customer-workspace.au-body {
  margin: 0;
  background: #ffffff;
  color: var(--au-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--au-fs);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.customer-workspace.au-body *,
body.customer-workspace.au-body *::before,
body.customer-workspace.au-body *::after { box-sizing: border-box; }
body.customer-workspace.au-body a { color: var(--au-primary); text-decoration: none; }
body.customer-workspace.au-body a:hover { color: var(--au-primary-d); }
body.customer-workspace.au-body img { max-width: 100%; }

/* 站点 Logo（设置了 site_logo 时显示） */
.site-logo { display: block; width: auto; object-fit: contain; }

.au-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #fff; color: var(--au-primary); padding: 10px 16px; border-radius: 0 0 10px 0;
  border: 1px solid var(--au-line);
}
.au-skip:focus { left: 0; }

/* ============================ 顶栏（白底） ============================ */
.au-topbar {
  position: sticky; top: 0; z-index: 120;
  height: var(--au-topbar-h);
  background: #ffffff;
  border-bottom: 1px solid var(--au-line);
}
.au-topbar-inner {
  width: 100%; height: 100%;
  padding: 0 18px; display: flex; align-items: center; gap: 12px;
}

.au-burger, .au-rail-toggle {
  flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid var(--au-line); cursor: pointer;
  border-radius: 10px; background: #fff; color: var(--au-text);
  display: inline-flex; align-items: center; justify-content: center;
}
.au-burger { display: none; }
.au-burger:hover, .au-rail-toggle:hover { background: #f2f4f7; color: var(--au-ink); }

.au-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 0; }
.au-brand .site-logo { height: 30px; flex: 0 0 auto; }
.au-brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: var(--au-primary);
}
.au-brand-mark-sm { width: 30px; height: 30px; border-radius: 9px; }
.au-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.au-brand-text b { color: var(--au-ink); font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.au-brand-text small { color: var(--au-muted); font-size: var(--au-fs-xs); letter-spacing: .12em; }

.au-mainmenu {
  flex: 1 1 auto; display: flex; align-items: center; gap: 2px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 6px; padding: 4px 2px;
}
.au-mainmenu::-webkit-scrollbar { display: none; }
.au-mainmenu-link {
  flex: 0 0 auto; padding: 7px 12px; border-radius: 9px;
  color: var(--au-muted); font-size: var(--au-fs-sm); font-weight: 500; white-space: nowrap;
  transition: background .15s, color .15s;
}
.au-mainmenu-link:hover { color: var(--au-ink); background: #f2f4f7; }
.au-mainmenu-link.active { color: var(--au-primary); background: var(--au-primary-l); font-weight: 650; }

.au-topbar-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }

.au-balance {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px 0 12px;
  border-radius: 18px; background: #f2f4f7; color: var(--au-muted);
  font-size: var(--au-fs-sm);
}
.au-balance em { font-style: normal; }
.au-balance strong { color: var(--au-ink); font-weight: 700; letter-spacing: .01em; }
.au-balance a {
  margin-left: 2px; padding: 3px 11px; border-radius: 12px; font-size: var(--au-fs-xs); font-weight: 600;
  background: var(--au-primary); color: #ffffff !important;
}
.au-balance a:hover { background: var(--au-primary-d); }

.au-msg {
  position: relative; width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--au-muted); background: #f2f4f7;
}
.au-msg:hover { color: var(--au-primary); background: var(--au-primary-l); }

/* 购物车入口与数量徽标 */
.au-cart {
  position: relative; width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--au-muted); background: #f2f4f7;
}
.au-cart:hover { color: var(--au-primary); background: var(--au-primary-l); }
.au-cart-dot {
  position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--au-primary); color: #fff; font-size: 10.5px; font-style: normal;
  font-weight: 700; line-height: 17px; text-align: center; border: 2px solid #fff;
}
.au-msg-dot {
  position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--au-danger); color: #fff; font-size: 10.5px; font-style: normal;
  font-weight: 700; line-height: 17px; text-align: center; border: 2px solid #fff;
}

.au-user { position: relative; }
.au-user-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 6px;
  border: 1px solid var(--au-line); border-radius: 20px; cursor: pointer;
  background: #fff; color: var(--au-ink); font: inherit;
}
.au-user-btn:hover { border-color: #cdd5e0; background: #f9fafb; }
.au-avatar {
  width: 27px; height: 27px; border-radius: 50%; flex: 0 0 auto;
  background: var(--au-primary); color: #fff; font-size: 13px; font-weight: 700;
  line-height: 27px; text-align: center; text-transform: uppercase;
}
.au-avatar-lg { width: 40px; height: 40px; line-height: 40px; font-size: 17px; }
.au-user-name { font-size: var(--au-fs-sm); font-weight: 500; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-caret { transition: transform .18s; opacity: .7; }
.au-user.open .au-caret { transform: rotate(180deg); }

.au-user-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 218px; padding: 6px;
  background: #fff; border-radius: var(--au-radius); box-shadow: var(--au-shadow-lg);
  border: 1px solid var(--au-line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .16s ease;
}
.au-user.open .au-user-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.au-user-menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--au-line); margin-bottom: 6px; }
.au-user-menu-head b { display: block; color: var(--au-ink); font-size: 13.5px; }
.au-user-menu-head small { color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-user-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--au-text); font-size: 13px; }
.au-user-menu a:hover { background: var(--au-primary-l); color: var(--au-primary); }
.au-user-menu a.danger { color: var(--au-danger); }
.au-user-menu a.danger:hover { background: #fef3f2; }

.au-login {
  padding: 8px 18px; border-radius: 18px; color: #ffffff !important; font-size: var(--au-fs-sm); font-weight: 600;
  background: var(--au-primary);
}
.au-login:hover { background: var(--au-primary-d); }

/* ============================ 外壳 ============================ */
.au-shell {
  width: 100%; padding: 14px 14px 0;
  display: grid; grid-template-columns: var(--au-side-w) minmax(0, 1fr); gap: 12px;
  align-items: start;
}

.au-side {
  position: sticky; top: calc(var(--au-topbar-h) + 18px);
  max-height: calc(100vh - var(--au-topbar-h) - 36px);
  background: #ffffff; border: 1px solid var(--au-line); border-right: 1px solid var(--au-line);
  border-radius: var(--au-radius-lg);
  box-shadow: var(--au-shadow); overflow: auto; padding: 14px 12px;
}
.au-side-brand {
  display: flex; align-items: center; gap: 9px; padding: 2px 6px 12px;
  border-bottom: 1px solid var(--au-line-2); margin-bottom: 12px;
}
.au-side-brand .site-logo { height: 26px; flex: 0 0 auto; }
.au-side-brand b { color: var(--au-ink); font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.au-side-account {
  display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px;
  border-bottom: 1px solid var(--au-line-2); margin-bottom: 12px;
}
.au-side-account-info { min-width: 0; }
.au-side-account-info b { display: block; color: var(--au-ink); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-side-account-info small { color: var(--au-muted); font-size: var(--au-fs-xs); }

.au-nav-group { margin-bottom: 6px; }
.au-nav-title {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px 10px; border: 0; background: none; cursor: pointer; font: inherit;
  color: var(--au-muted); font-size: var(--au-fs-xs); font-weight: 700; letter-spacing: .1em;
  border-radius: 9px;
}
.au-nav-title:hover { color: var(--au-primary); background: #f9fafb; }
.au-nav-title-txt { flex: 1 1 auto; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-nav-title svg { transition: transform .18s; }
.au-nav-group:not(.open) .au-nav-title svg { transform: rotate(-90deg); }
.au-nav-group:not(.open) .au-nav-items { display: none; }

.au-nav-items { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 4px; }
.au-nav-link {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: var(--au-radius-sm);
  color: var(--au-text); font-size: 13px; font-weight: 500;
  transition: background .15s, color .15s;
}
.au-nav-link:hover { background: #f6f8fb; color: var(--au-primary); }
.au-nav-link.active { background: var(--au-primary-l); color: var(--au-primary); font-weight: 650; }
.au-nav-link.active::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 18px; border-radius: 0 3px 3px 0; background: var(--au-primary);
}
.au-nav-icon { width: 19px; display: inline-flex; justify-content: center; flex: 0 0 auto; opacity: .95; }
.au-nav-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.au-side-foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--au-line-2);
  display: flex; flex-direction: column; gap: 4px;
}
.au-side-cta {
  text-align: center; padding: 9px 12px; border-radius: var(--au-radius-sm);
  background: var(--au-primary-l); color: var(--au-primary); font-size: 13px; font-weight: 600;
}
.au-side-cta:hover { background: #dfe9ff; }
.au-side-link { text-align: center; padding: 7px 12px; border-radius: 9px; color: var(--au-muted); font-size: var(--au-fs-sm); }
.au-side-link:hover { background: #f6f8fb; color: var(--au-primary); }
.au-side-link.danger:hover { background: #fef3f2; color: var(--au-danger); }

.au-main { min-width: 0; display: flex; flex-direction: column; }

.au-crumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: var(--au-fs-sm); color: var(--au-muted);
  padding: 9px 14px; border-radius: var(--au-radius-sm);
  background: #fff; border: 1px solid var(--au-line); box-shadow: var(--au-shadow);
}
.au-crumb a { color: var(--au-muted); }
.au-crumb a:hover { color: var(--au-primary); }
.au-crumb-sep { color: #c8cfdd; }
.au-crumb b { color: var(--au-ink); font-weight: 600; }

.au-content {
  min-width: 0;
  background: var(--au-canvas); border: 1px solid var(--au-line); border-radius: var(--au-radius-lg);
  padding: 12px;
}

.au-footer {
  margin: 18px 0 18px; padding: 16px 18px; border-radius: var(--au-radius);
  background: #fff; border: 1px solid var(--au-line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  color: var(--au-muted); font-size: var(--au-fs-xs); text-align: center;
}
.au-footer a { color: var(--au-muted); }
.au-footer a:hover { color: var(--au-primary); }
.au-footer-tpl { color: #b9c1d1; }

.au-drawer-mask { display: none; }

/* ============ 侧栏折叠为图标窄栏（桌面端，状态存 localStorage） ============ */
@media (min-width: 901px) {
  body.au-rail .au-shell { grid-template-columns: var(--au-side-w-rail) minmax(0, 1fr); }
  body.au-rail .au-side { padding: 14px 8px; }
  body.au-rail .au-side-brand,
  body.au-rail .au-side-account { justify-content: center; padding-left: 0; padding-right: 0; }
  body.au-rail .au-side-brand b,
  body.au-rail .au-side-account-info { display: none; }
  body.au-rail .au-nav-title { justify-content: center; padding: 8px 0; }
  body.au-rail .au-nav-title-txt,
  body.au-rail .au-nav-title svg { display: none; }
  body.au-rail .au-nav-items { display: flex !important; }
  body.au-rail .au-nav-link { justify-content: center; padding: 9px 0; }
  body.au-rail .au-nav-txt { display: none; }
  body.au-rail .au-nav-link.active::before { height: 22px; }
  body.au-rail .au-side-link { display: none; }
  body.au-rail .au-side-cta { padding: 9px 4px; font-size: 12px; }
}

/* ================== 组件覆盖（统一全站前台观感） ================== */
body.customer-workspace .card {
  background: var(--au-card); border: 1px solid var(--au-line); border-radius: var(--au-radius);
  box-shadow: var(--au-shadow); margin-bottom: 16px; overflow: hidden;
}
body.customer-workspace .card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--au-line);
  background: #fff;
}
body.customer-workspace .card-head h3 { margin: 0; font-size: 15px; font-weight: 650; color: var(--au-ink); }
body.customer-workspace .card-body { padding: 18px; }
body.customer-workspace .card-body.no-pad { padding: 0; }

body.customer-workspace .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 15px; border-radius: var(--au-radius-sm);
  border: 1px solid var(--au-line); background: #fff; color: var(--au-text);
  font-size: var(--au-fs-sm); font-weight: 550; line-height: 1.2; cursor: pointer;
  text-decoration: none; transition: all .15s ease;
}
body.customer-workspace .btn:hover { border-color: var(--au-primary); color: var(--au-primary); box-shadow: var(--au-ring); }
body.customer-workspace .btn.primary { background: var(--au-primary); border-color: var(--au-primary); color: #fff; }
body.customer-workspace .btn.primary:hover { color: #fff; background: var(--au-primary-d); border-color: var(--au-primary-d); box-shadow: 0 8px 18px rgba(37, 99, 235, .22); }
body.customer-workspace .btn.success { background: var(--au-success); border-color: transparent; color: #fff; }
body.customer-workspace .btn.success:hover { color: #fff; filter: brightness(1.06); }
body.customer-workspace .btn.danger { background: var(--au-danger); border-color: transparent; color: #fff; }
body.customer-workspace .btn.danger:hover { color: #fff; filter: brightness(1.06); }
body.customer-workspace .btn.sm { padding: 5px 11px; font-size: var(--au-fs-xs); border-radius: 8px; }
body.customer-workspace .btn.lg { padding: 11px 24px; font-size: 15px; }

body.customer-workspace .tb { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
body.customer-workspace .tb th {
  text-align: left; padding: 11px 16px; background: #f9fafb; color: var(--au-muted);
  font-weight: 600; font-size: var(--au-fs-sm); white-space: nowrap; border-bottom: 1px solid var(--au-line);
}
body.customer-workspace .tb td { padding: 12px 16px; border-bottom: 1px solid var(--au-line-2); color: var(--au-text); vertical-align: middle; }
body.customer-workspace .tb tr:last-child td { border-bottom: 0; }
body.customer-workspace .tb tr:hover td { background: #f9fafb; }

body.customer-workspace .badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: var(--au-fs-xs); font-weight: 600; background: #f2f4f7; color: var(--au-muted);
}
body.customer-workspace .badge-success { background: #ecfdf3; color: #067647; }
body.customer-workspace .badge-warning { background: #fffaeb; color: #b54708; }
body.customer-workspace .badge-danger { background: #fef3f2; color: #b42318; }
body.customer-workspace .badge-info { background: #eff4ff; color: var(--au-primary); }
body.customer-workspace .badge-muted, body.customer-workspace .badge-default { background: #f2f4f7; color: var(--au-muted); }

body.customer-workspace .pager {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
  padding: 14px 16px; border-top: 1px solid var(--au-line); font-size: 13px; color: var(--au-muted);
}
body.customer-workspace .pager > span { margin-right: 6px; }
body.customer-workspace .pager a {
  min-width: 34px; height: 32px; padding: 0 11px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--au-line); background: #fff; color: var(--au-text); font-size: var(--au-fs-sm);
}
body.customer-workspace .pager a:hover { border-color: var(--au-primary); color: var(--au-primary); }
body.customer-workspace .pager a.current { background: var(--au-primary); border-color: var(--au-primary); color: #fff; font-weight: 600; }

body.customer-workspace .form-item { margin-bottom: 16px; }
body.customer-workspace .form-item label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 550; color: var(--au-ink); }
body.customer-workspace .form-item .tip { font-size: var(--au-fs-xs); color: var(--au-muted); margin-top: 5px; }
body.customer-workspace .form-item input,
body.customer-workspace .form-item select,
body.customer-workspace .form-item textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #d0d5dd; border-radius: var(--au-radius-sm);
  background: #fff; color: var(--au-text); font: inherit; font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}
body.customer-workspace .form-item input:focus,
body.customer-workspace .form-item select:focus,
body.customer-workspace .form-item textarea:focus { outline: none; border-color: var(--au-primary); box-shadow: var(--au-ring); }

body.customer-workspace .alert {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 16px;
  border-radius: var(--au-radius-sm); font-size: 13px;
  background: #eff4ff; border: 1px solid #d1e0ff; color: #175cd3;
}
body.customer-workspace .alert-success { background: #ecfdf3; border-color: #abefc6; color: #067647; }
body.customer-workspace .alert-warning { background: #fffaeb; border-color: #fedf89; color: #b54708; }
body.customer-workspace .alert-danger { background: #fef3f2; border-color: #fecdca; color: #b42318; }

body.customer-workspace .tabs {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--au-line); margin-bottom: 16px;
}
body.customer-workspace .tabs a {
  padding: 9px 14px; border-radius: 9px 9px 0 0; color: var(--au-muted); font-size: 13px; font-weight: 500;
  border-bottom: 2px solid transparent;
}
body.customer-workspace .tabs a:hover { color: var(--au-primary); }
body.customer-workspace .tabs a.active { color: var(--au-primary); font-weight: 650; border-bottom-color: var(--au-primary); background: #f9fafb; }

body.customer-workspace .empty { padding: 34px 18px; text-align: center; color: var(--au-muted); font-size: 13px; }
body.customer-workspace .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* 旧版仪表盘组件（dash-*）：统一观感，避免历史页面风格割裂 */
body.customer-workspace .dash-hero {
  position: relative; overflow: hidden; margin-bottom: 16px; padding: 22px 24px;
  border-radius: var(--au-radius-lg); color: var(--au-text);
  background: linear-gradient(120deg, #eff4ff 0%, #ffffff 70%);
  border: 1px solid var(--au-line); box-shadow: var(--au-shadow);
}
body.customer-workspace .dash-hero h1, body.customer-workspace .dash-hero h2 { margin: 0 0 6px; font-size: var(--au-fs-xl); color: var(--au-ink); }
body.customer-workspace .dash-hero p { margin: 0; color: var(--au-muted); font-size: 13px; }
body.customer-workspace .dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
body.customer-workspace .dash-stat {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  background: var(--au-card); border: 1px solid var(--au-line); border-radius: var(--au-radius);
  box-shadow: var(--au-shadow); transition: transform .16s ease, box-shadow .16s ease;
}
body.customer-workspace .dash-stat:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16, 24, 40, .08); }
body.customer-workspace .dash-stat .num { font-size: 21px; font-weight: 700; color: var(--au-ink); }
body.customer-workspace .dash-stat .lbl { font-size: var(--au-fs-sm); color: var(--au-muted); }
body.customer-workspace .dash-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
body.customer-workspace .dash-quick a {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px;
  background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  color: var(--au-text); font-size: 13px; font-weight: 500; box-shadow: var(--au-shadow);
}
body.customer-workspace .dash-quick a:hover { border-color: var(--au-primary); color: var(--au-primary); transform: translateY(-1px); }

/* ============================ 公告组件 ============================ */
.au-dashboard { min-width: 0; }

.au-ann-tag {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  padding: 2px 9px; border-radius: 7px; font-size: var(--au-fs-xs); font-weight: 650; white-space: nowrap;
}
.au-ann-tag-top { background: #fef3f2; color: var(--au-danger); }
.au-ann-tag-maintenance { background: #fffaeb; color: var(--au-warning); }
.au-ann-tag-promotion { background: #ecfdf3; color: var(--au-success); }
.au-ann-tag-notice { background: #eff4ff; color: var(--au-info); }
.au-ann-tag-cat { background: #eef2ff; color: #4f46e5; }
.au-ann-tags { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.au-ann-new {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  background: var(--au-danger); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 700;
  vertical-align: middle;
}

/* 1) 首页通栏公告条 */
.au-ann-bar {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding: 11px 44px 11px 14px;
  border-radius: var(--au-radius);
  background: #eff4ff; border: 1px solid #d1e0ff; box-shadow: var(--au-shadow);
}
.au-ann-bar::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px;
  background: var(--au-primary);
}
.au-ann-bar-ico { color: var(--au-primary); display: inline-flex; flex: 0 0 auto; }
.au-ann-bar-title {
  flex: 1 1 auto; min-width: 0; color: var(--au-ink); font-size: 13.5px; font-weight: 550;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.au-ann-bar-title:hover { color: var(--au-primary); }
.au-ann-bar-time { flex: 0 0 auto; color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-ann-bar-more { flex: 0 0 auto; color: var(--au-primary); font-size: var(--au-fs-sm); font-weight: 600; white-space: nowrap; }
.au-ann-bar-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--au-muted); font-size: 17px; line-height: 1;
}
.au-ann-bar-close:hover { background: rgba(37, 99, 235, .12); color: var(--au-primary); }
.au-ann-bar[hidden] { display: none !important; }

/* 2) 首页公告卡片 */
.au-ann-card { padding: 0; }
.au-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--au-line); }
.au-card-head-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.au-card-head-l h3 { margin: 0; font-size: 15px; font-weight: 650; color: var(--au-ink); }
.au-card-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: var(--au-primary);
}
.au-link { font-size: var(--au-fs-sm); color: var(--au-primary); font-weight: 600; white-space: nowrap; }
.au-link:hover { text-decoration: underline; }
.au-ann-list { padding: 6px; }
.au-ann-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--au-radius-sm); color: var(--au-text); transition: background .15s;
}
.au-ann-row:hover { background: #f6f8fb; color: var(--au-text); }
.au-ann-row-title { flex: 1 1 auto; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-ann-row-date { flex: 0 0 auto; color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-ann-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--au-danger); flex: 0 0 auto; }
.au-ann-card-foot { padding: 11px 18px; border-top: 1px solid var(--au-line); text-align: center; background: #f9fafb; }

/* 3) 首页统计卡（与公告卡同屏） */
.au-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.au-stat {
  display: flex; align-items: center; gap: 13px; padding: 17px 18px;
  background: var(--au-card); border: 1px solid var(--au-line); border-radius: var(--au-radius);
  box-shadow: var(--au-shadow); transition: transform .16s ease, box-shadow .16s ease;
}
.au-stat:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 24, 40, .08); }
.au-stat-ico { width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; }
.au-stat-green .au-stat-ico { background: #ecfdf3; color: var(--au-success); }
.au-stat-orange .au-stat-ico { background: #fffaeb; color: var(--au-warning); }
.au-stat-violet .au-stat-ico { background: var(--au-primary-l); color: var(--au-primary); }
.au-stat-cyan .au-stat-ico { background: #ecfdff; color: #0e9384; }
.au-stat-num { font-size: 21px; font-weight: 700; color: var(--au-ink); letter-spacing: -.01em; }
.au-stat-lbl { font-size: var(--au-fs-sm); color: var(--au-muted); margin-top: 1px; }

/* 4) 公告列表页 */
.au-page { padding: 0; overflow: hidden; }
.au-ann-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 20px 22px;
  background: linear-gradient(120deg, #eff4ff 0%, #ffffff 70%);
  border-bottom: 1px solid var(--au-line);
}
.au-ann-hero-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.au-ann-hero-ico {
  width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary);
  box-shadow: 0 10px 22px rgba(37, 99, 235, .26);
}
.au-ann-hero h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--au-ink); }
.au-ann-hero p { margin: 3px 0 0; font-size: var(--au-fs-sm); color: var(--au-muted); }
.au-ann-hero-count {
  display: inline-flex; align-items: baseline; gap: 4px; padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--au-line); color: var(--au-muted); font-size: var(--au-fs-sm);
}
.au-ann-hero-count b { color: var(--au-primary); font-size: 15px; }

.au-ann-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 18px 0; border-bottom: 1px solid var(--au-line); }
.au-ann-tab {
  position: relative; padding: 9px 15px 11px; border-radius: 9px 9px 0 0;
  color: var(--au-muted); font-size: 13px; font-weight: 550;
}
.au-ann-tab:hover { color: var(--au-primary); background: #f9fafb; }
.au-ann-tab.active { color: var(--au-primary); font-weight: 650; }
.au-ann-tab.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2.5px;
  border-radius: 2px; background: var(--au-primary);
}
.au-ann-tab-num { display: inline-block; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: #eef2f7; color: var(--au-muted); font-size: 11px; font-style: normal; font-weight: 600; }
.au-ann-tab.active .au-ann-tab-num { background: rgba(37, 99, 235, .12); color: var(--au-primary); }
.au-ann-cat-tabs { padding-bottom: 0; }
.au-ann-type-tabs { padding-top: 4px; }
.au-ann-page-tools { margin-left: auto; padding-bottom: 8px; }

.au-ann-rows { padding: 6px 10px; }
.au-ann-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 12px;
  border-bottom: 1px solid var(--au-line-2); color: var(--au-text); transition: background .15s;
}
.au-ann-item:last-child { border-bottom: 0; }
.au-ann-item:hover { background: #f6f8fb; color: var(--au-text); border-radius: var(--au-radius-sm); }
.au-ann-item-body { flex: 1 1 auto; min-width: 0; }
.au-ann-item-title-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.au-ann-item-title { font-size: 14.5px; font-weight: 600; color: var(--au-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-ann-item-desc { margin: 4px 0 0; font-size: var(--au-fs-sm); color: var(--au-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-ann-item-meta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.au-ann-item-date { color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-ann-go { color: var(--au-primary); font-size: var(--au-fs-xs); font-weight: 600; }
.au-ann-state { font-size: var(--au-fs-xs); font-weight: 600; }
.au-ann-state.unread { color: var(--au-danger); }
.au-ann-state.read { color: var(--au-success); }

.au-ann-empty { padding: 58px 22px 64px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.au-ann-empty-ico {
  width: 82px; height: 82px; border-radius: 50%; margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: #84adff;
}
.au-ann-empty h3 { margin: 0; font-size: 15.5px; font-weight: 650; color: var(--au-ink); }
.au-ann-empty p { margin: 8px 0 0; font-size: var(--au-fs-sm); color: var(--au-muted); }
.au-ann-empty-btn {
  margin-top: 18px; padding: 8px 20px; border-radius: 999px; font-size: var(--au-fs-sm); font-weight: 600;
  background: var(--au-primary); color: #fff !important;
}

/* 5) 分页控件 */
.au-pager {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 14px 18px; border-top: 1px solid var(--au-line); background: #f9fafb;
}
.au-pager-info { color: var(--au-muted); font-size: var(--au-fs-sm); }
.au-pager-info b { color: var(--au-ink); }
.au-pager-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.au-pager-btn, .au-pager-num {
  min-width: 34px; height: 33px; padding: 0 11px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--au-line); background: #fff; color: var(--au-text); font-size: var(--au-fs-sm);
}
.au-pager-btn:hover:not(.disabled), .au-pager-num:hover { border-color: var(--au-primary); color: var(--au-primary); }
.au-pager-num.active { background: var(--au-primary); border-color: var(--au-primary); color: #fff; font-weight: 650; }
.au-pager-btn.disabled, .au-pager-num.disabled { opacity: .42; pointer-events: none; }
.au-pager-ellipsis { padding: 0 3px; color: #b9c1d1; }

/* 6) 公告详情页 */
.au-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--au-muted); font-size: var(--au-fs-sm); }
.au-back:hover { color: var(--au-primary); }
.au-ann-detail { padding: 0; }
.au-ann-detail-head { padding: 24px 28px 20px; border-bottom: 1px solid var(--au-line); background: #fff; }
.au-ann-detail-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.au-ann-detail-title { margin: 0 0 12px; font-size: 22px; line-height: 1.36; font-weight: 700; color: var(--au-ink); }
.au-ann-detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--au-muted); font-size: var(--au-fs-sm); }
.au-ann-detail-meta .au-ann-state { margin-left: auto; }
.au-ann-detail-content { padding: 24px 28px; color: var(--au-text); font-size: 15px; line-height: 1.92; word-break: break-word; }
.au-ann-detail-content p { margin: 0 0 15px; }
.au-ann-detail-content h1, .au-ann-detail-content h2, .au-ann-detail-content h3, .au-ann-detail-content h4 {
  margin: 24px 0 12px; color: var(--au-ink); line-height: 1.4;
}
.au-ann-detail-content h1 { font-size: 20px; }
.au-ann-detail-content h2 { font-size: 18px; }
.au-ann-detail-content h3 { font-size: 16px; }
.au-ann-detail-content ul, .au-ann-detail-content ol { margin: 0 0 15px; padding-left: 22px; }
.au-ann-detail-content li { margin-bottom: 6px; }
.au-ann-detail-content img { max-width: 100%; height: auto; border-radius: var(--au-radius-sm); margin: 6px 0; }
.au-ann-detail-content table { width: 100%; border-collapse: collapse; margin: 0 0 15px; font-size: 13.5px; }
.au-ann-detail-content th, .au-ann-detail-content td { border: 1px solid var(--au-line); padding: 9px 12px; }
.au-ann-detail-content th { background: #f9fafb; text-align: left; }
.au-ann-detail-content code { background: #f2f4f7; border-radius: 5px; padding: 1px 6px; font-size: 13px; }
.au-ann-detail-content pre { background: #101828; color: #e7e9f7; padding: 14px 16px; border-radius: var(--au-radius-sm); overflow: auto; }
.au-ann-detail-content blockquote {
  margin: 0 0 15px; padding: 10px 16px; border-left: 3px solid var(--au-primary);
  background: #f9fafb; color: var(--au-text); border-radius: 0 var(--au-radius-sm) var(--au-radius-sm) 0;
}
.au-ann-detail-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 28px 18px; border-top: 1px solid var(--au-line);
}
.au-ann-detail-foot .au-ann-navlink { color: var(--au-text); font-size: 13px; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-ann-detail-foot .au-ann-navlink:hover { color: var(--au-primary); }
.au-ann-detail-foot .au-ann-navlink.disabled { color: #c2c9d6; pointer-events: none; }

/* ============================ 响应式 ============================ */
@media (max-width: 1100px) {
  .au-shell { grid-template-columns: 204px minmax(0, 1fr); gap: 16px; }
  .au-stats, body.customer-workspace .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-mainmenu-link { padding: 7px 10px; }
}

/* ≤900px：侧栏收为抽屉（带遮罩），顶栏显示汉堡按钮 */
@media (max-width: 900px) {
  .au-burger { display: inline-flex; }
  .au-rail-toggle { display: none; }
  .au-brand-text b { max-width: 140px; }
  body.customer-workspace .grid2 { grid-template-columns: 1fr; }

  .au-shell { display: block; padding: 14px 12px 0; }
  .au-side {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
    width: 272px; max-height: none; border-radius: 0 var(--au-radius-lg) var(--au-radius-lg) 0;
    padding: 16px 12px; transform: translateX(-104%);
    transition: transform .24s ease; box-shadow: var(--au-shadow-lg);
  }
  body.au-drawer-open .au-side { transform: translateX(0); }
  body.au-drawer-open .au-drawer-mask {
    display: block; position: fixed; inset: 0; z-index: 190; background: rgba(16, 24, 40, .45);
  }
  body.au-drawer-open { overflow: hidden; }
}

/* 移动端：顶栏精简 + 内容区留白收敛 */
@media (max-width: 768px) {
  :root { --au-topbar-h: 58px; }
  .au-topbar-inner { padding: 0 12px; gap: 10px; }
  .au-mainmenu { flex: 1 1 auto; margin: 0; }
  .au-brand-text { display: none; }
  .au-balance { display: none; }
  .au-user-name, .au-caret { display: none; }
  .au-user-btn { padding: 0 4px; border-radius: 50%; }

  .au-shell { padding: 12px 10px 0; }
  .au-content { padding: 12px; }
  .au-crumb { margin-bottom: 12px; }
  .au-ann-bar { flex-wrap: wrap; padding-right: 40px; }
  .au-ann-bar-time { order: 3; }
  .au-ann-hero { padding: 18px 16px; }
  .au-ann-item-desc { display: none; }
  .au-ann-item-meta { flex-direction: row; align-items: center; gap: 8px; }
  .au-ann-detail-head, .au-ann-detail-content { padding-left: 16px; padding-right: 16px; }
  .au-ann-detail-title { font-size: 19px; }
  .au-ann-detail-foot { padding: 12px 16px 16px; }
  .au-ann-detail-foot .au-ann-navlink { max-width: 100%; }
  .au-pager { justify-content: center; }
  .au-stats, body.customer-workspace .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .au-stat { padding: 13px; gap: 10px; }
  .au-stat-num { font-size: 18px; }
  body.customer-workspace .tb th, body.customer-workspace .tb td { padding: 10px 12px; }
}

@media (max-width: 520px) {
  .au-stats, body.customer-workspace .dash-stats { grid-template-columns: 1fr; }
  .au-ann-hero-count { display: none; }
  .au-ann-item-title { font-size: 14px; }
  .au-pager-info { width: 100%; text-align: center; }
}

/* ================== 云主机控制台：主题令牌桥 ==================
   组件结构样式统一放在 public/assets/css/cloud-console.css，
   这里只把「星野用户中心」的蓝白设计令牌映射给 .cc-console，
   保证在切换皮肤后云主机页面依旧跟随前台主色，且不产生第二份实现。 */
body.customer-workspace .cc-console {
  --cc-accent: var(--au-primary);
  --cc-accent-d: var(--au-primary-d);
  --cc-accent-soft: var(--au-primary-l);
  --cc-accent-line: #d1e0ff;
  --cc-ink: var(--au-ink);
  --cc-text: var(--au-text);
  --cc-muted: var(--au-muted);
  --cc-faint: #98a2b3;
  --cc-line: var(--au-line);
  --cc-line-soft: var(--au-line-2);
  --cc-canvas: #f7f9fc;
  --cc-ok: var(--au-success);
  --cc-ok-soft: #ecfdf3;
  --cc-warn: var(--au-warning);
  --cc-warn-soft: #fffaeb;
  --cc-danger: var(--au-danger);
  --cc-danger-soft: #fef3f2;
  --cc-info: var(--au-info);
  --cc-info-soft: var(--au-primary-l);
  --cc-ring: var(--au-ring);
}
body.customer-workspace .cc-console .cc-hero { background: linear-gradient(135deg, var(--au-primary-l) 0%, #ffffff 58%); }
body.customer-workspace .cc-console .cc-hero-mark { box-shadow: 0 10px 22px rgba(37, 99, 235, .24); }
body.customer-workspace .cc-console .cc-tab.is-active { box-shadow: 0 6px 14px rgba(37, 99, 235, .2); }
body.customer-workspace .cc-console .cc-kpi:hover { box-shadow: 0 12px 26px rgba(16, 24, 40, .08); }
body.customer-workspace .cc-console .cc-state { background: #f7f9fc; }

/* 控制台到期倒计时（续费成功后由共用面板即时刷新，不整页刷新） */
body.customer-workspace .cc-console .cc-due-left.is-soon,
body.customer-workspace .cc-console .cc-bill-count b.is-soon { color: #b45309; }
body.customer-workspace .cc-console .cc-due-left.is-past,
body.customer-workspace .cc-console .cc-bill-count b.is-past { color: var(--au-danger); }
body.customer-workspace .cc-console .cc-due-left.is-near,
body.customer-workspace .cc-console .cc-bill-count b.is-near { color: #0e7490; }
body.customer-workspace .cc-console .cc-due-left.is-muted,
body.customer-workspace .cc-console .cc-bill-count b.is-muted { color: var(--au-muted); }
body.customer-workspace .cc-console .cc-bill-count {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 6px; color: var(--au-muted); font-size: var(--au-fs-xs);
}

/* ==========================================================================
   我的服务（服务列表）· 行信息层次 / 到期高亮 / 操作按钮组
   续费面板（.au-rn-*）· 周期 chip / 金额试算 / 余额校验
   —— 仅使用本皮肤设计令牌，颜色与前台按钮、表单保持一致
   ========================================================================== */

/* ---------- 列表页顶部概览 ---------- */
.au-svc-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 14px;
}
.au-svc-head-l { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.au-svc-stat {
  min-width: 104px; padding: 11px 15px; border: 1px solid var(--au-line);
  border-radius: var(--au-radius-sm); background: #fff; box-shadow: var(--au-shadow);
  display: flex; flex-direction: column; gap: 1px;
}
.au-svc-stat-num { font-size: 19px; font-weight: 700; color: var(--au-ink); line-height: 1.2; letter-spacing: -.01em; }
.au-svc-stat-lbl { font-size: var(--au-fs-xs); color: var(--au-muted); }
.au-svc-stat.is-ok { border-color: #cdeedb; background: #f6fdf9; }
.au-svc-stat.is-ok .au-svc-stat-num { color: var(--au-success); }
.au-svc-stat.is-soon { border-color: #f6e2bd; background: #fffcf4; }
.au-svc-stat.is-soon .au-svc-stat-num { color: var(--au-warning); }
.au-svc-stat.is-past { border-color: #f6d3d1; background: #fff8f8; }
.au-svc-stat.is-past .au-svc-stat-num { color: var(--au-danger); }

/* ---------- 服务表格 ---------- */
/* 说明：这里刻意不设 overflow（横向滚动会裁掉「更多」下拉菜单），
   窄屏通过媒体查询隐藏次要列来适配。 */
.au-svc-scroll { width: 100%; }
body.customer-workspace .au-svc-card .card-head h3 { font-size: 15px; font-weight: 650; }
body.customer-workspace .au-svc-tb { table-layout: auto; }
body.customer-workspace .au-svc-tb th {
  padding: 11px 16px; font-size: var(--au-fs-xs); letter-spacing: .04em;
  text-transform: uppercase; color: var(--au-muted); background: #fbfcfe;
}
body.customer-workspace .au-svc-tb td { padding: 14px 16px; vertical-align: middle; }
body.customer-workspace .au-svc-tb tbody tr.au-svc-row-soon td { background: #fffdf6; }
body.customer-workspace .au-svc-tb tbody tr.au-svc-row-soon:hover td { background: #fffbf0; }
body.customer-workspace .au-svc-tb tbody tr.au-svc-row-past td { background: #fff9f9; }
body.customer-workspace .au-svc-tb tbody tr.au-svc-row-past:hover td { background: #fff4f4; }
.au-svc-tb-ops { text-align: right; }

.au-svc-name { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.au-svc-name b { color: var(--au-ink); font-size: 13.5px; font-weight: 650; }
.au-svc-tag {
  display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 20px;
  font-size: 11px; font-weight: 600; line-height: 1.7; white-space: nowrap;
}
.au-svc-tag.is-soon { background: #fffaeb; color: #b45309; border: 1px solid #f6e2bd; }
.au-svc-tag.is-past { background: #fef3f2; color: #b91c1c; border: 1px solid #f6d3d1; }
/* 站点备注：标识该行名称来自画板「站点设置 → 修改备注」 */
.au-svc-tag.is-remark { background: #eef2ff; color: #4338ca; border: 1px solid #dcdefb; }

.au-svc-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-svc-id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #98a2b3; }
.au-svc-spec { color: var(--au-text); }
.au-svc-prod { color: var(--au-ink); font-size: 13px; font-weight: 550; }
.au-svc-price { color: var(--au-ink); font-size: 13.5px; font-weight: 700; }
.au-svc-due { color: var(--au-text); font-size: 13px; font-weight: 550; }
.au-svc-count { margin-top: 2px; font-size: var(--au-fs-xs); color: var(--au-muted); }
.au-svc-count.is-soon { color: #b45309; font-weight: 600; }
.au-svc-count.is-past { color: var(--au-danger); font-weight: 600; }
.au-svc-count.is-near { color: #0e7490; }

.au-svc-ops { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.au-svc-more { position: relative; display: inline-block; }
.au-svc-more > summary { list-style: none; cursor: pointer; }
.au-svc-more > summary::-webkit-details-marker { display: none; }
.au-svc-more > summary::after {
  content: ""; width: 0; height: 0; margin-left: 1px; opacity: .55;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.au-svc-more[open] > summary { border-color: var(--au-primary); color: var(--au-primary); background: var(--au-primary-l); }
.au-svc-more[open] > summary::after { transform: rotate(180deg); opacity: .9; }
/* 下方空间不足时（最后一行 / 卡片底部）改为向上弹出，脚本在展开时加 is-up */
.au-svc-more.is-up > .au-svc-menu { top: auto; bottom: calc(100% + 8px); }

/* 「更多」下拉：定宽左对齐（操作列是右对齐，需要显式纠正）、开关独立成块 + 图标菜单项 */
.au-svc-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  width: 216px; padding: 6px; text-align: left;
  background: #fff; border: 1px solid var(--au-line); border-radius: 12px;
  box-shadow: 0 16px 38px rgba(16, 24, 40, .14), 0 2px 6px rgba(16, 24, 40, .05);
}
.au-svc-menu-switch {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; margin-bottom: 6px; border: 1px solid var(--au-line-2); border-radius: 9px;
  background: #f9fafb; color: var(--au-text); font-size: var(--au-fs-sm); font-weight: 550;
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.au-svc-menu-switch:hover { background: #f4f6fa; border-color: var(--au-line); }
/* 选择器带上 .au-svc-menu 以压过用户中心里 `input[type=checkbox]{width:17px;height:17px}` 的尺寸约束 */
.au-svc-menu .au-svc-menu-switch input[type=checkbox] {
  flex: 0 0 auto; box-sizing: border-box; width: 36px; height: 20px; margin: 0; padding: 0;
  appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px;
  background-color: #d0d5dd; background-repeat: no-repeat;
  background-image: radial-gradient(8px 8px at 10px 10px, #fff 99%, rgba(255, 255, 255, 0) 100%);
  cursor: pointer; transition: background-color .18s ease;
}
.au-svc-menu .au-svc-menu-switch input[type=checkbox]:checked {
  background-color: var(--au-primary);
  background-image: radial-gradient(8px 8px at 26px 10px, #fff 99%, rgba(255, 255, 255, 0) 100%);
}
.au-svc-menu .au-svc-menu-switch input[type=checkbox]:focus-visible { outline: 2px solid var(--au-primary); outline-offset: 2px; }
.au-svc-menu a {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 9px;
  color: var(--au-text); font-size: var(--au-fs-sm); font-weight: 550; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.au-svc-menu a:hover { background: var(--au-primary-l); color: var(--au-primary); }
.au-svc-menu-ico { display: inline-flex; flex: 0 0 auto; color: var(--au-muted); transition: color .15s ease; }
.au-svc-menu a:hover .au-svc-menu-ico { color: var(--au-primary); }
/* 表格能完整放下时（脚本按实际宽度加 is-noclip）取消卡片与正文的裁切，
   「更多」下拉可以正常覆盖在卡片之上，不再被卡片下沿截断；
   表格需要横向滚动时保持裁切，横向滚动条不受影响。 */
body.customer-workspace .au-svc-card.is-noclip,
body.customer-workspace .au-svc-card.is-noclip .card-body.no-pad { overflow: visible; }
/* 列表页三块内容始终占满整行：即使被放进 flex / grid 容器也不会被收缩成半宽（窄屏尤其明显） */
body.customer-workspace .au-svc-scope,
body.customer-workspace .au-svc-head,
body.customer-workspace .au-svc-card { width: 100%; min-width: 100%; grid-column: 1 / -1; }

/* ---------- 空状态 ---------- */
.au-svc-empty { padding: 42px 20px 46px; text-align: center; }
.au-svc-empty-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  margin-bottom: 12px; border-radius: 18px; background: var(--au-primary-l); color: var(--au-primary);
}
.au-svc-empty-title { font-size: 15px; font-weight: 650; color: var(--au-ink); }
.au-svc-empty-text { max-width: 420px; margin: 6px auto 16px; color: var(--au-muted); font-size: var(--au-fs-sm); line-height: 1.7; }

/* ---------- 续费面板 ---------- */
.au-rn { padding: 18px; }
.au-rn-box { width: 640px; max-width: min(95vw, 640px); border-radius: var(--au-radius-lg); }
.au-rn-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 20px 15px; border-bottom: 1px solid var(--au-line);
  background: linear-gradient(135deg, var(--au-primary-l) 0%, #fff 62%);
}
.au-rn-kicker { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--au-primary); }
.au-rn-head h3 { margin: 3px 0 0; font-size: 18px; font-weight: 700; color: var(--au-ink); }
.au-rn-x {
  flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 1px solid var(--au-line);
  border-radius: 10px; background: #fff; color: var(--au-muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: .15s;
}
.au-rn-x:hover { border-color: #cdd5e0; background: #f9fafb; color: var(--au-ink); }

.au-rn-body { padding: 18px 20px 4px; display: flex; flex-direction: column; gap: 16px; }
.au-rn-sum { padding: 14px 16px; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm); background: #fbfcfe; }
.au-rn-sum-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.au-rn-sum-top b { font-size: 14.5px; color: var(--au-ink); font-weight: 650; }
.au-rn-sum-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.au-rn-sum-grid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.au-rn-sum-grid span { font-size: var(--au-fs-xs); color: var(--au-muted); }
.au-rn-sum-grid b { font-size: var(--au-fs-sm); color: var(--au-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.au-rn-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.au-rn-sec-head h4 { margin: 0; font-size: 13.5px; font-weight: 650; color: var(--au-ink); }
.au-rn-sec-head small { color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-rn-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; }
.au-rn-chip {
  padding: 10px 8px; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  background: #fff; color: var(--au-text); font: inherit; font-size: var(--au-fs-sm);
  font-weight: 600; cursor: pointer; transition: .15s; text-align: center;
}
.au-rn-chip:hover { border-color: #b9cdfb; background: #f8faff; color: var(--au-primary); }
.au-rn-chip.on { border-color: var(--au-primary); background: var(--au-primary-l); color: var(--au-primary); box-shadow: var(--au-ring); }

.au-rn-money { padding: 6px 16px; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm); background: #fff; }
.au-rn-mrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: var(--au-fs-sm); color: var(--au-muted); }
.au-rn-mrow + .au-rn-mrow { border-top: 1px dashed var(--au-line-2); }
.au-rn-mrow b { color: var(--au-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.au-rn-mrow em { font-style: normal; color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-rn-mrow.is-disc b { color: var(--au-success); }
.au-rn-mrow.is-total { padding: 12px 0; }
.au-rn-mrow.is-total span { color: var(--au-ink); font-weight: 600; }
.au-rn-mrow.is-total b { font-size: 21px; color: var(--au-primary); letter-spacing: -.01em; }
.au-rn-mrow.is-due b { color: var(--au-text); font-size: var(--au-fs-sm); }

.au-rn-bal {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border: 1px solid #cdeedb; border-radius: var(--au-radius-sm);
  background: #f6fdf9; font-size: var(--au-fs-sm);
}
.au-rn-bal-l { display: flex; align-items: center; gap: 8px; color: var(--au-muted); }
.au-rn-bal-l b { color: var(--au-ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.au-rn-bal-note { font-size: var(--au-fs-xs); color: var(--au-muted); }
.au-rn-bal-note.is-ok { color: var(--au-success); font-weight: 600; }
.au-rn-bal-note.is-short { color: var(--au-danger); font-weight: 600; }
.au-rn-bal.is-short { border-color: #f6d3d1; background: #fff8f8; }
.au-rn-alert { padding: 10px 14px; border: 1px solid #f6d3d1; border-radius: var(--au-radius-sm); background: #fef3f2; color: #b91c1c; font-size: var(--au-fs-sm); }

.au-rn-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.au-rn-foot-note { color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-rn-foot-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#rnSubmit.is-busy { opacity: .7; }

/* 控制台场景：面板内多展示一行「续费对象」实例上下文 */
.au-rn-extra {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 8px 11px; border: 1px dashed var(--au-line);
  border-radius: var(--au-radius-sm); background: #fff; font-size: var(--au-fs-xs);
}
.au-rn-extra-ico { display: inline-flex; flex: 0 0 auto; color: var(--au-primary); }
.au-rn-extra-lbl { flex: 0 0 auto; color: var(--au-muted); }
.au-rn-extra b { min-width: 0; color: var(--au-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 页面内二次确认（控制台危险操作复用，替代浏览器原生对话框） */
.au-ask { padding: 18px; }
.au-ask-box { width: 440px; max-width: min(94vw, 440px); border-radius: var(--au-radius-lg); }
.au-ask-kicker { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--au-primary); }
.au-ask .modal-head h3 { margin: 3px 0 0; font-size: 16.5px; }
.au-ask-text { margin: 0; color: var(--au-ink); font-size: var(--au-fs-sm); line-height: 1.75; white-space: pre-line; }
.au-ask-note { margin: 8px 0 0; color: var(--au-muted); font-size: var(--au-fs-xs); line-height: 1.7; }
.au-ask-note:empty { display: none; }

@media (max-width: 900px) {
  body.customer-workspace .au-svc-tb th:nth-child(3),
  body.customer-workspace .au-svc-tb td:nth-child(3) { display: none; }
}
@media (max-width: 768px) {
  .au-svc-head { flex-direction: column; align-items: stretch; }
  .au-svc-head-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-svc-stat { min-width: 0; }
  body.customer-workspace .au-svc-tb th,
  body.customer-workspace .au-svc-tb td { padding: 12px 13px; }
  body.customer-workspace .au-svc-tb th:nth-child(2),
  body.customer-workspace .au-svc-tb td:nth-child(2) { display: none; }
  .au-svc-ops { justify-content: flex-start; }
  .au-svc-tb-ops { text-align: left; }
  /* 窄屏操作列左对齐：下拉改为以按钮左边为基准向右展开，避免超出卡片 */
  .au-svc-menu { right: auto; left: 0; }
  .au-rn { padding: 10px; }
  .au-rn-box { width: 100%; max-width: 100%; }
  .au-rn-body { padding: 14px 14px 2px; gap: 14px; }
  .au-rn-head { padding: 15px 15px 13px; }
  .au-rn-sum-grid { grid-template-columns: 1fr 1fr; }
  .au-rn-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-rn-foot { align-items: stretch; }
  .au-rn-foot-btns { display: grid; grid-template-columns: 1fr; width: 100%; }
  .au-rn-foot-btns .btn { justify-content: center; min-height: 40px; }
  .au-rn-extra { align-items: flex-start; }
  .au-ask { padding: 10px; }
  .au-ask-box { width: 100%; max-width: 100%; }
}

/* ==========================================================================
   B2：会员中心导航（导航管理：顶栏下拉 / 侧栏二级）
   ========================================================================== */
.au-mainmenu-group { position: relative; display: inline-flex; align-items: center; }
.au-mainmenu-link.au-has-drop { display: inline-flex; align-items: center; gap: 3px; }
.au-mainmenu-caret { opacity: .6; }
.au-mainmenu-drop {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; min-width: 168px;
  padding: 6px; background: #fff; border: 1px solid var(--au-line);
  border-radius: var(--au-radius-sm); box-shadow: var(--au-shadow-lg);
  display: none; flex-direction: column; gap: 1px;
}
.au-mainmenu-group:hover .au-mainmenu-drop,
.au-mainmenu-group:focus-within .au-mainmenu-drop { display: flex; }
.au-mainmenu-drop a { display: block; padding: 8px 11px; border-radius: 8px; font-size: var(--au-fs-sm); color: var(--au-text); white-space: nowrap; }
.au-mainmenu-drop a:hover { background: var(--au-primary-l); color: var(--au-primary); }
.au-mainmenu-drop a.active { background: var(--au-primary-l); color: var(--au-primary); font-weight: 650; }

.au-nav-link-sub { padding-left: 30px; font-size: 12.5px; color: var(--au-muted); }
.au-nav-link-sub.active { color: var(--au-primary); }
.au-nav-icon-sub { width: 19px; position: relative; }
.au-nav-icon-sub::before {
  content: ''; position: absolute; left: 8px; top: 50%; width: 5px; height: 5px;
  margin-top: -2.5px; border-radius: 50%; background: currentColor; opacity: .42;
}
.au-nav-caret { margin-left: auto; opacity: .5; flex: 0 0 auto; }
body.au-rail .au-nav-link-sub { display: none; }

/* 工单状态标签（后台配置颜色，前后台同口径） */
.tk-status-badge { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.tk-status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }

/* ==========================================================================
   B2：新闻中心 / 帮助中心（列表 + 详情）
   ========================================================================== */
.au-cms-search { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.au-cms-search input {
  min-height: 32px; padding: 5px 10px; border: 1px solid var(--au-line);
  border-radius: var(--au-radius-sm); font: inherit; font-size: var(--au-fs-sm); min-width: 168px;
}
.au-cms-hero-ico { display: inline-flex; align-items: center; justify-content: center; }
.au-cms-rows { display: flex; flex-direction: column; }
.au-cms-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px;
  border-bottom: 1px solid var(--au-line-2, #eef1f6); color: inherit;
}
.au-cms-item:last-child { border-bottom: 0; }
.au-cms-item:hover { background: #f6f8fb; border-radius: var(--au-radius-sm); }
.au-cms-cover {
  flex: 0 0 auto; width: 108px; height: 68px; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--au-line); background: #f2f4f7;
}
.au-cms-item-body { flex: 1 1 auto; min-width: 0; }
.au-cms-item-title { font-size: 15px; font-weight: 650; color: var(--au-ink); }
.au-cms-item-title .au-cms-top {
  display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 20px;
  font-size: 11px; font-weight: 600; background: #fef3f2; color: #b91c1c; vertical-align: middle;
}
.au-cms-item-desc { margin: 6px 0 0; color: var(--au-muted); font-size: var(--au-fs-sm); line-height: 1.7; }
.au-cms-item-meta { margin-top: 8px; display: flex; align-items: center; gap: 12px; color: var(--au-muted); font-size: var(--au-fs-xs); flex-wrap: wrap; }
.au-cms-item-meta b { color: var(--au-text); font-weight: 600; }
.au-cms-cat-tag { padding: 1px 8px; border-radius: 20px; background: var(--au-primary-l); color: var(--au-primary); font-weight: 600; }
.au-cms-detail { padding: 0; }
.au-cms-detail-head { padding: 24px 26px 16px; border-bottom: 1px solid var(--au-line-2, #eef1f6); }
.au-cms-detail-title { margin: 10px 0 8px; font-size: 22px; font-weight: 750; color: var(--au-ink); line-height: 1.4; }
.au-cms-detail-meta { display: flex; align-items: center; gap: 14px; color: var(--au-muted); font-size: var(--au-fs-xs); flex-wrap: wrap; }
.au-cms-crumb { display: flex; align-items: center; gap: 6px; color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-cms-crumb a { color: var(--au-muted); }
.au-cms-crumb a:hover { color: var(--au-primary); }
.au-cms-detail-content { padding: 22px 26px 26px; color: var(--au-text); font-size: 14.5px; line-height: 1.95; word-break: break-word; }
.au-cms-detail-content img { max-width: 100%; border-radius: 10px; }
.au-cms-detail-content pre { padding: 12px 14px; background: #f8fafc; border: 1px solid var(--au-line); border-radius: 10px; overflow: auto; }
.au-cms-detail-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.au-cms-detail-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 26px 20px; border-top: 1px solid var(--au-line-2, #eef1f6); flex-wrap: wrap; }
.au-cms-navlink { color: var(--au-text); font-size: var(--au-fs-sm); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-cms-navlink:hover { color: var(--au-primary); }
.au-cms-navlink.disabled { color: #b9c1d1; }
.au-cms-side { margin-top: 14px; }
.au-cms-side .card-body { padding: 6px 0; }
.au-cms-side a { display: block; padding: 9px 18px; color: var(--au-text); font-size: var(--au-fs-sm); }
.au-cms-side a:hover { background: #f6f8fb; color: var(--au-primary); }
@media (max-width: 768px) {
  .au-cms-item { flex-direction: column; gap: 10px; }
  .au-cms-cover { width: 100%; height: 132px; }
  .au-cms-detail-head, .au-cms-detail-content, .au-cms-detail-foot { padding-left: 16px; padding-right: 16px; }
  .au-cms-detail-title { font-size: 19px; }
  .au-cms-navlink { max-width: 100%; }
  .au-cms-search { margin-left: 0; width: 100%; }
  .au-cms-search input { flex: 1 1 auto; }
}

/* ==========================================================================
   VO：产品订购页（区域条 + 左侧分类树 + 规格参数卡片网格 · 密集商业风格）
   - 顶部区域条（面包屑 / 搜索）/ 价格说明条 / 左侧可折叠分类树 / 排序工具条 / 规格卡片 / 空态
   - 仅新增 au-shop-* 类，不覆盖既有组件定义
   ========================================================================== */
.au-shop { margin-bottom: 16px; }

/* 顶部区域条 */
.au-shop-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 16px; background: #fff; border: 1px solid var(--au-line);
  border-radius: var(--au-radius); box-shadow: var(--au-shadow); margin-bottom: 10px;
}
.au-shop-head-l { min-width: 0; }
.au-shop-crumb { display: flex; align-items: center; gap: 6px; color: var(--au-muted); font-size: 12px; }
.au-shop-crumb a { color: var(--au-muted); }
.au-shop-crumb a:hover { color: var(--au-primary); }
.au-shop-crumb b { color: var(--au-primary); font-weight: 600; }
.au-shop-crumb-sep { color: #cbd5e1; }
.au-shop-head-l h2 { margin: 6px 0 0; font-size: 19px; font-weight: 700; color: var(--au-ink); letter-spacing: -.01em; }
.au-shop-head-l p { margin: 5px 0 0; color: var(--au-muted); font-size: var(--au-fs-sm); }
.au-shop-search { display: flex; align-items: center; gap: 8px; }
.au-shop-search input[type="search"] {
  width: 268px; max-width: 100%; height: 36px; padding: 0 12px; outline: none;
  border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  background: #fff; color: var(--au-ink); font-size: var(--au-fs-sm);
}
.au-shop-search input[type="search"]:focus { border-color: var(--au-primary); box-shadow: var(--au-ring); }

/* 价格说明条 */
.au-shop-tip {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 9px 14px;
  background: #eff4ff; border: 1px solid #dbe4ff; border-radius: var(--au-radius-sm);
  color: #33479e; font-size: var(--au-fs-sm); line-height: 1.5;
}
.au-shop-tip b { font-weight: 650; }
.au-shop-tip-ico { flex: 0 0 auto; display: inline-flex; color: #4a67d6; }

/* 左侧分类树 + 右侧商品区 */
.au-shop-layout { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 12px; align-items: start; }
.au-shop-side {
  position: sticky; top: 14px; padding: 10px 8px; background: #fff;
  /* 上游分类可能有几十个，侧边栏限高滚动，避免整列跑到屏幕外 */
  max-height: calc(100vh - 28px); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--au-line); border-radius: var(--au-radius); box-shadow: var(--au-shadow);
}
.au-shop-side-title {
  padding: 2px 8px 8px; color: var(--au-muted);
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
}
.au-shop-sidenav { display: flex; flex-direction: column; gap: 2px; }
.au-shop-catlink {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; border-radius: var(--au-radius-sm);
  color: var(--au-text); font-size: var(--au-fs-sm);
}
.au-shop-catlink:hover { background: #f6f8fb; color: var(--au-primary); }
.au-shop-catlink.active { background: var(--au-primary-l); color: var(--au-primary); font-weight: 650; }
.au-shop-catlink-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-shop-catlink-sub { padding-left: 20px; color: var(--au-muted); }
.au-shop-catlink-sub.active { color: var(--au-primary); }
.au-shop-side-empty { margin: 6px 10px; color: var(--au-muted); font-size: var(--au-fs-sm); }

/* 分类分组：可展开 / 可合上，默认合上；点分组名即展开或合上，
   分组自身的筛选入口放在展开后的第一项「全部 <分组名>」 */
.au-shop-catgroup { display: block; }
.au-shop-catgroup-head {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 7px 10px; border-radius: var(--au-radius-sm); cursor: pointer; list-style: none;
  color: var(--au-text); font-size: 13px;
}
.au-shop-catgroup-head::-webkit-details-marker { display: none; }
.au-shop-catgroup-head:hover { background: #f6f8fb; color: var(--au-primary); }
.au-shop-catgroup-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-shop-catgroup-caret { flex: 0 0 auto; display: inline-flex; color: #9aa4b2; transition: transform .16s ease; }
.au-shop-catgroup[open] > .au-shop-catgroup-head .au-shop-catgroup-caret { transform: rotate(180deg); }
.au-shop-catgroup.is-active > .au-shop-catgroup-head { color: var(--au-primary); font-weight: 650; }
.au-shop-catgroup-body { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 6px; }

.au-shop-main { min-width: 0; }
.au-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 9px 14px; margin-bottom: 12px; background: #fff;
  border: 1px solid var(--au-line); border-radius: var(--au-radius); box-shadow: var(--au-shadow);
}
.au-shop-sorts { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.au-shop-sort {
  padding: 6px 11px; border-radius: var(--au-radius-sm); white-space: nowrap;
  color: var(--au-text); font-size: var(--au-fs-sm);
}
.au-shop-sort:hover { background: #f6f8fb; color: var(--au-primary); }
.au-shop-sort.active { background: var(--au-primary-l); color: var(--au-primary); font-weight: 650; }
.au-shop-count { color: var(--au-muted); font-size: var(--au-fs-sm); }

/* 商品卡片网格：密集多列（宽屏 6 列 / 中屏 3~4 列 / 窄屏 1 列），对齐上游分类粒度 */
.au-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 12px; }
.au-shop-card {
  display: flex; flex-direction: column; min-width: 0; padding: 12px; background: #fff;
  border: 1px solid var(--au-line); border-radius: var(--au-radius); box-shadow: var(--au-shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.au-shop-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16, 24, 40, .10); border-color: #c9d6f2; }
.au-shop-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.au-shop-name { margin: 0; min-width: 0; font-size: 14px; line-height: 1.4; font-weight: 650; }
.au-shop-name a { color: var(--au-ink); }
.au-shop-name a:hover { color: var(--au-primary); }
.au-shop-kind {
  flex: 0 0 auto; max-width: 46%; padding: 2px 7px; border-radius: 5px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  background: #e8f7ee; color: #12805c; font-size: 11px; font-weight: 600;
}

/* 卡片正文：产品描述（后台录入，支持 HTML）或产品配置参数，逐行「图标 + 标签 + 内容」 */
.au-shop-feats { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; }
.au-shop-feat { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.5; }
.au-shop-feat-ico { flex: 0 0 auto; display: inline-flex; margin-top: 2px; color: #98a2b3; }
.au-shop-feat-k { flex: 0 0 auto; color: var(--au-muted); }
.au-shop-feat-v { min-width: 0; color: var(--au-ink); overflow-wrap: anywhere; }
.au-shop-feat-v ul, .au-shop-feat-v ol { margin: 0; padding-left: 16px; }
.au-shop-feat-v p { margin: 0; }

.au-shop-notes { margin-top: 7px; color: #98a2b3; font-size: 11px; }
.au-shop-price-row {
  display: flex; align-items: flex-end; gap: 8px;
  margin-top: auto; padding-top: 10px;
}
.au-shop-price { display: inline-flex; align-items: baseline; gap: 2px; color: #dc2626; }
.au-shop-price em { font-style: normal; font-size: 13px; font-weight: 600; }
.au-shop-price b { font-size: 22px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.au-shop-price i { margin-left: 2px; font-style: normal; font-size: 11.5px; color: var(--au-muted); }
.au-shop-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.au-shop-buy { width: 100%; justify-content: center; }
/* 卡片上的快捷加购（主按钮为「立即购买」，此处仅做起快捷加购，去掉按钮默认外观） */
.au-shop-quick {
  align-self: center; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--au-muted); font-size: 12px; font-family: inherit; line-height: 1.4;
  transition: color .16s ease;
}
.au-shop-quick:hover { color: var(--au-primary); }
.au-shop-quick:disabled { opacity: .55; cursor: default; }

/* 空态 */
.au-shop-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 62px 22px 66px; background: #fff; border: 1px solid var(--au-line);
  border-radius: var(--au-radius); box-shadow: var(--au-shadow);
}
.au-shop-empty-ico {
  width: 62px; height: 62px; margin-bottom: 14px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f2f4f7; color: var(--au-muted);
}
.au-shop-empty h3 { margin: 0; font-size: 15.5px; font-weight: 650; color: var(--au-ink); }
.au-shop-empty p { margin: 8px 0 18px; color: var(--au-muted); font-size: var(--au-fs-sm); }

@media (max-width: 1180px) {
  .au-shop-layout { grid-template-columns: 190px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .au-shop-layout { grid-template-columns: minmax(0, 1fr); }
  .au-shop-side { position: static; max-height: none; }
  .au-shop-search { width: 100%; }
  .au-shop-search input[type="search"] { flex: 1 1 auto; width: auto; }
}
@media (max-width: 620px) {
  .au-shop-grid { grid-template-columns: minmax(0, 1fr); }
  .au-shop-head { padding: 14px; }
  .au-shop-kind { max-width: 40%; }
}

/* ==========================================================================
   前台用户中心 · 全局组件升级（浅色高质感控制台口径）
   —— 本段只做「增强」：不重定义既有类名含义，不改动任何业务结构与接口；
      统一卡片 / 区块标题 / 列表行 / 键值表 / 徽标 / 按钮 / 空状态 / 表格 /
      表单 / 弹窗 / 分页 / 侧栏与顶栏层级，并提供 1180 / 960 / 640 三档响应式。
   —— 设计口径：柔和阴影、圆角一致、留白充足；不使用渐变堆砌、光晕与玻璃拟态。
   ========================================================================== */

body.customer-workspace.au-body {
  --au-shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --au-shadow-md: 0 4px 14px rgba(16, 24, 40, .06);
  --au-shadow-xl: 0 24px 60px rgba(16, 24, 40, .22);
  --au-line-strong: #cbd5e1;
  --au-green: #067647;
  --au-green-soft: #ecfdf3;
  --au-red: #b42318;
  --au-red-soft: #fef3f2;
  --au-amber-soft: #fffaeb;
  --au-num-font: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- 1. 卡片与区块标题 ---------- */
body.customer-workspace .card {
  border-radius: var(--au-radius);
  box-shadow: var(--au-shadow);
  margin-bottom: 14px;
}
body.customer-workspace .card-head {
  flex-wrap: wrap;
  padding: 15px 20px;
  gap: 8px 12px;
}
body.customer-workspace .card-head h3 { font-size: 15px; line-height: 1.4; }
body.customer-workspace .card-body { padding: 20px; }
body.customer-workspace .card-body.no-pad { padding: 0; }
body.customer-workspace .card-body + .card-body { border-top: 1px solid var(--au-line-2); }
body.customer-workspace .card-head .muted { font-size: var(--au-fs-sm); }

/* 区块标题（页面内分区） */
.au-sec {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 0 0 14px;
}
.au-sec-l { min-width: 0; }
.au-sec-title {
  display: flex; align-items: center; gap: 9px; margin: 0;
  font-size: 16px; font-weight: 700; color: var(--au-ink); letter-spacing: -.01em;
}
.au-sec-title-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: var(--au-primary);
}
.au-sec-desc { margin: 5px 0 0; color: var(--au-muted); font-size: var(--au-fs-sm); line-height: 1.7; }
.au-sec-act { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- 2. 概览指标（页面首屏「概览指标 → 筛选/工具栏 → 列表/详情」） ---------- */
.au-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.au-kpis.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-kpis.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.au-kpi {
  display: flex; align-items: center; gap: 13px; min-width: 0;
  padding: 16px 18px; background: var(--au-card);
  border: 1px solid var(--au-line); border-radius: var(--au-radius);
  box-shadow: var(--au-shadow); transition: box-shadow .16s ease, border-color .16s ease;
}
.au-kpi:hover { border-color: #d6def0; box-shadow: var(--au-shadow-md); }
.au-kpi-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: var(--au-primary);
}
.au-kpi-body { min-width: 0; }
.au-kpi-num {
  font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  color: var(--au-ink); font-variant-numeric: tabular-nums;
}
.au-kpi-num small { font-size: 12px; font-weight: 600; color: var(--au-muted); margin-left: 3px; }
.au-kpi-lbl { margin-top: 3px; color: var(--au-muted); font-size: var(--au-fs-sm); }
.au-kpi-hint { margin-top: 2px; color: #98a2b3; font-size: var(--au-fs-xs); }
.au-kpi.is-ok .au-kpi-ico { background: var(--au-green-soft); color: var(--au-green); }
.au-kpi.is-ok .au-kpi-num { color: var(--au-green); }
.au-kpi.is-warn .au-kpi-ico { background: var(--au-amber-soft); color: #b54708; }
.au-kpi.is-warn .au-kpi-num { color: #b54708; }
.au-kpi.is-danger .au-kpi-ico { background: var(--au-red-soft); color: var(--au-red); }
.au-kpi.is-danger .au-kpi-num { color: var(--au-red); }
.au-kpi.is-muted .au-kpi-ico { background: #f2f4f7; color: var(--au-muted); }

/* ---------- 3. 工具栏与筛选 ---------- */
.au-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; padding: 12px 16px;
  background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-radius);
  box-shadow: var(--au-shadow); margin-bottom: 14px;
}
.au-toolbar-l, .au-toolbar-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.au-toolbar-l { flex: 1 1 auto; }
.au-toolbar-r { flex: 0 0 auto; }
.au-toolbar .au-toolbar-tip { color: var(--au-muted); font-size: var(--au-fs-sm); }

.au-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.au-filter select, .au-filter input[type="text"], .au-filter input[type="search"], .au-filter input[type="date"] {
  min-height: 34px; padding: 6px 11px; border: 1px solid var(--au-line);
  border-radius: var(--au-radius-sm); background: #fff; color: var(--au-text);
  font: inherit; font-size: var(--au-fs-sm);
}
.au-filter select:focus, .au-filter input:focus { outline: none; border-color: var(--au-primary); box-shadow: var(--au-ring); }

/* 筛选 chip（单选/多选切换） */
.au-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.au-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px;
  border: 1px solid var(--au-line); border-radius: 999px; background: #fff;
  color: var(--au-text); font-size: var(--au-fs-sm); font-weight: 500; white-space: nowrap;
}
.au-chip:hover { border-color: #cdd5e0; color: var(--au-primary); }
.au-chip.active { border-color: #d5e2ff; background: var(--au-primary-l); color: var(--au-primary); font-weight: 650; }
.au-chip-num {
  min-width: 18px; padding: 0 5px; border-radius: 999px; text-align: center;
  background: #f1f3f7; color: var(--au-muted); font-size: 11px; font-weight: 600; font-style: normal;
}
.au-chip.active .au-chip-num { background: #fff; color: var(--au-primary); }

/* ---------- 4. 键值表（详情页信息层次） ---------- */
body.customer-workspace .kb { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
body.customer-workspace .kb th {
  width: 148px; padding: 12px 16px 12px 0; text-align: left; vertical-align: top;
  color: var(--au-muted); font-weight: 500; white-space: nowrap;
  border-bottom: 1px solid var(--au-line-2);
}
body.customer-workspace .kb td {
  padding: 12px 16px; color: var(--au-text); vertical-align: top;
  border-bottom: 1px solid var(--au-line-2);
}
body.customer-workspace .kb tr:last-child th,
body.customer-workspace .kb tr:last-child td { border-bottom: 0; }
body.customer-workspace .kb:hover th { background: #fbfcfe; }
body.customer-workspace .kb b { color: var(--au-ink); }
body.customer-workspace .kb .kb-num { text-align: right; font-variant-numeric: tabular-nums; }
body.customer-workspace .kb-2col th { width: 110px; }

/* ---------- 5. 列表行 ---------- */
.au-rows { display: flex; flex-direction: column; }
.au-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border-bottom: 1px solid var(--au-line-2); color: var(--au-text);
}
.au-row:last-child { border-bottom: 0; }
.au-row:hover { background: #fbfcfe; }
.au-row.is-unread { background: #f8fbff; }
.au-row.is-unread:hover { background: #f4f8ff; }
.au-row-ico {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f2f4f7; color: var(--au-muted);
}
.au-row.is-unread .au-row-ico { background: var(--au-primary-l); color: var(--au-primary); }
.au-row-body { flex: 1 1 auto; min-width: 0; }
.au-row-title {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  font-size: 13.5px; font-weight: 600; color: var(--au-ink);
}
.au-row-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-row-desc { margin: 5px 0 0; color: var(--au-muted); font-size: var(--au-fs-sm); line-height: 1.65; }
.au-row-meta { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-row-ops { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.au-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--au-danger); flex: 0 0 auto;
}
.au-dot.is-muted { background: #cdd5e0; }

.au-note {
  padding: 11px 14px; border-radius: var(--au-radius-sm);
  background: #f8fafc; border: 1px solid var(--au-line-2);
  color: var(--au-muted); font-size: var(--au-fs-xs); line-height: 1.75;
}
.au-note b { color: var(--au-text); }

/* ---------- 6. 徽标 ---------- */
body.customer-workspace .badge {
  gap: 5px; padding: 3px 10px; border: 1px solid transparent;
  font-size: 11.5px; font-weight: 600; line-height: 1.7;
}
body.customer-workspace .badge-success { border-color: #abefc6; }
body.customer-workspace .badge-warning { border-color: #fedf89; }
body.customer-workspace .badge-danger { border-color: #fecdca; }
body.customer-workspace .badge-info, body.customer-workspace .badge-primary { border-color: #d1e0ff; }
body.customer-workspace .badge-primary { background: var(--au-primary-l); color: var(--au-primary); }
body.customer-workspace .badge-muted, body.customer-workspace .badge-default { border-color: var(--au-line); }
body.customer-workspace .badge-lg { padding: 5px 13px; font-size: 12.5px; }
body.customer-workspace .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 7. 按钮 ---------- */
body.customer-workspace .btn { min-height: 34px; padding: 7px 15px; font-weight: 600; }
body.customer-workspace .btn:focus-visible { outline: none; box-shadow: var(--au-ring); }
body.customer-workspace .btn.sm { min-height: 28px; padding: 4px 11px; }
body.customer-workspace .btn.lg { min-height: 42px; padding: 10px 24px; font-size: 15px; }
body.customer-workspace .btn.ghost { background: transparent; border-color: transparent; color: var(--au-muted); box-shadow: none; }
body.customer-workspace .btn.ghost:hover { background: #f2f4f7; color: var(--au-ink); box-shadow: none; }
body.customer-workspace .btn.block { width: 100%; justify-content: center; }
body.customer-workspace .btn[disabled], body.customer-workspace .btn.disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
body.customer-workspace .btn-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- 8. 表格：数字右对齐 + 窄屏横向滚动不破版 ---------- */
body.customer-workspace .tb th.is-num,
body.customer-workspace .tb td.is-num,
body.customer-workspace .tb .num {
  text-align: right; font-variant-numeric: tabular-nums;
}
body.customer-workspace .tb td.nowrap,
body.customer-workspace .tb th.nowrap { white-space: nowrap; }
body.customer-workspace .tb .mono, body.customer-workspace .mono {
  font-family: var(--au-num-font); font-size: 12.5px; letter-spacing: .01em;
}
body.customer-workspace .tb tbody tr:hover td { background: #fbfcfe; }
body.customer-workspace .tb tbody th {
  background: #fbfcfe; color: var(--au-muted); font-weight: 600; text-align: left;
}
.tb-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tb-wrap > table { min-width: 660px; }
.tb-wrap::-webkit-scrollbar { height: 8px; }
.tb-wrap::-webkit-scrollbar-thumb { background: #e4e7ec; border-radius: 8px; }
.tb-wrap::-webkit-scrollbar-track { background: transparent; }

/* 表格行内操作：≥3 项时收进 <details> 下拉，保持行高稳定 */
.au-ops { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.au-more { position: relative; display: inline-block; }
.au-more > summary { list-style: none; cursor: pointer; }
.au-more > summary::-webkit-details-marker { display: none; }
.au-more[open] > summary { border-color: var(--au-primary); color: var(--au-primary); }
.au-more-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 168px;
  padding: 6px; background: #fff; border: 1px solid var(--au-line);
  border-radius: var(--au-radius-sm); box-shadow: var(--au-shadow-xl);
  text-align: left;
}
.au-more-menu a, .au-more-menu button {
  display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px;
  background: none; text-align: left; font: inherit; font-size: var(--au-fs-sm);
  color: var(--au-text); cursor: pointer;
}
.au-more-menu a:hover, .au-more-menu button:hover { background: var(--au-primary-l); color: var(--au-primary); }
.au-more-menu .is-danger { color: var(--au-danger); }
.au-more-menu .is-danger:hover { background: var(--au-red-soft); color: var(--au-danger); }
.au-more-menu .au-more-sep { height: 1px; margin: 5px 4px; background: var(--au-line-2); }

/* ---------- 9. 表单 ---------- */
body.customer-workspace .form-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px; align-items: start;
}
body.customer-workspace .form-grid.cols-1, body.customer-workspace .form-grid.one { grid-template-columns: minmax(0, 1fr); }
body.customer-workspace .form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.customer-workspace .form-grid .span2 { grid-column: 1 / -1; }
body.customer-workspace .form-item { margin-bottom: 16px; }
body.customer-workspace .form-item > label {
  display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--au-ink);
}
body.customer-workspace .form-item .req { color: var(--au-danger); font-weight: 700; }
body.customer-workspace .form-item input,
body.customer-workspace .form-item select,
body.customer-workspace .form-item textarea {
  width: 100%; min-height: 38px; padding: 9px 12px;
  border: 1px solid #d0d5dd; border-radius: var(--au-radius-sm);
  background: #fff; color: var(--au-text); font: inherit; font-size: 13.5px; line-height: 1.5;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
body.customer-workspace .form-item textarea { min-height: 96px; line-height: 1.75; resize: vertical; }
body.customer-workspace .form-item select {
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
body.customer-workspace .form-item input:focus,
body.customer-workspace .form-item select:focus,
body.customer-workspace .form-item textarea:focus {
  outline: none; border-color: var(--au-primary); box-shadow: var(--au-ring); background: #fff;
}
body.customer-workspace .form-item input[readonly],
body.customer-workspace .form-item input[disabled],
body.customer-workspace .form-item select[disabled] {
  background: #f9fafb; color: var(--au-muted); cursor: default;
}
body.customer-workspace .form-item input::placeholder,
body.customer-workspace .form-item textarea::placeholder { color: #98a2b3; }
body.customer-workspace .form-item .tip { font-size: var(--au-fs-xs); color: var(--au-muted); margin-top: 6px; line-height: 1.7; }
body.customer-workspace .field-help {
  margin-top: 6px; color: var(--au-muted); font-size: var(--au-fs-xs); line-height: 1.7;
}
body.customer-workspace .field-help.is-warn { color: #b54708; }
body.customer-workspace .field-help.is-danger { color: var(--au-red); }
body.customer-workspace .field-help.is-ok { color: var(--au-green); }
body.customer-workspace .form-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 4px;
}
body.customer-workspace .form-actions .btn { min-width: 104px; }

/* 数字步进器（数量 / 资源规格） */
body.customer-workspace .stepper {
  display: inline-flex; align-items: stretch; border: 1px solid #d0d5dd;
  border-radius: var(--au-radius-sm); overflow: hidden; background: #fff;
}
body.customer-workspace .stepper button {
  width: 36px; border: 0; background: #f9fafb; color: var(--au-text);
  font: inherit; font-size: 15px; cursor: pointer; line-height: 1;
}
body.customer-workspace .stepper button:hover { background: var(--au-primary-l); color: var(--au-primary); }
body.customer-workspace .stepper input {
  width: 64px; min-height: 36px; border: 0; border-left: 1px solid var(--au-line-2);
  border-right: 1px solid var(--au-line-2); border-radius: 0;
  text-align: center; font-size: 13.5px; padding: 0 4px;
}
body.customer-workspace .stepper input:focus { box-shadow: none; border-color: var(--au-line-2); }

/* ---------- 10. 空状态统一：图标位 + 主文案 + 次文案 + 引导操作 ---------- */
.au-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 54px 22px 58px;
}
.au-empty-ico {
  width: 64px; height: 64px; border-radius: 20px; margin-bottom: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: #84adff;
}
.au-empty-title { margin: 0; font-size: 15.5px; font-weight: 650; color: var(--au-ink); }
.au-empty-text {
  margin: 8px auto 0; max-width: 460px;
  color: var(--au-muted); font-size: var(--au-fs-sm); line-height: 1.75;
}
.au-empty-act { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.au-empty.compact { padding: 34px 18px 38px; }
.au-empty.compact .au-empty-ico { width: 50px; height: 50px; border-radius: 16px; margin-bottom: 11px; }
body.customer-workspace .empty { padding: 46px 20px; line-height: 1.75; }
body.customer-workspace .empty a { font-weight: 600; }

/* ---------- 11. 弹窗统一（页面内二次确认，替代浏览器原生对话框） ---------- */
.modal { background: rgba(16, 24, 40, .48); z-index: 300; }
.modal.show, .modal.open { display: flex; }
.modal .modal-box {
  border-radius: var(--au-radius-lg);
  box-shadow: var(--au-shadow-xl);
  border: 1px solid rgba(16, 24, 40, .06);
}
.modal .modal-head { padding: 16px 20px; border-bottom: 1px solid var(--au-line); gap: 12px; }
.modal .modal-head h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--au-ink); }
.modal .modal-head .close {
  flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid var(--au-line); border-radius: 10px;
  background: #fff; color: var(--au-muted); cursor: pointer; font-size: 18px; line-height: 1;
}
.modal .modal-head .close:hover { background: #f9fafb; color: var(--au-ink); border-color: #cdd5e0; }
.modal .modal-body { padding: 20px; color: var(--au-text); font-size: 13.5px; }
.modal .modal-foot {
  padding: 16px 20px; border-top: 1px solid var(--au-line);
  gap: 10px; align-items: center; flex-wrap: wrap;
}
.modal.au-dlg .modal-box { width: min(100%, 520px); max-width: min(94vw, 520px); }
.modal.au-dlg.is-wide .modal-box { width: min(100%, 720px); max-width: min(96vw, 720px); }
.modal.au-dlg .modal-foot { justify-content: flex-end; }
.modal.au-dlg .au-dlg-text { margin: 0; color: var(--au-ink); font-size: 13.5px; line-height: 1.8; }
.modal.au-dlg .au-dlg-note { margin: 10px 0 0; color: var(--au-muted); font-size: var(--au-fs-xs); line-height: 1.7; }
.modal.au-dlg .au-dlg-kicker {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  color: var(--au-primary); margin-bottom: 4px;
}
body.modal-open { overflow: hidden; }

/* ---------- 12. 分页统一 ---------- */
body.customer-workspace .pager {
  display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap;
  gap: 6px 6px; padding: 14px 20px;
  border-top: 1px solid var(--au-line); background: #fff;
}
body.customer-workspace .pager > span:first-child {
  margin-right: auto; color: var(--au-muted); font-size: var(--au-fs-sm);
}
body.customer-workspace .pager a {
  min-width: 34px; height: 33px; padding: 0 11px; border-radius: 9px;
  border: 1px solid var(--au-line); background: #fff; color: var(--au-text);
  display: inline-flex; align-items: center; justify-content: center; font-size: var(--au-fs-sm);
  transition: border-color .15s, color .15s, background .15s;
}
body.customer-workspace .pager a:hover { border-color: var(--au-primary); color: var(--au-primary); background: #f8faff; }
body.customer-workspace .pager a.current {
  background: var(--au-primary); border-color: var(--au-primary); color: #fff; font-weight: 650;
}
body.customer-workspace .pager a[rel="prev"], body.customer-workspace .pager a[rel="next"] { padding: 0 13px; }

/* ---------- 13. 侧栏与顶部：层级、间距、当前项高亮一致 ---------- */
body.customer-workspace .au-topbar { box-shadow: 0 1px 0 rgba(16, 24, 40, .02); }
body.customer-workspace .au-nav-link { min-height: 38px; }
body.customer-workspace .au-mainmenu-link { min-height: 34px; display: inline-flex; align-items: center; }
body.customer-workspace .au-nav-link:focus-visible,
body.customer-workspace .au-mainmenu-link:focus-visible,
body.customer-workspace .au-nav-title:focus-visible { outline: none; box-shadow: var(--au-ring); }
body.customer-workspace .au-side::-webkit-scrollbar { width: 8px; }
body.customer-workspace .au-side::-webkit-scrollbar-thumb { background: #e4e7ec; border-radius: 8px; }
body.customer-workspace .au-side::-webkit-scrollbar-track { background: transparent; }
body.customer-workspace .au-side-cta { min-height: 36px; display: flex; align-items: center; justify-content: center; }
body.customer-workspace .au-crumb { margin-bottom: 14px; }

/* ---------- 14. 通用小件 ---------- */
.au-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.au-muted { color: var(--au-muted); }
.au-strong { color: var(--au-ink); font-weight: 650; }
.au-money { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--au-ink); }
.au-money.is-in { color: var(--au-green); }
.au-money.is-out { color: var(--au-red); }
.au-chip-tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 7px;
  background: #f2f4f7; color: var(--au-muted); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.au-chip-tag.is-primary { background: var(--au-primary-l); color: var(--au-primary); }
.au-inline-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* 快捷入口宫格 */
.au-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 10px; }
.au-quick a {
  display: flex; align-items: center; gap: 11px; padding: 13px 15px;
  background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  color: var(--au-text); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.au-quick a:hover { border-color: #b9cdfb; box-shadow: var(--au-ring); transform: translateY(-1px); }
.au-quick-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: var(--au-primary);
}
.au-quick a > span:last-child { min-width: 0; }
.au-quick b { display: block; color: var(--au-ink); font-size: 13px; font-weight: 650; }
.au-quick small { display: block; margin-top: 2px; color: var(--au-muted); font-size: var(--au-fs-xs); }

/* ==========================================================================
   15. 我的服务：概览条右侧动作区 / 批量续费工作台（补齐缺失类）
   ========================================================================== */
.au-svc-head-r { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.au-svc-picked {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px;
  border-radius: 999px; background: var(--au-primary); color: #fff;
  font-size: 11px; font-weight: 700; font-style: normal; vertical-align: middle;
}
body.customer-workspace .btn[disabled] .au-svc-picked { background: #98a2b3; }
.au-svc-tb-check { width: 40px; text-align: center; }
.au-svc-tb-check input { width: 15px; height: 15px; accent-color: var(--au-primary); }

.au-bulk-box { width: min(100%, 700px); max-width: min(96vw, 700px); }
.au-bulk-list { display: flex; flex-direction: column; gap: 8px; }
.au-bulk-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px 168px;
  gap: 12px; align-items: center; padding: 12px 14px;
  border: 1px solid var(--au-line); border-radius: var(--au-radius-sm); background: #fff;
}
.au-bulk-info { min-width: 0; }
.au-bulk-info b { display: block; color: var(--au-ink); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-bulk-info span { display: block; margin-top: 3px; color: var(--au-muted); font-size: var(--au-fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-bulk-duration {
  min-height: 34px; padding: 6px 10px; border: 1px solid var(--au-line);
  border-radius: var(--au-radius-sm); background: #fff; font: inherit; font-size: var(--au-fs-sm);
}
.au-bulk-amount { text-align: right; color: var(--au-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.au-bulk-amount small { display: block; margin-top: 3px; color: var(--au-muted); font-size: var(--au-fs-xs); font-weight: 500; }
.au-bulk-sum {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin-top: 12px; padding: 13px 15px; border-radius: var(--au-radius-sm);
  background: #f8fafc; border: 1px solid var(--au-line-2);
}
.au-bulk-sum > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.au-bulk-sum span { color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-bulk-sum b { color: var(--au-ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.au-bulk-sum > div:last-child b { color: var(--au-primary); }
.au-bulk-loading { padding: 26px 10px; text-align: center; color: var(--au-muted); font-size: var(--au-fs-sm); }
.au-bulk-foot { color: var(--au-muted); font-size: var(--au-fs-xs); margin-right: auto; }

/* ==========================================================================
   16. 消息中心：概览 → 筛选 → 分组列表 → 空状态
   ========================================================================== */
.au-notify-group + .au-notify-group { border-top: 1px solid var(--au-line-2); }
.au-notify-group-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 18px; background: #fbfcfe; color: var(--au-muted);
  font-size: var(--au-fs-xs); font-weight: 700; letter-spacing: .06em;
}
.au-notify-group-head b { color: var(--au-ink); font-weight: 700; letter-spacing: 0; font-size: var(--au-fs-sm); }
.au-notify-body { margin: 0; color: var(--au-text); font-size: var(--au-fs-sm); line-height: 1.75; }
.au-notify-actions { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.au-notify-empty { display: none; }
.au-notify-empty.show { display: block; }

/* ==========================================================================
   17. 工单：概览 → 列表 / 对话式详情 + 处理时间线
   ========================================================================== */
.au-chat { display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.au-chat-item { display: flex; gap: 12px; align-items: flex-start; }
.au-chat-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f2f4f7; color: var(--au-muted); font-size: var(--au-fs-xs); font-weight: 700;
}
.au-chat-bubble {
  flex: 1 1 auto; min-width: 0; padding: 12px 15px;
  background: #fff; border: 1px solid var(--au-line); border-radius: 12px;
  box-shadow: var(--au-shadow-xs);
}
.au-chat-item.is-me { flex-direction: row-reverse; }
.au-chat-item.is-me .au-chat-bubble { background: var(--au-primary-l); border-color: #d1e0ff; }
.au-chat-item.is-staff .au-chat-avatar { background: var(--au-primary-l); color: var(--au-primary); }
.au-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.au-chat-who { font-size: var(--au-fs-sm); font-weight: 650; color: var(--au-ink); }
.au-chat-time { color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-chat-text { color: var(--au-text); font-size: 13.5px; line-height: 1.85; word-break: break-word; }
.au-chat-reply { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--au-line-2); }
.au-chat-tip { margin: 8px 0 0; color: var(--au-muted); font-size: var(--au-fs-xs); }

.au-tl { position: relative; padding: 4px 0 0; }
.au-tl-item { position: relative; padding: 0 0 20px 26px; }
.au-tl-item::before {
  content: ''; position: absolute; left: 5px; top: 16px; bottom: -2px;
  width: 2px; background: var(--au-line-2);
}
.au-tl-item:last-child { padding-bottom: 0; }
.au-tl-item:last-child::before { display: none; }
.au-tl-dot {
  position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--au-line-strong); box-sizing: border-box;
}
.au-tl-item.is-on .au-tl-dot {
  border-color: var(--au-primary); background: var(--au-primary);
  box-shadow: 0 0 0 3px var(--au-primary-l);
}
.au-tl-item.is-ok .au-tl-dot { border-color: var(--au-success); background: var(--au-success); box-shadow: 0 0 0 3px #ecfdf3; }
.au-tl-time { color: var(--au-muted); font-size: var(--au-fs-xs); font-variant-numeric: tabular-nums; }
.au-tl-title { margin-top: 2px; color: var(--au-ink); font-size: 13.5px; font-weight: 650; }
.au-tl-desc { margin-top: 3px; color: var(--au-muted); font-size: var(--au-fs-sm); line-height: 1.7; }

/* ==========================================================================
   18. 账单 / 收支：汇总条
   ========================================================================== */
.au-sum {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px;
}
.au-sum.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-sum.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.au-sum-item {
  padding: 15px 18px; background: #fff; border: 1px solid var(--au-line);
  border-radius: var(--au-radius); box-shadow: var(--au-shadow);
}
.au-sum-lbl { color: var(--au-muted); font-size: var(--au-fs-sm); }
.au-sum-num {
  margin-top: 4px; font-size: 21px; font-weight: 700; letter-spacing: -.01em;
  color: var(--au-ink); font-variant-numeric: tabular-nums; line-height: 1.2;
}
.au-sum-num.is-warn { color: #b54708; }
.au-sum-num.is-danger { color: var(--au-red); }
.au-sum-num.is-ok { color: var(--au-green); }
.au-sum-hint { margin-top: 3px; color: #98a2b3; font-size: var(--au-fs-xs); }

/* ==========================================================================
   19. 充值：金额档位 + 支付方式
   ========================================================================== */
.au-amt-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 2px 0 16px; }
.au-amt-chip {
  padding: 12px 10px; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  background: #fff; color: var(--au-text); font: inherit; font-size: 13.5px;
  font-weight: 600; cursor: pointer; text-align: center; transition: .15s;
}
.au-amt-chip:hover { border-color: #b9cdfb; background: #f8faff; color: var(--au-primary); }
.au-amt-chip.on { border-color: var(--au-primary); background: var(--au-primary-l); color: var(--au-primary); box-shadow: var(--au-ring); }
.au-pay-box {
  padding: 14px 16px; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  background: #fbfcfe;
}
.au-pay-box .au-pay-lbl { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--au-ink); }
.au-pay-box select { width: 100%; }
.au-pay-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.au-pay-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  background: #fff; border: 1px solid var(--au-line); color: var(--au-muted); font-size: var(--au-fs-xs);
}
.au-pay-tag.is-on { border-color: #d1e0ff; background: var(--au-primary-l); color: var(--au-primary); font-weight: 600; }
.au-amt-preview { margin-top: 12px; color: var(--au-muted); font-size: var(--au-fs-xs); }
.au-amt-preview b { color: var(--au-ink); font-size: 15px; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   20. 推介计划：链接与奖励规则
   ========================================================================== */
.au-invite-link { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.au-invite-link input {
  flex: 1 1 300px; min-width: 0; min-height: 40px; padding: 9px 12px;
  border: 1px solid #d0d5dd; border-radius: var(--au-radius-sm);
  background: #f8fafc; color: var(--au-text); font-size: 13px;
}
.au-invite-code {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: 999px; background: var(--au-primary-l); color: var(--au-primary);
  font-weight: 700; letter-spacing: .06em;
}
.au-invite-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.au-rule {
  display: flex; gap: 12px; padding: 15px 16px; background: #fff;
  border: 1px solid var(--au-line); border-radius: var(--au-radius); box-shadow: var(--au-shadow);
}
.au-rule-ico {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: var(--au-primary);
}
.au-rule-body { min-width: 0; }
.au-rule-title { color: var(--au-ink); font-size: 13.5px; font-weight: 650; }
.au-rule-num { margin-top: 3px; color: var(--au-primary); font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
.au-rule-desc { margin-top: 4px; color: var(--au-muted); font-size: var(--au-fs-xs); line-height: 1.7; }

/* ==========================================================================
   21. 购物车
   ========================================================================== */
.au-cart-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.au-cart-name b { color: var(--au-ink); font-size: 13.5px; font-weight: 650; }
.au-cart-cfg { margin-top: 4px; font-size: var(--au-fs-xs); line-height: 1.6; }
.au-cart-cycle {
  min-height: 34px; padding: 6px 10px; border: 1px solid var(--au-line);
  border-radius: var(--au-radius-sm); background: #fff; font: inherit; font-size: var(--au-fs-sm);
}
.au-cart-qty { width: 58px; }
.au-cart-foot {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.au-cart-coupon { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }
.au-cart-coupon label { margin: 0; white-space: nowrap; }
.au-cart-coupon input { width: 200px; max-width: 100%; }
.au-cart-sum { flex: 0 1 360px; min-width: 280px; display: flex; flex-direction: column; gap: 8px; }
.au-cart-sum-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--au-muted); font-size: var(--au-fs-sm);
}
.au-cart-sum-row b { color: var(--au-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.au-cart-sum-row.is-total { padding-top: 10px; border-top: 1px dashed var(--au-line-2); }
.au-cart-sum-row.is-total span { color: var(--au-ink); font-weight: 600; }
.au-cart-sum-row.is-total b { font-size: 22px; color: var(--au-primary); }
.au-cart-balance-tip {
  padding: 10px 13px; border-radius: var(--au-radius-sm);
  background: #f6fdf9; border: 1px solid #cdeedb; color: var(--au-green);
  font-size: var(--au-fs-xs); line-height: 1.7;
}
.au-cart-balance-tip.is-short { background: var(--au-red-soft); border-color: #f6d3d1; color: var(--au-red); }
.au-cart-checkout { min-height: 40px; justify-content: center; }
.au-cart-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 54px 22px 58px; }
.au-cart-empty p { margin: 0; }
.au-cart-empty p:first-child { color: var(--au-ink); font-size: 15.5px; font-weight: 650; }
.au-cart-empty p.muted { max-width: 440px; font-size: var(--au-fs-sm); line-height: 1.75; }
.au-cart-empty .btn { margin-top: 10px; }

/* ==========================================================================
   22. 订单详情：状态时间线 / 支付方式卡片（覆盖页面内联样式，统一观感）
   ========================================================================== */
body.customer-workspace .pay-section {
  margin-top: 18px; padding: 18px; border: 1px solid var(--au-line);
  border-radius: var(--au-radius); background: #fbfcfe;
}
body.customer-workspace .pay-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
body.customer-workspace .pay-section-head h3 { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--au-ink); }
body.customer-workspace .pay-section-head p { margin: 0; color: var(--au-muted); font-size: var(--au-fs-sm); }
body.customer-workspace .pay-section-head strong { color: var(--au-primary); font-size: 16px; font-variant-numeric: tabular-nums; }
body.customer-workspace .pay-method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
body.customer-workspace .pay-method-card {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px;
  background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
body.customer-workspace .pay-method-card:hover { border-color: #b9cdfb; box-shadow: var(--au-ring); }
body.customer-workspace .pay-method-card:has(input:checked) { border-color: var(--au-primary); background: var(--au-primary-l); }
body.customer-workspace .pay-method-card input { display: none; }
body.customer-workspace .pay-method-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
body.customer-workspace .pay-method-icon svg { width: 24px; height: 24px; }
body.customer-workspace .pay-method-name { font-size: 13.5px; font-weight: 600; color: var(--au-ink); }
body.customer-workspace .pay-method-card:has(input:checked) .pay-method-name { color: var(--au-primary); }

body.customer-workspace .qr-modal { background: rgba(16, 24, 40, .48); z-index: 400; }
body.customer-workspace .qr-modal-box {
  border-radius: var(--au-radius-lg); padding: 22px 24px; max-width: 340px;
  border: 1px solid var(--au-line); box-shadow: var(--au-shadow-xl);
}
body.customer-workspace .qr-modal-head h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--au-ink); }
body.customer-workspace .qr-close { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--au-muted); cursor: pointer; }
body.customer-workspace .qr-close:hover { color: var(--au-ink); }
body.customer-workspace .qr-tip { color: var(--au-muted); font-size: var(--au-fs-sm); }
body.customer-workspace .qr-status { color: var(--au-primary); font-size: var(--au-fs-sm); font-weight: 600; }

/* ==========================================================================
   23. 订购页：配置分区与价格清单可读性（保留既有结构与交互）
   ========================================================================== */
body.customer-workspace .purchase-page { display: block; }
body.customer-workspace .purchase-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 22px; margin-bottom: 14px; background: #fff;
  border: 1px solid var(--au-line); border-radius: var(--au-radius); box-shadow: var(--au-shadow);
}
body.customer-workspace .purchase-hero h1 { margin: 6px 0 0; font-size: 20px; font-weight: 700; color: var(--au-ink); }
body.customer-workspace .purchase-hero p { margin: 6px 0 0; color: var(--au-muted); font-size: var(--au-fs-sm); line-height: 1.75; }
body.customer-workspace .purchase-hero .eyebrow { color: var(--au-primary); font-size: var(--au-fs-xs); font-weight: 700; letter-spacing: .16em; }
body.customer-workspace .purchase-hero-meta { color: var(--au-muted); font-size: var(--au-fs-sm); text-align: right; }
body.customer-workspace .purchase-hero-meta strong { color: var(--au-danger); font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
body.customer-workspace .purchase-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
body.customer-workspace .purchase-config { min-width: 0; }
body.customer-workspace .config-section {
  padding: 18px 20px; margin-bottom: 14px; background: #fff;
  border: 1px solid var(--au-line); border-radius: var(--au-radius); box-shadow: var(--au-shadow);
}
body.customer-workspace .config-title { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
body.customer-workspace .config-title > span {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--au-primary-l); color: var(--au-primary); font-size: 12px; font-weight: 700;
}
body.customer-workspace .config-title h2 { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--au-ink); }
body.customer-workspace .config-title p { margin: 4px 0 0; color: var(--au-muted); font-size: var(--au-fs-sm); }
body.customer-workspace .field-label { margin: 0 0 8px; color: var(--au-ink); font-size: 13px; font-weight: 600; }
body.customer-workspace .choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
body.customer-workspace .select-card {
  display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; cursor: pointer;
  background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
body.customer-workspace .select-card:hover { border-color: #b9cdfb; }
body.customer-workspace .select-card:has(input:checked) { border-color: var(--au-primary); background: var(--au-primary-l); box-shadow: var(--au-ring); }
body.customer-workspace .select-card input { display: none; }
body.customer-workspace .select-card span { color: var(--au-ink); font-size: 13.5px; font-weight: 600; }
body.customer-workspace .select-card small { color: var(--au-muted); font-size: var(--au-fs-xs); }
body.customer-workspace .select-card b { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: #fff; border: 1px solid #d1e0ff; color: var(--au-primary); font-size: 10.5px; }
body.customer-workspace .spec-table { border: 1px solid var(--au-line); border-radius: var(--au-radius-sm); overflow: hidden; }
body.customer-workspace .spec-head, body.customer-workspace .spec-row {
  display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)) .9fr;
  gap: 8px; align-items: center; padding: 11px 14px;
}
body.customer-workspace .spec-head { background: #fbfcfe; color: var(--au-muted); font-size: var(--au-fs-xs); font-weight: 700; }
body.customer-workspace .spec-row { cursor: pointer; border-top: 1px solid var(--au-line-2); }
body.customer-workspace .spec-row:hover { background: #fbfcfe; }
body.customer-workspace .spec-row:has(input:checked) { background: var(--au-primary-l); }
body.customer-workspace .spec-row input { display: none; }
body.customer-workspace .spec-row strong { color: var(--au-ink); font-size: 13px; }
body.customer-workspace .spec-row span { color: var(--au-text); font-size: var(--au-fs-sm); }
body.customer-workspace .spec-row em { color: var(--au-primary); font-style: normal; font-size: var(--au-fs-sm); font-weight: 650; text-align: right; }
body.customer-workspace .resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
body.customer-workspace .resource-field { display: flex; flex-direction: column; gap: 7px; }
body.customer-workspace .resource-field label { color: var(--au-ink); font-size: 13px; font-weight: 600; }
body.customer-workspace .resource-field small { color: var(--au-muted); font-size: var(--au-fs-xs); }
body.customer-workspace .bandwidth-field { margin-top: 16px; }
body.customer-workspace .bandwidth-field label { display: block; margin-bottom: 8px; color: var(--au-ink); font-size: 13px; font-weight: 600; }
body.customer-workspace .bandwidth-field input[type="range"] { width: 100%; accent-color: var(--au-primary); }
body.customer-workspace .bandwidth-field > div { display: flex; justify-content: space-between; margin-top: 4px; }
body.customer-workspace .os-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
body.customer-workspace .os-tabs button {
  padding: 7px 14px; border: 1px solid var(--au-line); border-radius: 999px;
  background: #fff; color: var(--au-text); font: inherit; font-size: var(--au-fs-sm);
  font-weight: 500; cursor: pointer;
}
body.customer-workspace .os-tabs button:hover { border-color: #cdd5e0; color: var(--au-primary); }
body.customer-workspace .os-tabs button.active { border-color: #d5e2ff; background: var(--au-primary-l); color: var(--au-primary); font-weight: 650; }
body.customer-workspace .segmented { display: flex; gap: 8px; flex-wrap: wrap; }
body.customer-workspace .segmented label {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px;
  border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  background: #fff; color: var(--au-text); font-size: var(--au-fs-sm); cursor: pointer;
}
body.customer-workspace .segmented label:has(input:checked) { border-color: var(--au-primary); background: var(--au-primary-l); color: var(--au-primary); font-weight: 600; }
body.customer-workspace .duration-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
body.customer-workspace .duration-picker label {
  display: flex; align-items: center; justify-content: center; padding: 10px 8px;
  border: 1px solid var(--au-line); border-radius: var(--au-radius-sm); background: #fff;
  font-size: var(--au-fs-sm); font-weight: 600; color: var(--au-text); cursor: pointer;
}
body.customer-workspace .duration-picker label:has(input:checked) { border-color: var(--au-primary); background: var(--au-primary-l); color: var(--au-primary); box-shadow: var(--au-ring); }
body.customer-workspace .duration-picker input { display: none; }
body.customer-workspace .quote-panel {
  position: sticky; top: calc(var(--au-topbar-h) + 14px);
  padding: 18px; background: #fff; border: 1px solid var(--au-line);
  border-radius: var(--au-radius); box-shadow: var(--au-shadow);
}
body.customer-workspace .quote-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
body.customer-workspace .quote-head h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--au-ink); }
body.customer-workspace .quote-head p { margin: 3px 0 0; color: var(--au-muted); font-size: var(--au-fs-xs); }
body.customer-workspace .quote-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--au-primary); flex: 0 0 auto; }
body.customer-workspace .quote-items { display: flex; flex-direction: column; }
body.customer-workspace .quote-items > div {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px dashed var(--au-line-2);
  color: var(--au-muted); font-size: var(--au-fs-sm);
}
body.customer-workspace .quote-items > div:last-child { border-bottom: 0; }
body.customer-workspace .quote-items b { color: var(--au-ink); font-variant-numeric: tabular-nums; }
body.customer-workspace .quote-items .quote-extra b { color: var(--au-primary); }
body.customer-workspace .quote-total {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--au-line);
  display: flex; flex-direction: column; gap: 6px;
}
body.customer-workspace .quote-total .quote-line { display: flex; align-items: center; justify-content: space-between; color: var(--au-muted); font-size: var(--au-fs-sm); }
body.customer-workspace .quote-total .quote-line b { color: var(--au-ink); font-variant-numeric: tabular-nums; }
body.customer-workspace .quote-total > span { margin-top: 6px; color: var(--au-ink); font-size: var(--au-fs-sm); font-weight: 600; }
body.customer-workspace .quote-total > strong { color: var(--au-primary); font-size: 26px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.customer-workspace .quote-total > small { color: var(--au-muted); font-size: var(--au-fs-xs); }
body.customer-workspace .quote-note { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--au-radius-sm); background: #f8fafc; border: 1px solid var(--au-line-2); color: var(--au-muted); font-size: var(--au-fs-xs); line-height: 1.75; }
body.customer-workspace .quote-actions { display: flex; gap: 10px; margin-top: 14px; }
body.customer-workspace .quote-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 40px; white-space: nowrap; }
body.customer-workspace .quote-error { color: var(--au-red); font-size: var(--au-fs-sm); padding: 10px 0; }
body.customer-workspace .buy-notices { margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
body.customer-workspace .buy-notices details { background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm); padding: 11px 14px; box-shadow: var(--au-shadow-xs); }
body.customer-workspace .buy-notices summary { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--au-ink); font-size: var(--au-fs-sm); }
body.customer-workspace .buy-notices p { margin: 8px 0 0; color: var(--au-muted); font-size: var(--au-fs-sm); line-height: 1.8; }
body.customer-workspace .buy-credit-tip { border-radius: var(--au-radius-sm); line-height: 1.75; }

/* ==========================================================================
   24. 云主机控制台：主题令牌桥补齐（不改 cloud-console.css 本体）
   ========================================================================== */
body.customer-workspace .cc-console {
  --cc-radius: var(--au-radius);
  --cc-radius-sm: var(--au-radius-sm);
  --cc-shadow: var(--au-shadow);
  --cc-bg: #ffffff;
}
body.customer-workspace .cc-console .cc-hero {
  background: #ffffff; border-color: var(--au-line); box-shadow: var(--au-shadow);
}
body.customer-workspace .cc-console .cc-conn-addr { background: #f8fafc; border-color: var(--au-line); }
body.customer-workspace .cc-console .cc-box-head { background: #fbfcfe; }
body.customer-workspace .cc-console .cc-kpi:hover { transform: none; box-shadow: var(--au-shadow-md); }
body.customer-workspace .cc-console .cc-tab { border-radius: var(--au-radius-sm); }
body.customer-workspace .cc-console .cc-tabs-wrap { border-color: var(--au-line); }
body.customer-workspace .cc-console .cc-pane-tools { border-color: var(--au-line-2); }
body.customer-workspace .cc-console .cc-state { background: #f8fafc; border-color: var(--au-line); }

/* ==========================================================================
   25. 登录 / 注册独立页：仅做一致性与窄屏微调（保留既有独立设计）
   ========================================================================== */
.login-page.lg-user .lg-user-card { border-radius: var(--au-radius-lg); box-shadow: 0 10px 34px rgba(16, 24, 40, .08); }
.login-page.lg-user .lg-submit { border-radius: var(--au-radius-sm); min-height: 44px; font-weight: 600; }
.login-page.lg-user .lg-field input { min-height: 42px; border-radius: var(--au-radius-sm); }
.login-page.lg-user .lg-field label { font-weight: 600; color: var(--au-ink); }
.login-page.lg-user .lg-error { border-radius: var(--au-radius-sm); }
.login-page.lg-user .lg-user-tabs a, .login-page.lg-user .lg-user-tabs span { border-radius: var(--au-radius-sm) var(--au-radius-sm) 0 0; }

/* ==========================================================================
   26. 响应式三档：≥1180 / ≤960 / ≤640
   ========================================================================== */
@media (max-width: 1180px) {
  .au-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .au-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .au-kpi { padding: 14px 15px; gap: 11px; }
  .au-kpi-num { font-size: 18px; }
  body.customer-workspace .purchase-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .au-bulk-row { grid-template-columns: minmax(0, 1fr) 136px 150px; }
  .au-bulk-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .au-kpis, .au-kpis.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-sum, .au-sum.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.customer-workspace .form-grid, body.customer-workspace .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  body.customer-workspace .purchase-layout { grid-template-columns: minmax(0, 1fr); }
  body.customer-workspace .quote-panel { position: static; }
  .au-invite-rules { grid-template-columns: minmax(0, 1fr); }
  .au-amt-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.customer-workspace .spec-head, body.customer-workspace .spec-row { grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr)); }
  body.customer-workspace .spec-head span:nth-child(n+4), body.customer-workspace .spec-row span:nth-child(n+4) { display: none; }
  .au-chat-item { gap: 10px; }
  .au-row { flex-wrap: wrap; }
  .au-row-meta { width: 100%; justify-content: flex-start; }
}

@media (max-width: 640px) {
  body.customer-workspace .card-head { padding: 13px 15px; }
  body.customer-workspace .card-body { padding: 15px; }
  body.customer-workspace .card-body.no-pad { padding: 0; }
  .au-kpis, .au-kpis.cols-3, .au-kpis.cols-2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .au-sum, .au-sum.cols-3, .au-sum.cols-2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .au-kpi { padding: 13px 14px; }
  .au-toolbar { padding: 11px 13px; }
  .au-toolbar-l, .au-toolbar-r { width: 100%; }
  .au-filter { width: 100%; }
  .au-filter select, .au-filter input { flex: 1 1 140px; min-width: 0; }
  body.customer-workspace .kb th { width: auto; padding-right: 10px; white-space: normal; }
  body.customer-workspace .kb td { padding-left: 10px; }
  .tb-wrap > table { min-width: 560px; }
  .au-empty { padding: 40px 16px 44px; }
  .au-bulk-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .au-bulk-amount { text-align: left; }
  .au-bulk-sum { grid-template-columns: minmax(0, 1fr); }
  .au-cart-sum { flex: 1 1 auto; min-width: 0; width: 100%; }
  .au-cart-coupon input { width: 100%; }
  body.customer-workspace .pay-method-grid { grid-template-columns: minmax(0, 1fr); }
  body.customer-workspace .choice-grid, body.customer-workspace .resource-grid { grid-template-columns: minmax(0, 1fr); }
  body.customer-workspace .spec-head, body.customer-workspace .spec-row { grid-template-columns: 1.2fr minmax(0, 1fr); }
  body.customer-workspace .spec-head span:nth-child(n+3), body.customer-workspace .spec-row span:nth-child(n+3) { display: none; }
  body.customer-workspace .quote-total > strong { font-size: 22px; }
  .au-invite-link input { flex: 1 1 100%; }
  .au-chat-item, .au-chat-item.is-me { flex-direction: column; }
  .au-chat-item.is-me .au-chat-bubble { align-self: stretch; }
  .modal.au-dlg .modal-box, .modal.au-dlg.is-wide .modal-box { width: 100%; max-width: 100%; }
  .modal:not(.au-rn):not(.au-ask) { padding: 12px; }
  body.customer-workspace .pager { padding: 12px 14px; }
  body.customer-workspace .pager > span:first-child { width: 100%; margin-right: 0; }
}

/* ==========================================================================
   24. 选购页：区域条 +「标签 + 选项」逐行配置（与侧边栏对齐，去掉居中留白）
   - 结构：purchase-hero（产品头）/ config-section + cfg-row（左标签 + 右选项）/ quote-panel（价格清单）
   ========================================================================== */
body.customer-workspace .purchase-page { display: block; max-width: none; margin: 0; }

/* 区域条（面包屑） */
body.customer-workspace .cfg-crumb { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--au-muted); font-size: 12px; }
body.customer-workspace .cfg-crumb a { color: var(--au-muted); }
body.customer-workspace .cfg-crumb a:hover { color: var(--au-primary); }
body.customer-workspace .cfg-crumb b { color: var(--au-primary); font-weight: 600; }
body.customer-workspace .cfg-crumb-sep { color: #cbd5e1; }

/* 配置行：左侧字段名 + 右侧选项 */
body.customer-workspace .cfg-row { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--au-line-2); }
body.customer-workspace .config-title + .cfg-row { border-top: 0; padding-top: 2px; }
body.customer-workspace .cfg-label { flex: 0 0 92px; padding-top: 7px; color: var(--au-ink); font-size: 13px; font-weight: 600; }
body.customer-workspace .cfg-body { flex: 1 1 auto; min-width: 0; }
body.customer-workspace .cfg-note { margin: 6px 0 0; color: var(--au-muted); font-size: 12px; line-height: 1.7; }
body.customer-workspace .cfg-inline-unit { color: var(--au-muted); font-size: 12px; }

/* 选项胶囊（数据中心 / 计算规格 / 时长 / 登录凭证…） */
body.customer-workspace .opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.customer-workspace .opt-chip {
  display: flex; flex-direction: column; gap: 2px; min-width: 132px; max-width: 100%; padding: 8px 12px; cursor: pointer;
  background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
body.customer-workspace .opt-chip:hover { border-color: #b9cdfb; }
body.customer-workspace .opt-chip:has(input:checked) { border-color: var(--au-primary); background: var(--au-primary-l); box-shadow: var(--au-ring); }
body.customer-workspace .opt-chip input { display: none; }
body.customer-workspace .opt-chip-name { color: var(--au-ink); font-size: 13px; font-weight: 600; }
body.customer-workspace .opt-chip:has(input:checked) .opt-chip-name { color: var(--au-primary); }
body.customer-workspace .opt-chip small { color: var(--au-muted); font-size: 11px; }

/* 滑块行：滑块 + 数值框 + 单位（磁盘 / 带宽 / 公网 IP） */
body.customer-workspace .opt-slider { display: flex; align-items: center; gap: 14px; }
body.customer-workspace .opt-slider input[type="range"] { flex: 1 1 auto; min-width: 0; accent-color: var(--au-primary); }
body.customer-workspace .opt-slider-val {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm); background: #fbfcfe;
}
body.customer-workspace .opt-slider-val input {
  width: 66px; border: 0; background: transparent; color: var(--au-ink);
  font: inherit; font-size: 13px; font-weight: 600; text-align: right; outline: none;
}
body.customer-workspace .opt-slider-val i { color: var(--au-muted); font-style: normal; font-size: 12px; }

/* 输入行（购买数量 / 别名 / 优惠券 / 自定义密码） */
body.customer-workspace .opt-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.customer-workspace .opt-inline input[type="number"],
body.customer-workspace .opt-inline input[type="text"],
body.customer-workspace .opt-inline input[type="password"] { width: auto; min-width: 140px; }

/* 操作系统：等宽卡片，只显示系统名（默认选中第一个系统），版本统一在下方下拉里选 */
body.customer-workspace .os-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
body.customer-workspace .os-pick-card {
  min-width: 0; padding: 9px 12px; cursor: pointer; text-align: center;
  background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
body.customer-workspace .os-pick-card:hover { border-color: #b9cdfb; }
body.customer-workspace .os-pick-card:focus-visible { outline: 2px solid var(--au-ring); outline-offset: 1px; }
body.customer-workspace .os-pick-card.active { border-color: var(--au-primary); background: var(--au-primary-l); box-shadow: var(--au-ring); }
body.customer-workspace .os-pick-name { display: block; color: var(--au-ink); font-size: 13px; font-weight: 600; }
body.customer-workspace .os-pick-card.active .os-pick-name { color: var(--au-primary); }
body.customer-workspace .os-pick-ver { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
body.customer-workspace .os-pick-ver-label { flex: 0 0 auto; color: var(--au-muted); font-size: 12px; }
body.customer-workspace .os-pick-version {
  flex: 0 1 auto; width: auto; min-width: 200px; max-width: 320px; height: 32px; padding: 0 8px;
  border: 1px solid var(--au-line); border-radius: var(--au-radius-sm);
  background: #fff; color: var(--au-text); font-size: 12px;
}
@media (max-width: 900px) {
  body.customer-workspace .cfg-row { flex-direction: column; gap: 8px; }
  body.customer-workspace .cfg-label { flex: none; padding-top: 0; }
}

/* ==========================================================================
   25. 选购页不展示分类树：内容自左对齐（与产品订购页同一左边缘），价格清单固定右侧
   ========================================================================== */
${css}
