:root {
  --front-canvas: #f4f6fa;
  --front-surface: #ffffff;
  --front-line: #e3e9f2;
  --front-sidebar: #172033;
  --front-sidebar-deep: #0f1728;
  --front-sidebar-active: #b93632;
  --front-accent: #2563eb;
  --front-accent-soft: #eef4ff;
  --front-success: #16a34a;
  --front-warning: #f59e0b;
  --front-danger: #dc2626;
  --front-text: #18263a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: var(--front-text); background: linear-gradient(135deg, #f9fbff 0%, var(--front-canvas) 100%); }
a { color: inherit; text-decoration: none; }
.front-shell { min-height: 100vh; }
.front-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 42px; background: rgba(255,253,251,.9); border-bottom: 1px solid var(--front-line); backdrop-filter: blur(16px); }
.front-brand { font-weight: 800; letter-spacing: .08em; color: var(--front-accent); }
.front-nav-links { display: flex; align-items: center; gap: 18px; color: #64748b; font-size: 14px; }
.front-main { width: min(1120px, calc(100% - 40px)); margin: 34px auto; }
.hero-card, .panel, .auth-card { background: rgba(255,253,251,.96); border: 1px solid var(--front-line); border-radius: 0; box-shadow: 0 18px 48px rgba(85, 64, 51, .07); }
.hero-card { padding: 36px; display: grid; gap: 18px; }
.hero-title { margin: 0; font-size: 34px; line-height: 1.2; color: #22324c; }
.hero-muted { margin: 0; color: #72839a; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.auth-card { width: min(440px, 100%); padding: 32px; }
.auth-card h1 { margin: 0 0 8px; color: #123a28; }
.auth-card h2 { margin: 0 0 8px; color: #24345d; font-size: 28px; }
.form-grid { display: grid; gap: 14px; margin-top: 22px; }
.field label { display: block; margin-bottom: 7px; color: #5c6f88; font-size: 14px; }
.input, .select, .textarea { width: 100%; border: 1px solid #d5dfec; border-radius: 14px; padding: 12px 14px; background: #fff; color: #24324a; outline: none; }
.input:focus, .select:focus, .textarea:focus { border-color: #3d7be0; box-shadow: 0 0 0 4px rgba(61,123,224,.12); }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 12px 18px; background: #2563eb; color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 3px 8px rgba(37, 99, 235, .16); }
.btn:hover { background: #1d4ed8; }
.btn.btn--save { background: var(--front-success); box-shadow: 0 3px 8px rgba(22, 163, 74, .16); }
.btn.btn--save:hover { background: #15803d; }
.btn--sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; font-weight: 600; }
.btn.secondary { border: 1px solid #cbd5e1; background: #fff; color: #475569; box-shadow: none; }
.btn.secondary:hover { border-color: #94a3b8; background: #f8fafc; color: #334155; }
.front-frame-body .layui-btn { border: 0; border-radius: 10px; background: #2563eb; box-shadow: 0 3px 8px rgba(37, 99, 235, .16); }
.front-frame-body .layui-btn:hover { background: #1d4ed8; }
.alert { padding: 12px 14px; border-radius: 14px; margin: 14px 0; }
.alert.error { color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; }
.alert.success { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.metric { padding: 22px; background: #fff; border: 1px solid #d8e1ee; border-radius: 20px; }
.metric strong { display: block; margin-top: 8px; font-size: 26px; color: #22324c; }
.panel { padding: 20px; margin: 0 0 14px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border-bottom: 1px solid #e9eef6; padding: 12px; text-align: left; font-size: 14px; }
.table th { color: #70839b; font-weight: 700; background: #f7faff; }
/* 我的稿件：投放记录、草稿箱、购物车统一表格文字和表头对齐。 */
.manuscript-list-table.table { color: #334155; }
.manuscript-list-table.table th { color: #334155; text-align: center; }
.table-wrap { overflow-x: auto; border: 1px solid #d8e1ee; border-radius: 16px; background: #fff; }
/* 资源列表按内容撑开，避免桌面端把短字段拆成多行；长值保留悬浮完整内容。 */
.resource-list-table { width: 100%; table-layout: auto; }
.resource-list-table th,
.resource-list-table td { padding: 9px 8px; font-size: 13px; line-height: 1.5; vertical-align: middle; }
.resource-list-table th,
.resource-list-table td { border-bottom-color: #dbe2ea; }
.resource-list-table th + th,
.resource-list-table td + td { border-left: 1px solid #dbe2ea; }
.resource-list-table th { color: #334155; white-space: nowrap; text-align: center; }
.resource-list-table td { color: #334155; white-space: nowrap; text-align: center; }
.resource-list-table tbody tr:nth-child(odd) { background: #fff; }
.resource-list-table tbody tr:nth-child(even) { background: #f2f5f8; }
.resource-list-table tbody tr:hover { background: #eef5ff; }
.resource-list-table .resource-list-table__name { min-width: 168px; max-width: 260px; text-align: left; }
.resource-list-table td.resource-list-table__name { color: #17283d; font-weight: 600; }
.resource-list-table .resource-list-table__remark { min-width: 200px; max-width: 360px; text-align: left; }
.resource-list-table td.resource-list-table__remark { white-space: normal; overflow-wrap: anywhere; }
.resource-list-table .resource-list-table__price { text-align: right; font-variant-numeric: tabular-nums; }
.resource-list-table td.resource-list-table__price { color: #a32927; font-weight: 600; }
.resource-list-table .td-resource-cart-state,
.resource-list-table .th-resource-cart-state { width: 1%; white-space: nowrap; }
.resource-name-line { display: flex; align-items: center; gap: 5px; }
.resource-name-line > :not(.resource-name-text) { flex-shrink: 0; }
.resource-list-table .resource-list-table__favorite { width: 54px; min-width: 54px; padding: 6px; text-align: center; }
.resource-list-table__favorite .resource-favorite-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; font-size: 26px; line-height: 1; border-radius: 5px; }
.resource-list-table__favorite .resource-favorite-toggle:hover { background: #fff7e6; color: #d97706; }
.resource-list-table__favorite .resource-favorite-toggle:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.resource-list-table__favorite .resource-favorite-toggle { color: #64748b; }
.resource-list-table__favorite .resource-favorite-toggle.is-active { color: #b45309; background: #fff0c2; }
.resource-name-line > img { width: 20px; height: 20px; object-fit: contain; }
.resource-name-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-name-text--with-icon { display: inline-flex; align-items: center; gap: 5px; }
.resource-name-text--with-icon .layui-icon { flex-shrink: 0; }
.resource-name-text--with-icon > .layui-icon { color: #144c96; font-size: 20px; font-weight: 700; }
.resource-list-badge,
.resource-translation { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.resource-list-badge { min-height: 22px; padding: 1px 6px; border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.resource-list-badge .layui-icon,
.resource-translation .layui-icon { font-size: 13px; line-height: 1; }
.resource-list-badge:is(.resource-list-badge--yellow, .resource-list-badge--blue, .resource-list-badge--red) {
  width: 24px;
  height: 24px;
  padding: 0;
  background-image: url("images/media-certification-sprite.png");
  background-repeat: no-repeat;
  background-size: 40px auto;
}
.resource-list-badge:is(.resource-list-badge--yellow, .resource-list-badge--blue, .resource-list-badge--red) > [aria-hidden="true"] { display: none; }
.resource-list-badge--yellow { background-position: 0 -107px; }
.resource-list-badge--blue { background-position: 0 -137px; }
.resource-list-badge--red { background-position: 0 -167px; }
.resource-list-badge--first { background: #b42318; color: #fff; }
.resource-list-badge--geo { background: #f0eaff; color: #5c3698; }
.resource-weight { display: inline-flex; height: 22px; border: 1px solid #2563eb; border-radius: 4px !important; overflow: hidden; vertical-align: middle; font-variant-numeric: tabular-nums; }
.resource-weight__icon { display: grid; place-items: center; width: 24px; background: #fff; }
.resource-weight__value { display: grid; place-items: center; min-width: 24px; padding: 0 4px; background: #2563eb; color: #fff; font-size: 13px; font-weight: 600; }
.resource-list-badge--available { background: #e6f5ee; color: #146747; }
.resource-list-badge--notice { background: #fff1e0; color: #8a4b14; }
.resource-translation .layui-icon { color: #64748b; }
/* 壳层：侧栏品牌 62px、顶栏 62px；iframe 高度 calc(100vh - 62px) */
.front-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: linear-gradient(90deg, var(--front-sidebar) 0, var(--front-sidebar) 248px, var(--front-canvas) 248px, var(--front-canvas) 100%);
}
.front-side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, var(--front-sidebar) 0%, var(--front-sidebar-deep) 100%);
  color: rgba(234, 239, 245, .88);
  box-shadow: 10px 0 30px rgba(9, 16, 26, .16);
}
.front-brand-block {
  height: 62px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(135deg, rgba(37, 99, 235, .30) 0%, rgba(37, 99, 235, 0) 62%), rgba(8, 14, 21, .12);
}
.front-brand-block strong {
  color: #f5f8ff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}
/* 前台侧栏菜单 */
.front-menu { flex: 1; overflow-y: auto; padding: 0 0 24px; }
.front-menu::-webkit-scrollbar { width: 0; }
.front-menu .menu-section { margin: 0; }
.front-menu .menu-title,
.front-menu .menu-link {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  border: 0;
  border-radius: 0;
  padding: 0 22px 0 44px;
  color: #f5f7fb;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.front-menu .menu-title span,
.front-menu .menu-link span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* 一级菜单：阿里巴巴 iconfont 图标（与 base.html 中 font_5169861 项目 class 一致） */
.front-menu > .menu-section > .menu-title,
.front-menu > .menu-section > .menu-link {
  gap: 8px;
  padding-left: 14px;
}
.front-menu > .menu-section > .menu-title .front-menu-icon,
.front-menu > .menu-section > .menu-link .front-menu-icon {
  width: 22px;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}
.front-menu .menu-title .menu-caret {
  margin-left: auto;
  color: rgba(162, 198, 255, .72);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  transition: transform .18s ease;
}
.front-menu .menu-section.is-active > .menu-link,
.front-menu .menu-section.is-active > .menu-title {
  background: var(--front-sidebar-active);
  color: #ffffff;
}
/* 展开时一级标题背景不变，仅箭头旋转 */
.front-menu .menu-section.is-open > .menu-title {
  background: transparent;
  color: #f5f7fb;
}
.front-menu .menu-section.is-open > .menu-title .menu-caret { transform: rotate(180deg); }
.front-menu .menu-children { display: none; gap: 0; padding: 0; }
.front-menu .menu-section.is-open > .menu-children { display: grid; }
.front-menu .menu-children .menu-section { margin: 0; }
.front-menu .menu-children .menu-link,
.front-menu .menu-children .menu-title {
  min-height: 40px;
  justify-content: flex-start;
  gap: 9px;
  padding-left: 40px;
  padding-right: 22px;
}
.front-menu .menu-children .menu-link::before,
.front-menu .menu-children .menu-title::before {
  content: "";
  flex: 0 0 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.front-menu .menu-children .menu-children .menu-link,
.front-menu .menu-children .menu-children .menu-title {
  padding-left: 60px;
  font-size: 15px;
}
.front-menu .menu-children .menu-section.is-active > .menu-link,
.front-menu .menu-children .menu-section.is-active > .menu-title {
  background: var(--front-sidebar-active);
  color: #ffffff;
}
.front-menu .menu-section > .menu-link:hover,
.front-menu .menu-section > .menu-title:hover,
.front-menu .menu-children .menu-section > .menu-link:hover,
.front-menu .menu-children .menu-section > .menu-title:hover {
  background: var(--front-sidebar-active);
  color: #ffffff;
}
.front-app-main { min-width: 0; display: flex; flex-direction: column; }
.front-top {
  height: 62px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  background: var(--front-sidebar);
}
.front-top-title {
  color: #f5f7fb;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.front-top-actions { justify-self: end; display: flex; align-items: center; gap: 10px; min-width: 0; }
.front-top-pill, .front-icon-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #eaf0f8;
  transition: border .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.front-top-pill { gap: 7px; border-radius: 999px; padding: 0 13px; font-size: 13px; white-space: nowrap; }
.front-icon-btn { width: 38px; border-radius: 10px; font-size: 16px; }
.front-top-pill:hover, .front-icon-btn:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transform: translateY(-1px);
}
/* 顶栏用户区：与后台 admin-user-menu 同结构、同交互（悬停展开、箭头旋转），作用域限定在广告主壳内 */
.front-app-shell .admin-user-menu { position: relative; padding: 10px 0; }
.front-app-shell .admin-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #eaf0f8;
  font-size: 13px;
  cursor: pointer;
}
.front-app-shell .admin-profile img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: none;
}
.front-app-shell .admin-profile i { color: #becce0; font-size: 12px; transition: transform .18s ease; }
.front-app-shell .admin-user-menu:hover .admin-profile i { transform: rotate(180deg); }
.front-app-shell .admin-user-popover {
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  z-index: 20;
  min-width: 138px;
  padding: 8px;
  border: 1px solid #e5ebf5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.front-app-shell .admin-user-menu:hover .admin-user-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.front-app-shell .admin-user-popover a {
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  color: #334155;
  font-size: 13px;
}
.front-app-shell .admin-user-popover a:hover { background: #eef5ff; color: #2f6feb; }
.front-frame-host {
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--front-canvas);
}
.front-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 62px);
  border: 0;
  background: var(--front-canvas);
}
.front-frame-body { min-height: 100vh; background: var(--front-canvas); }
.front-frame-content { padding: 16px 18px 24px; }
/* iframe 内广告主功能页：主内容区一律直角（覆盖 front / Layui 等子元素圆角） */
body.front-frame-body,
body.front-frame-body *,
body.front-frame-body *::before,
body.front-frame-body *::after {
  border-radius: 0 !important;
}
.front-app-shell.is-collapsed { grid-template-columns: 76px minmax(0, 1fr); }
.front-app-shell.is-collapsed .front-brand-block strong,
.front-app-shell.is-collapsed .front-menu .menu-title span,
.front-app-shell.is-collapsed .front-menu .menu-link span,
.front-app-shell.is-collapsed .front-menu .menu-caret {
  display: none;
}
.front-app-shell.is-collapsed .front-menu .menu-children { display: none !important; }
.front-app-shell.is-collapsed .front-brand-block,
.front-app-shell.is-collapsed .front-menu .menu-title,
.front-app-shell.is-collapsed .front-menu .menu-link {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}
.front-app-shell.is-collapsed {
  background: linear-gradient(90deg, var(--front-sidebar) 0, var(--front-sidebar) 76px, var(--front-canvas) 76px, var(--front-canvas) 100%);
}
.front-hero-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; margin-bottom: 18px; border: 1px solid var(--front-line); border-radius: 20px; background: linear-gradient(135deg, #ffffff 0%, #edf4ff 100%); box-shadow: 0 18px 46px rgba(24, 38, 58, .07); }
.front-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.front-metric { min-height: 124px; padding: 24px; border: 1px solid var(--front-line); border-radius: 20px; background: var(--front-surface); box-shadow: 0 16px 38px rgba(85, 64, 51, .06); }
.front-metric span { color: #7a8da3; font-size: 14px; }
.front-metric strong { display: block; margin-top: 12px; color: #22324c; font-size: 28px; line-height: 1.1; }
.front-page-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 26px 28px; border: 1px solid var(--front-line); border-radius: 16px; background: var(--front-surface); box-shadow: 0 16px 38px rgba(85, 64, 51, .06); }
.front-page-head h1 { margin: 0; color: #22324c; font-size: 24px; line-height: 1.25; }
.front-page-head p { margin: 8px 0 0; color: #7a8da3; font-size: 14px; line-height: 1.6; }
.front-toolbar { margin-top: 0; margin-bottom: 18px; padding-top: 18px; border-top: 0; }
.front-filter-grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(200px, .8fr) auto; gap: 14px; align-items: end; }
.front-filter-grid .layui-form-item { margin: 0; }
.front-filter-grid .layui-form-label { width: 72px; padding-left: 0; text-align: left; color: #5c6f88; }
.front-filter-grid .layui-input-block { margin-left: 78px; }
.front-filter-actions { display: flex; gap: 10px; }
.front-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.front-panel-head h2 { margin: 0; color: #22324c; font-size: 18px; }
.front-panel-head span { color: #7a8da3; font-size: 13px; }
.front-table.layui-table { margin: 0; color: #324760; }
.front-table .front-status-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: #edf4ff; color: #245fc0; font-size: 12px; }
.front-pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
}
/* ThinkPHP 分页（think-orm Bootstrap 驱动：ul.pagination / ul.pager） */
.pagination,
.pager {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination > li,
.pager > li {
  display: block;
  margin: 0;
}
.pagination > li > a,
.pagination > li > span,
.pager > li > a,
.pager > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #fff;
  color: #324760;
  font-size: 13px;
  line-height: 1;
  box-sizing: border-box;
}
.pagination > li > a:hover,
.pager > li > a:hover {
  border-color: #9dbcea;
  color: #245fc0;
}
.pagination > li.active > span,
.pager > li.active > span {
  border-color: #245fc0;
  background: #245fc0;
  color: #fff;
  font-weight: 600;
}
.pagination > li.disabled > span,
.pager > li.disabled > span {
  border-color: #e6edf7;
  background: #f6f9fe;
  color: #9aa8bc;
  cursor: default;
}
.front-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 18px; margin-top: 18px; }
.front-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.front-quick-grid a { min-height: 74px; display: grid; place-items: center; border: 1px solid #d8e2ef; border-radius: 12px; background: #f6f9fe; color: #245fc0; font-weight: 700; transition: border .18s ease, transform .18s ease; }
.front-quick-grid a:hover { border-color: #9dbcea; transform: translateY(-2px); }
.front-home-hero {
  align-items: stretch;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border-left: 3px solid #2b69c8;
  box-shadow: none;
}
.front-home-hero__main { min-width: 0; }
.front-home-hero__eyebrow {
  color: #2b69c8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.front-home-hero h1 {
  margin: 8px 0 0;
  color: #10213d;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
}
.front-home-hero p {
  margin: 8px 0 0;
  max-width: 720px;
  color: #52657e;
  font-size: 14px;
  line-height: 1.7;
}
.front-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.front-home-hero__side {
  display: flex;
  align-items: stretch;
  min-width: 260px;
}
.front-home-balance-card {
  width: 100%;
  padding: 14px 0 0 18px;
  border-left: 1px solid #d8e2ef;
  border-radius: 0;
  background: transparent;
}
.front-home-balance-card span {
  color: #7a8da3;
  font-size: 13px;
}
.front-home-balance-card strong {
  display: block;
  margin-top: 6px;
  color: #10213d;
  font-size: 22px;
  line-height: 1.2;
}
.front-home-balance-card p {
  margin: 8px 0 0;
  color: #61758f;
  font-size: 13px;
  line-height: 1.7;
}
.front-home-metric-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.front-home-metric {
  min-height: 98px;
  padding: 14px 16px 12px;
  border-radius: 14px;
  box-shadow: none;
}
.front-home-metric-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.front-home-metric-link:hover {
  border-color: #9dbcea;
  box-shadow: 0 12px 26px rgba(30, 57, 107, .08);
  transform: translateY(-2px);
}
.front-home-metric span { font-size: 13px; }
.front-home-metric strong { margin-top: 8px; font-size: 24px; }
.front-home-metric em {
  display: block;
  margin-top: 8px;
  color: #8a9ab0;
  font-style: normal;
  font-size: 12px;
  line-height: 1.55;
}
.front-home-dashboard-grid { margin-top: 14px; }
.front-home-dashboard-grid--bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.front-home-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.front-home-action-card {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 14px 15px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.front-home-action-card:hover {
  border-color: #b7cbe7;
  background: #f9fbfe;
  transform: translateY(-1px);
}
.front-home-action-card strong {
  color: #132543;
  font-size: 14px;
  font-weight: 800;
}
.front-home-action-card span {
  color: #6b8099;
  font-size: 12px;
  line-height: 1.6;
}
.front-home-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.front-home-quick-grid a {
  min-height: 56px;
  font-size: 13px;
  border-radius: 12px;
  background: #fff;
}
.front-home-list,
.front-home-message-list {
  display: grid;
  gap: 0;
}
.front-home-list__item,
.front-home-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #ebf0f6;
}
.front-home-list__item:last-child,
.front-home-message:last-child { border-bottom: 0; }
.front-home-list__main,
.front-home-list__side { min-width: 0; }
.front-home-list__main strong,
.front-home-message strong {
  display: block;
  color: #10213d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}
.front-home-list__main p {
  margin: 4px 0 0;
  color: #7a8da3;
  font-size: 12px;
  line-height: 1.55;
}
.front-home-list__side {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}
.front-home-list__side span {
  color: #245fc0;
  font-size: 12px;
  font-weight: 700;
}
.front-home-list__side em {
  color: #60758f;
  font-style: normal;
  font-size: 12px;
}
.front-home-message__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.front-home-message__meta span {
  color: #245fc0;
  font-size: 12px;
  font-weight: 700;
}
.front-home-message__meta em {
  color: #8a9ab0;
  font-style: normal;
  font-size: 12px;
}
.front-home-message b {
  color: #4f637c;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.front-home-empty {
  padding: 14px 0 6px;
  color: #8a9ab0;
  font-size: 13px;
  line-height: 1.7;
}
.front-home-notice-list {
  display: grid;
  gap: 0;
}
.front-home-notice {
  padding: 12px 0;
  border-bottom: 1px solid #ebf0f6;
}
.front-home-notice:last-child { border-bottom: 0; }
.front-home-notice__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.front-home-notice__head strong {
  color: #10213d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}
.front-home-notice__head em {
  color: #7a8da3;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}
.front-home-notice p {
  margin: 5px 0 0;
  color: #6b8099;
  font-size: 13px;
  line-height: 1.7;
}
.front-detail-list { display: grid; gap: 12px; margin: 0; }
.front-detail-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid #e6edf7; }
.front-detail-list div:last-child { border-bottom: 0; }
.front-detail-list dt { color: #7a8da3; }
.front-detail-list dd { margin: 0; color: #22324c; font-weight: 700; }
.link-button { padding: 0; border: 0; background: transparent; color: #245fc0; cursor: pointer; font: inherit; }
.link-button.danger { color: #b42318; }
.material-template-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.material-template-card {
  min-height: 90px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  border: 1px solid #d8e1ee;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #f4f8fd 100%);
  box-shadow: 0 14px 34px rgba(28, 52, 92, .06);
}
.material-template-card strong { color: #22324c; font-size: 16px; }
.material-template-card span { color: #7a8da3; font-size: 12px; }
.material-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}
.material-filter-actions { display: flex; gap: 10px; }
.material-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.material-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
/* 发布表单：整体紧凑 */
.material-editor { margin-top: 10px; }
.panel.material-editor { padding: 12px 14px; }
main.front-frame-content:has(.material-editor) { padding: 16px 20px 120px; }
/* 新闻媒体发布/编辑：字段名略放大，仅作用本表单 */
.material-editor-news .material-field-grid .field > label {
  font-size: 15px;
  font-weight: 600;
  color: #3a4d66;
}
/* 新闻媒体：压缩表单内外留白与字段间距 */
main.front-frame-content:has(.material-editor-news) {
  padding: 16px 20px 22px;
}
.panel.material-editor-news {
  padding: 12px 14px;
  margin-top: 10px;
}
.material-editor.material-editor-news {
  margin-top: 0;
}
.material-editor-news .material-field-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.material-editor-news .material-field-grid .field-wide {
  grid-column: 1;
}
.material-editor-news .field label {
  margin-bottom: 4px;
}
.material-editor-news .material-doc-recognize-block {
  margin: 10px 0 2px;
  padding-bottom: 10px;
}
.material-editor-news .material-doc-recognize__zone {
  padding: 12px 14px;
  gap: 10px;
}
.material-editor-news .material-doc-recognize__hint {
  line-height: 1.45;
}
.material-editor-news .material-hint--danger {
  margin: 0 0 8px;
  padding: 8px 10px;
}
.material-editor-news .material-notice-block {
  padding: 5px 0 5px 12px;
  line-height: 1.5;
}
.material-editor-news .resource-submit-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f8;
}
.material-editor-news .input,
.material-editor-news .textarea {
  padding: 10px 12px;
}
.material-editor-news input.input[type="datetime-local"] {
  width: auto;
  max-width: min(100%, 280px);
}
/* 自媒体发布/编辑：与新闻媒体发布页一致的密度与单列主表单 */
main.front-frame-content:has(.material-editor-self-media) {
  padding: 16px 20px 22px;
}
.panel.material-editor-self-media {
  padding: 12px 14px;
  margin-top: 10px;
}
.material-editor.material-editor-self-media {
  margin-top: 0;
}
.panel.material-draft-picker {
  padding: 12px 14px;
  margin-top: 0;
}
.material-publish-with-cart__form .material-draft-picker + form.panel.material-editor {
  margin-top: 12px;
}
.material-editor-self-media .material-field-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.material-editor-self-media .material-field-grid .field-wide {
  grid-column: 1;
}
.material-editor-self-media .material-field-grid .field > label {
  font-size: 15px;
  font-weight: 600;
  color: #3a4d66;
}
.material-editor-self-media .field label {
  margin-bottom: 4px;
}
.material-radio-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 16px;
  padding: 6px 0 8px;
  border-bottom: 1px solid #eef2f8;
}
.material-radio-row:last-of-type {
  border-bottom: 0;
  margin-bottom: 2px;
}
.material-radio-label {
  flex: 0 0 auto;
  min-width: 88px;
  padding-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #3a4d66;
}
.material-radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
label.radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #22324c;
  cursor: pointer;
  user-select: none;
}
.material-radio-row input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #245fc0;
  flex-shrink: 0;
}
.material-editor-self-media .material-notice-block {
  padding: 5px 0 5px 12px;
  line-height: 1.5;
}
.material-editor-self-media .resource-submit-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f8;
}
.material-editor-self-media .input,
.material-editor-self-media .textarea {
  padding: 10px 12px;
}
/* 发布页：左侧主表单 + 右侧已选购物车 */
.material-publish-type { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; padding: 14px 16px; border: 0; border-radius: 8px; background: #edf4ff; color: #64748b; }
.material-publish-type span { font-size: 13px; }
.material-publish-type strong { color: #1d4ed8; font-size: 18px; font-weight: 700; }
.material-editor [data-deadline-input]:disabled { color: #667085; background: #f2f4f7; cursor: not-allowed; }
.material-editor [data-clear-deadline][hidden] { display: none; }
.material-publish-type small { margin-left: auto; color: #9a887a; font-size: 12px; }
.material-publish-type--self_media,
.material-publish-type--short_video { border: 0; background: #edf4ff; }
.material-publish-type--self_media strong,
.material-publish-type--short_video strong { color: #1d4ed8; }

.material-publish-with-cart__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(300px, 32vw);
  gap: 16px;
  align-items: start;
}
.material-publish-with-cart__form {
  min-width: 0;
}
.material-publish-with-cart__form .material-draft-picker { border: 0; background: #fff; box-shadow: 0 3px 14px rgba(31, 51, 74, .06); }
.material-publish-with-cart__form .material-draft-picker .front-panel-head h2 { color: #263d58; }
.material-publish-with-cart__form .material-editor { border: 0; background: #fff; box-shadow: 0 3px 14px rgba(31, 51, 74, .06); }
.material-cart-aside-wrap {
  position: sticky;
  top: 16px;
  align-self: start;
}
.material-cart-aside {
  padding: 14px 16px;
  margin-top: 0;
  border: 1px solid #cbdcf5;
  border-top: 3px solid var(--front-accent);
  background: #fff;
  box-shadow: 0 5px 18px rgba(37, 99, 235, .10);
}
.material-cart-aside__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -14px -16px 12px;
  padding: 12px 16px;
  border-radius: 8px 8px 0 0;
  background: var(--front-accent-soft);
}
.material-cart-aside__head strong {
  font-size: 17px;
  color: #1e3a5f;
}
.material-cart-aside__count {
  padding: 3px 9px;
  background: var(--front-accent);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.material-cart-aside__empty {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #5c6f88;
}
.material-cart-aside__link {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}
.material-cart-aside__groups {
  display: grid;
  gap: 14px;
  max-height: min(60vh, 520px);
  overflow-y: auto;
}
.material-cart-aside__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1d4faa;
}
.material-cart-aside__sub {
  font-weight: 600;
  color: #22324c;
  font-size: 12px;
}
.material-cart-aside__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.material-cart-aside__item {
  padding: 12px;
  border: 1px solid #e1e8f2;
  background: #f8faff;
}
.material-cart-aside__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #22324c;
  margin-bottom: 10px;
  line-height: 1.6;
  word-break: break-word;
}
.material-cart-aside__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  color: #52647b;
}
.material-cart-aside__price-name { line-height: 1.5; overflow-wrap: anywhere; }
.material-cart-aside__price {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  margin-left: auto;
  color: #c2410c;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.material-cart-aside__price > span { font-size: 14px; font-weight: 600; }
.material-cart-aside__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e9eef6;
  font-size: 14px;
  font-weight: 600;
  color: #b42318;
}
.material-cart-aside__total strong {
  font-size: 18px;
  font-weight: 800;
  color: #b42318;
}
.material-cart-aside__note {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #8a9bb0;
}
.material-cart-aside__drafts {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e9eef6;
}
.material-cart-aside__drafts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.material-cart-aside__drafts-head strong {
  font-size: 14px;
  color: #3a4d66;
}
.material-cart-aside__drafts-hint {
  font-size: 11px;
  color: #8a9bb0;
  font-weight: 400;
}
.material-cart-aside__draft-err {
  margin: 0 0 8px;
  font-size: 12px;
  color: #b42318;
}
.material-cart-aside__draft-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.material-draft-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  color: #3a4d66;
  background: #f6f9fc;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.material-draft-pick:hover {
  background: #eef4fb;
  border-color: #c5d8ee;
}
.material-draft-pick:disabled {
  opacity: 0.55;
  cursor: wait;
}
.material-draft-pick__title {
  font-weight: 500;
  line-height: 1.35;
  word-break: break-word;
}
.material-draft-pick__time {
  font-size: 11px;
  color: #8a9bb0;
  font-weight: 400;
}
@media (max-width: 960px) {
  .material-publish-with-cart__grid {
    grid-template-columns: 1fr;
  }
  .material-cart-aside-wrap {
    position: static;
  }
}
.material-field-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.material-field-grid .field-wide { grid-column: 1; }
/* 发布表单：每个参数一行；label 与输入横向并排，更紧凑 */
.material-editor .material-field-grid .field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  min-height: 36px;
}
.material-editor .material-field-grid .field > label,
.material-editor .material-field-grid .field > .material-radio-label {
  flex: 0 0 96px;
  margin: 0;
  font-size: 14px;
  color: #3a4d66;
  line-height: 1.4;
}
.material-editor .material-field-grid .field > .input,
.material-editor .material-field-grid .field > .select,
.material-editor .material-field-grid .field > .textarea {
  flex: 1 1 auto;
  width: auto;
  padding: 7px 10px;
  border-radius: 10px;
}
.material-editor .material-field-grid .field input.input[type="datetime-local"] {
  flex: 0 0 auto;
  width: auto;
  max-width: min(100%, 240px);
}
.material-editor .material-field-grid .field-wide {
  display: block;
}
.material-editor .material-field-grid .field-wide > label,
.material-editor .material-field-grid .field-wide > .material-radio-label {
  display: block;
  flex: none;
  margin: 0 0 4px;
}
.material-editor .material-field-grid .field-wide > .input,
.material-editor .material-field-grid .field-wide > .select,
.material-editor .material-field-grid .field-wide > .textarea {
  width: 100%;
}
.material-editor .material-field-grid .field.material-radio-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 4px 0;
  border-bottom: 0;
}
.material-editor .material-field-grid .material-radio-row > .material-radio-label {
  flex: 0 0 96px;
}
.material-editor .material-field-grid .material-radio-options {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.material-required { color: #b42318; }
/* 新闻媒体：docx 识别 + wangEditor 容器（与 panel 边框一致） */
/* 新闻媒体表单内：文档识别不再套 panel，与外层 form.panel 单层卡片 */
.material-doc-recognize-block {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
.material-doc-recognize__zone {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 24px 20px;
  border: 2px dashed #93b4e8;
  border-radius: 8px;
  background: #f8fbff;
  text-align: center;
  transition: border-color .15s ease, background .15s ease;
}
.material-doc-recognize__zone:hover,
.material-doc-recognize__zone:focus-within,
.material-doc-recognize__zone.is-dragover {
  border-color: var(--front-accent);
  background: var(--front-accent-soft);
}
.material-doc-recognize__icon { display: block; color: var(--front-accent); }
.material-doc-recognize__hint { margin: 0; color: #60748d; font-size: 14px; line-height: 1.6; }
.material-doc-recognize__btn.btn.secondary {
  display: inline-flex;
  min-height: 44px;
  margin: 0;
  padding: 10px 24px;
  border: 1px dashed var(--front-accent);
  color: var(--front-accent);
  background: var(--front-surface);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.material-doc-recognize__btn.btn.secondary:hover,
.material-doc-recognize__btn.btn.secondary:focus-within {
  border-color: var(--front-accent);
  background: var(--front-accent-soft);
  color: var(--front-accent);
}
.material-doc-recognize__btn:focus-within {
  outline: 2px solid var(--front-accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .material-doc-recognize__zone { transition: none; }
}
.material-doc-recognize__file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}
.material-hint--danger {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}
.material-wang-wrap {
  display: grid;
  gap: 0;
  width: 100%;
  border: 1px solid #c5d0e2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 52, 92, 0.06);
}
.material-wang-wrap .w-e-toolbar,
.material-wang-wrap .w-e-text-container {
  border: none !important;
  border-radius: 0 !important;
}
.material-wang-wrap .w-e-toolbar {
  border-bottom: 1px solid #e9eef6 !important;
  background: #fafbfd !important;
}
.material-typeset-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  border-bottom: 1px solid #e9eef6;
  background: #fff;
}
.material-typeset-actions .btn { min-height: 30px; padding: 5px 10px; font-size: 12px; }
.material-typeset-tip { color: #7a8da3; font-size: 12px; line-height: 1.4; }
.material-wang-wrap .w-e-text-container {
  min-height: 300px;
}
.material-wang-wrap .w-e-text-placeholder { color: #8a9bb0; }
.material-publish-with-cart__form #publish-draft-picker[hidden] { display: none; }
.material-editor--compact .material-field-grid { gap: 10px; }
.material-editor--compact .material-field-grid .field,
.material-editor--compact .material-field-grid .field.material-radio-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  gap: 6px 12px;
}
.material-editor--compact .material-field-grid .field > .material-radio-label { margin: 0; padding-top: 8px; }
.material-editor--compact .material-field-grid .field > :not(.material-radio-label):not(.material-wang-html-store) { grid-column: 2; min-width: 0; }
.material-editor--compact .material-field-grid .field > .input,
.material-editor--compact .material-field-grid .field > .textarea { width: 100%; }
.material-editor--compact .material-doc-recognize-block { margin: 0; }
.material-editor--compact .material-doc-recognize-block > .material-hint--danger { grid-row: 2; margin: 0; }
.material-publish-import { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.material-publish-import .select { width: min(100%, 220px); }
.material-editor--compact .material-doc-recognize__zone {
  display: flex;
  flex: 1 1 340px;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  gap: 6px 12px;
  padding: 4px 10px;
  border-width: 1px;
  text-align: left;
}
.material-editor--compact .material-doc-recognize__btn.btn.secondary { min-width: 112px; min-height: 36px; padding: 4px 12px; border-style: solid; }
.material-editor--compact .material-doc-recognize__hint { font-size: 12px; }
.material-editor--compact .material-upload-trigger { justify-self: start; }
.material-editor-tools { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #e9eef6; background: #fafbfd; }
.material-editor-tools > :first-child { min-width: 0; }
.material-editor-tools .w-e-toolbar { border-bottom: 0 !important; }
.material-editor-tools .material-typeset-actions { min-height: 36px; padding: 3px 8px; border: 0; background: transparent; }
.material-editor--compact .material-wang-wrap .w-e-text-container { min-height: clamp(300px, 42vh, 480px); }
.material-publish-settings { padding-top: 4px; }
.material-publish-settings h2 { margin: 0; color: #334155; font-size: 14px; font-weight: 600; }
.material-publish-settings__fields { padding-top: 6px; }
.material-schedule-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.material-schedule-notes { flex: 1 1 280px; min-width: 0; }
.material-editor--compact .material-notice-block { margin: 0; font-size: 12px; }
.material-editor--compact .material-field-grid > .field:not(:has(> label)) > .material-notice-block { grid-column: 1 / -1; }
.material-editor--compact .resource-submit-row--fixed .btn--save { background: #fff; color: #245fc0; border-color: #b9cae4; }
.material-editor--compact .resource-submit-row--fixed .btn--save:hover { background: #edf4ff; }
.material-publish-with-cart__grid--compact .material-cart-aside { border-top-width: 1px; box-shadow: none; }
.material-publish-with-cart__grid--compact .material-cart-aside__head { background: #f5f8fc; }
.material-publish-with-cart__grid--compact .material-cart-aside__head strong { font-size: 14px; }
.material-publish-with-cart__grid--compact .material-cart-aside__item { padding: 7px 8px; }
.material-publish-with-cart__grid--compact .material-cart-aside__name { margin-bottom: 4px; }
.material-publish-with-cart__grid--compact .material-cart-aside__price { font-size: 15px; }
@media (max-width: 640px) {
  .material-editor--compact .material-field-grid .field,
  .material-editor--compact .material-field-grid .field.material-radio-row { grid-template-columns: minmax(0, 1fr); }
  .material-editor--compact .material-field-grid .field > :not(.material-radio-label):not(.material-wang-html-store) { grid-column: 1; }
}
.material-wang-html-store { display: none !important; }
.material-editor-news .material-title-hint {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #7a8da3;
}
.material-editor-news .material-title-hint.is-warn { color: #b35c1a; }
.material-editor-news .material-title-hint.is-full { color: #b42318; font-weight: 600; }
.material-editor .material-field-grid .field > .material-title-mode { flex: 1 1 auto; min-width: 0; }
.material-title-mode { display: grid; gap: 8px; width: 100%; }
.material-title-mode__single .input { width: 100%; }
.material-title-mode__tabs { display: inline-flex; width: fit-content; overflow: hidden; border: 1px solid #b9cae4; border-radius: 8px; }
.material-title-mode__tab { min-height: 30px; padding: 0 12px; border: 0; border-right: 1px solid #b9cae4; background: #fff; color: #54708f; cursor: pointer; font-size: 13px; }
.material-title-mode__tab:last-child { border-right: 0; }
.material-title-mode__tab.is-active { background: #2f67cb; color: #fff; font-weight: 600; }
.material-title-mode__hint { margin: 0; color: #7a8da3; font-size: 12px; }
.material-title-variants { display: grid; gap: 12px; }
.material-title-variant-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; }
.material-title-variant-row__resource { grid-column: 1 / -1; color: #40536c; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.material-title-variant-row .input { grid-column: 1; width: 100%; min-width: 0; }
.material-title-variant-row__count { align-self: center; color: #7a8da3; font-size: 12px; white-space: nowrap; }
.material-title-variant-row__count.is-warn { color: #b35c1a; }
.material-title-variant-row__count.is-full { color: #b42318; font-weight: 600; }
.material-notice-block {
  margin: 0;
  padding: 8px 0 8px 14px;
  border: 0;
  border-left: 3px solid #f5b4ba;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #b42318;
  background: transparent;
}
.material-cover-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border: 2px dashed #c9d5e3;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.material-cover-upload-box:hover {
  border-color: #4e8cf4;
  background: #eef4ff;
}
.material-cover-upload-box__plus {
  font-size: 40px;
  line-height: 1;
  color: #94a3b8;
  font-weight: 300;
}
.material-cover-upload-box__text {
  margin-top: 6px;
  font-size: 13px;
  color: #94a3b8;
}
.material-cover-preview {
  margin-top: 10px;
}
.material-cover-preview img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
}
.material-cover-preview .btn {
  margin-top: 6px;
}
.sv-upload-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.sv-upload-progress__bar {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}
.sv-upload-progress__fill {
  height: 100%;
  width: 0;
  background: #4e8cf4;
  border-radius: 3px;
  transition: width .2s;
}
.sv-upload-progress__text {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  min-width: 36px;
  text-align: right;
}
.js-cancel-upload {
  font-size: 12px;
  padding: 2px 10px;
  white-space: nowrap;
}
.material-cover-preview video {
  max-width: 320px;
  max-height: 240px;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
}
.material-attachment-head { margin-top: 18px; }
.material-attachment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.material-attachment-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #d8e1ee;
  border-radius: 14px;
  background: #f7faff;
}
.material-attachment-card strong { color: #22324c; }
.material-attachment-card span { color: #7a8da3; font-size: 12px; }
.material-image-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.material-image-group.is-empty::before {
  content: '暂未上传图片组';
  display: block;
  padding: 14px 16px;
  border: 1px dashed #d8e1ee;
  border-radius: 12px;
  color: #7a8da3;
  background: #fbfdff;
}
.material-image-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8e1ee;
  border-radius: 14px;
  background: #f7faff;
}
.material-image-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e4ebf5;
  background: #fff;
}
.material-image-card__meta {
  display: grid;
  gap: 8px;
}
.material-image-card__meta strong {
  color: #22324c;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
}
.material-image-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.material-image-card__actions .btn.secondary {
  min-height: 34px;
  padding: 0 12px;
}
/* 新闻媒体等：附件区扁平行，避免卡片叠在卡片里 */
.material-attachment-grid--flat {
  grid-template-columns: 1fr;
  gap: 14px;
}
.material-attachment-row {
  display: grid;
  gap: 8px;
}
.material-attachment-row__meta strong {
  display: block;
  margin-bottom: 2px;
  color: #22324c;
  font-size: 14px;
}
.material-attachment-row__meta span {
  display: block;
  color: #7a8da3;
  font-size: 12px;
}
.material-detail-list div { grid-template-columns: 100px minmax(0, 1fr); }
.material-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.material-preview-card {
  min-height: 120px;
  padding: 18px;
  border: 1px solid #d8e1ee;
  border-radius: 14px;
  background: #fff;
}
.material-preview-card > strong { display: block; margin-bottom: 10px; color: #22324c; }
.material-preview-value { color: #53687f; line-height: 1.8; word-break: break-word; }
.material-attachment-stack { display: grid; gap: 16px; }
.material-group-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #d8e1ee;
  border-radius: 16px;
  background: #fff;
}
.material-group-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.material-group-panel > header strong { color: #22324c; }
.material-group-panel > header span { color: #7a8da3; font-size: 12px; }
.material-upload-inline {
  display: flex;
  gap: 12px;
  align-items: center;
}
.material-upload-inline .input { max-width: 360px; }
.front-status-tag--warn { background: #fff4e5 !important; color: #b54708 !important; }
.recharge-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); gap: 24px; align-items: start; }
.recharge-main-card { display: grid; gap: 4px; }
.recharge-form { gap: 20px; }
.recharge-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.recharge-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8e1ee;
  border-radius: 10px;
  background: #f8fbff;
  color: #24324a;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.recharge-method-card:hover {
  border-color: #b8cbe6;
  background: #f3f7fd;
}
.recharge-method-card.is-active {
  border-color: #3d7be0;
  background: #eef4ff;
}
.recharge-method-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.recharge-method-card__badge--alipay { background: linear-gradient(135deg, #1d9bf0 0%, #1677ff 100%); }
.recharge-method-card__badge--wechat { background: linear-gradient(135deg, #34c759 0%, #16a34a 100%); }
.recharge-method-card__text { display: grid; gap: 4px; min-width: 0; }
.recharge-method-card__text strong { color: #22324c; font-size: 15px; }
.recharge-method-card__text small { color: #7a8da3; font-size: 12px; line-height: 1.4; }
.recharge-amount-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.recharge-amount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d8e1ee;
  border-radius: 10px;
  background: #fff;
  color: #2f415b;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.recharge-amount-chip:hover {
  border-color: #b8cbe6;
  color: #245fc0;
  background: #f7faff;
}
.recharge-amount-chip.is-active {
  border-color: #3d7be0;
  color: #245fc0;
  background: #eef4ff;
}
.recharge-custom-input { position: relative; margin-top: 12px; }
.recharge-custom-input .input { padding-right: 56px; }
.recharge-custom-input__unit {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #5c6f88;
  font-weight: 700;
  pointer-events: none;
}
.recharge-submit-row { display: grid; gap: 10px; }
.recharge-submit-btn { min-height: 44px; font-size: 15px; }
.recharge-submit-tip { margin: 0; color: #7a8da3; font-size: 13px; line-height: 1.7; }
.recharge-tip-card {
  display: grid;
  gap: 18px;
  padding: 6px 0 0 24px;
  border-left: 1px solid #d8e1ee;
  background: transparent;
  box-shadow: none;
}
.recharge-tip-card__section { display: grid; gap: 10px; }
.recharge-tip-card__section + .recharge-tip-card__section {
  padding-top: 18px;
  border-top: 1px dashed #d9e4f2;
}
.recharge-tip-card strong { color: #22324c; font-size: 17px; }
.recharge-tip-card p { margin: 0; color: #627792; line-height: 1.85; }
.recharge-tip-card p span { color: #22324c; font-weight: 700; }
.checkout-notes { display: grid; gap: 12px; margin-top: 14px; }
.resource-tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: -1px; position: relative; z-index: 2; }
.resource-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border: 1px solid #d8e1ee; border-right: 0; border-bottom: 0; border-radius: 0; background: #eef4fb; color: #1a2a3a; font-size: 16px; font-weight: 800; transition: background .16s ease, color .16s ease; }
.resource-tabs .resource-tab:last-child { border-right: 1px solid #d8e1ee; }
.resource-tab.is-active { position: relative; color: #245fc0; background: rgba(255,255,255,.96); }
.resource-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(255,255,255,.94); }
.resource-guide {
  margin-top: 0;
  margin-bottom: 10px;
}
.resource-guide--flow {
  padding: 10px 10px 8px;
  border: 1px solid #d8e2f0;
  background: linear-gradient(180deg, #f9fbfe 0%, #f3f7fc 100%);
  box-shadow: 0 8px 18px rgba(26, 52, 96, .05);
}
.resource-guide-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.resource-guide-flow-item {
  min-width: 0;
  flex: 1 1 0;
  text-align: center;
}
.resource-guide-node {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
}
.resource-guide-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #244da8 0%, #183a88 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.14), 0 8px 16px rgba(24, 58, 136, .16);
}
.resource-guide-number {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.resource-guide-flow-item strong {
  display: block;
  color: #22324c;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}
.resource-guide-flow-item p {
  margin: 4px auto 0;
  max-width: 160px;
  color: #7f8ea3;
  font-size: 11px;
  line-height: 1.45;
}
.resource-guide-flow-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  color: #295fc7;
  font-size: 11px;
  font-weight: 700;
}
.resource-guide-flow-item a::after {
  content: "›";
  margin-left: 4px;
  font-size: 14px;
  line-height: 1;
}
.resource-guide-flow-item.is-current a {
  color: #5e728d;
}
.resource-guide-arrow {
  position: relative;
  flex: 0 0 44px;
  height: 110px;
}
.resource-guide-arrow::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 10px;
  top: 24px;
  height: 2px;
  background: #d6dfeb;
}
.resource-guide-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 19px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #7ca6df;
}
.resource-filter-grid { display: grid; gap: 6px; }
.resource-filter-extra { display: grid; gap: 6px; }
.resource-filter-extra[hidden] { display: none; }
.resource-filter-extra .resource-filter-row:last-child { padding-bottom: 6px; border-bottom: 1px solid #e9eef6; }
.resource-filter-more {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #175da5;
  font-size: 13px;
  cursor: pointer;
}
.resource-filter-more:hover { background: #edf4ff; }
.resource-filter-more:focus-visible { outline: 2px solid #175da5; }
.resource-filter-more .layui-icon { font-size: 12px; }
.resource-filter-more[aria-expanded="true"] .layui-icon { transform: rotate(180deg); }
.resource-filter-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: start; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid #e9eef6; }
.resource-filter-row.resource-filter-row--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
}
/* 媒体名称、备注与筛选/重置同一行，控件紧凑 */
.resource-filter-row.resource-filter-row--keyword-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e9eef6;
}
.resource-filter-row--keyword-bar .resource-filter-inline-group--keyword {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  flex: 0 1 auto;
  min-width: 0;
}
.resource-filter-row--keyword-bar .resource-filter-inline-group--keyword .resource-filter-inline-label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  line-height: 1.2;
}
.resource-filter-row--keyword-bar .resource-filter-inline-group--keyword .input {
  width: 112px;
  max-width: min(112px, 26vw);
  min-width: 70px;
  padding: 4px 7px;
  font-size: 13px;
  min-height: 32px;
  line-height: 1.2;
}
.resource-filter-row--keyword-bar .input { border-color: #94a3b8; color: #18263a; }
.resource-filter-row--keyword-bar .input::placeholder { color: #64748b; opacity: 1; }
.resource-filter-row--keyword-bar .resource-keyword-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.resource-filter-row--keyword-bar .resource-keyword-actions .btn {
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
}
.resource-filter-inline-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 140px;
}
.resource-filter-inline-group .input {
  width: 100%;
  max-width: none;
}
.resource-filter-inline-group--price {
  flex: 1 1 240px;
}
.resource-filter-inline-group--price .resource-price-custom-inputs {
  flex-wrap: wrap;
}
.resource-filter-inline-label {
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.resource-filter-row:last-child { border-bottom: 0; padding-bottom: 0; }
.resource-filter-label { padding-top: 4px; color: #334155; font-size: 13px; font-weight: 600; }
.resource-filter-value { min-width: 0; }
.resource-filter-value .select,
.resource-filter-value .input { max-width: 280px; }
.resource-filter-options { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.resource-filter-options--with-custom {
  align-items: center;
}
.resource-filter-option { display: inline-flex; align-items: center; min-height: 26px; padding: 0 7px; border: 0; border-radius: 4px; background: transparent; color: #175da5; font-size: 13px; line-height: 1.4; }
.resource-filter-option:not(.is-active):is(:hover, :focus-visible) { background: #cfe2ff; color: #123e77; }
.resource-filter-option.is-active { border-color: transparent; background: #245fc0; color: #fff; }
.resource-range-custom {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.resource-range-custom--compact .input {
  width: 64px;
  min-width: 64px;
  padding: 6px 8px;
}
.resource-range-custom--inline {
  margin-top: 0;
  margin-left: 4px;
  flex-wrap: nowrap;
}
.resource-range-unit {
  color: #7a8da3;
  font-size: 12px;
  line-height: 1;
}
.resource-range-submit {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px !important;
  font-size: 12px;
}
.resource-submit-row {
  margin-top: 2px;
}
.resource-submit-row .btn {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
}
/* 排序：子元素箭头带固定 color，选中时与 .resource-filter-option.is-active 一致 */
.resource-filter-sort .resource-filter-option.is-active .resource-sort-arrows,
.resource-filter-sort .resource-filter-option.is-active .resource-sort-arrow-single,
.resource-filter-sort .resource-filter-option.is-active .resource-sort-arrow-dual {
  color: #fff;
  opacity: 1;
}
.resource-checkboxes { display: flex; flex-wrap: wrap; gap: 4px 6px; min-height: 26px; align-items: center; }
.resource-checkboxes label { display: inline-flex; align-items: center; gap: 4px; color: #5d728d; font-size: 12px; }
.resource-price-custom-inputs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.resource-price-custom-inputs .input { width: auto; min-width: 86px; max-width: 120px; }
.resource-price-sep { color: #94a3b8; font-size: 13px; }
.resource-submit-row { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.resource-submit-row--fixed {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 40;
  margin-top: 0;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  justify-content: center;
}
.resource-submit-row--fixed .btn { min-height: 36px; padding: 0 20px; font-size: 13px; }
.front-frame-content--with-submitbar { padding-bottom: 120px; }
@media (max-width: 768px) {
  .resource-submit-row--fixed { left: 12px; right: 12px; bottom: 10px; padding: 8px 12px; }
  .front-frame-content--with-submitbar { padding-bottom: 100px; }
}
.resource-filter-sort .resource-filter-sort-toggle { display: inline-flex; align-items: center; gap: 4px; }
.resource-sort-arrows {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  line-height: 1;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
}
.resource-sort-arrows--dual {
  flex-direction: row;
  gap: 2px;
  color: #94a3b8;
}
.resource-sort-arrow-dual { opacity: 0.55; }
.resource-sort-arrows--single { margin-left: 4px; }
.resource-sort-arrow-single { color: #245fc0; opacity: 1; }
.resource-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.resource-card { display: grid; gap: 16px; margin-top: 0; }
.resource-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.resource-card-head h2 { margin: 0; color: #22324c; font-size: 20px; }
.resource-card-meta { display: grid; gap: 10px; margin: 0; }
.resource-card-meta div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
.resource-card-meta dt { color: #7a8da3; }
.resource-card-meta dd { margin: 0; color: #22324c; font-weight: 700; }
.resource-card-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; align-items: center; }
.resource-list-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; vertical-align: middle; }
.table .resource-list-actions { min-width: 200px; }
.resource-list-actions-muted { color: #8a9bb0; font-size: 13px; }
.th-resource-cart-state { width: 108px; text-align: center; color: #245fc0; vertical-align: middle; }
.th-resource-cart-state .iconfont { font-size: 18px; vertical-align: middle; }
.td-resource-cart-state { text-align: center; vertical-align: middle; white-space: nowrap; }
.resource-cart-flag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; line-height: 1.25; }
.resource-cart-flag .iconfont { font-size: 15px; line-height: 1; }
.resource-cart-flag-text { white-space: nowrap; }
.resource-cart-flag--in { color: #047857; background: #d1fae5; border: 1px solid #6ee7b7; }
.resource-cart-flag--out { color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0; }
.resource-cart-flag--action { color: #1d4ed8; background: #e0ecff; border: 1px solid #93c5fd; cursor: pointer; }
.resource-cart-flag--action:hover { background: #dbeafe; }
.resource-cart-flag--disabled { color: #94a3b8; background: #f8fafc; border: 1px solid #e2e8f0; }
.resource-cart-flag-wrap button.resource-cart-flag { appearance: none; }
.resource-favorite-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px 14px; margin:0 0 12px; background:#fff; border-radius:10px; }
.resource-favorite-action { border:0; border-radius:6px; padding:6px 10px; background:#f0fdf4; color:#15803d; cursor:pointer; }
.resource-favorite-action[data-action="rename"] { background:#f1f5f9; color:#475569; }
.resource-favorite-delete { background:#fff1f2; color:#dc2626; }
.resource-favorite-filter { display:flex; align-items:center; gap:4px; margin:0 4px; font-size:13px; cursor:pointer; }
.resource-favorite-bar strong { color:#334155; font-size:14px; }
.resource-favorite-folder-group { position: relative; }
.resource-favorite-folder { position: relative; min-width: 76px; border: 1px solid transparent; background: #f1f2f4; color: #334155; padding: 5px 10px; cursor: pointer; }
.resource-favorite-folder.is-active { border-color: #95baf2; background: #eef5ff; color: #164785; padding-left: 21px; }
.resource-favorite-folder-check { position: absolute; top: -1px; left: -1px; width: 19px; height: 19px; padding-left: 2px; text-align: left; background: #2563eb; color: #fff; font: 700 10px/12px system-ui, sans-serif; clip-path: polygon(0 0, 100% 0, 0 100%); }
.resource-favorite-folder-actions { display: flex; position: absolute; top: 100%; left: 0; z-index: 5; gap: 4px; padding: 4px; border: 1px solid #dbe2ea; background: #fff; box-shadow: 0 2px 6px rgba(31, 51, 74, .12); visibility: hidden; }
.resource-favorite-folder-actions .resource-favorite-action { padding: 4px 7px; white-space: nowrap; }
.resource-favorite-folder-group:hover .resource-favorite-folder-actions,
.resource-favorite-folder-group:focus-within .resource-favorite-folder-actions { visibility: visible; }
@media (hover: none) {
  .resource-favorite-folder-actions { position: static; visibility: visible; box-shadow: none; }
}
.resource-favorite-toggle { border:0; background:transparent; color:#cbd5e1; cursor:pointer; padding:0 5px 0 0; font-size:17px; vertical-align:middle; }
.resource-favorite-toggle.is-active { color:#f59e0b; }
.verify-badge { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 50%; color: #fff; font: italic 800 13px/1 Arial, sans-serif; box-shadow: none; vertical-align: middle; }
.verify-badge--blue { background: #4aa6f3; }
.verify-badge--red { background: #ed5b56; }
.verify-badge--yellow { background: #f2ad35; }
.verify-badge--none { display: inline-flex; width: auto; height: 22px; padding: 0 8px; border: 0; border-radius: 4px; background: #f1f5f9; color: #64748b; font: 600 12px/22px "Microsoft YaHei", sans-serif; box-shadow: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.resource-cart-card-flag { flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.resource-cart-price-list {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.resource-cart-price-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.resource-cart-price-item__label {
  min-width: 56px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-align: right;
}
.resource-cart-price-item__action {
  display: inline-flex;
}
.resource-cart-price-item .resource-cart-flag {
  padding: 3px 9px;
}
.td-resource-cart-state .resource-cart-flag {
  justify-content: center;
  box-sizing: border-box;
  min-width: 62px;
  min-height: 28px;
  gap: 3px;
  padding: 0 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
}
.td-resource-cart-state .resource-cart-flag--action { color: #175da5; }
.td-resource-cart-state .resource-cart-flag--action:hover { background: #e6effc; }
.td-resource-cart-state .resource-cart-flag--action:focus-visible { outline: 2px solid #175da5; outline-offset: 1px; }
.td-resource-cart-state .resource-cart-flag--in { color: #147452; }
.td-resource-cart-state .resource-cart-flag--disabled { color: #64748b; }
.resource-cart-flag__symbol { font-size: 14px; line-height: 1; }
.resource-price-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.resource-price-cell__value {
  font-weight: 600;
  color: #22324c;
}
.resource-price-cell__action {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}
.btn.btn-icon { padding: 8px 11px; min-width: 40px; }
.btn.btn-icon .iconfont { font-size: 17px; line-height: 1; vertical-align: middle; }
.resource-detail-actions, .resource-placeholder-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.resource-detail-link { color: #22324c; font-weight: 700; text-decoration: none; }
.resource-detail-link:hover { color: #22324c; text-decoration: underline; }
.front-frame-content--with-cartbar { padding-bottom: 124px; }
.resource-bottom-cart {
  position: fixed;
  inset: auto 20px 16px;
  z-index: 40;
  border: 2px solid #245a98;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.15);
}
.resource-bottom-cart__main { padding: 4px 12px; }
.resource-bottom-cart__names {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-height: 44px;
  overflow: auto;
}
.resource-bottom-cart__name,
.resource-bottom-cart__empty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 36px;
  padding: 0 6px 0 10px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
}
.resource-bottom-cart__name { background: #b93632; color: #fff; }
.resource-bottom-cart__name strong,
.resource-bottom-cart__price { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-bottom-cart__price { color: #fff0ee; font-size: 12px; }
.resource-bottom-cart__amount { font-weight: 700; white-space: nowrap; }
.resource-bottom-cart__empty { color: #475569; }
.resource-bottom-cart__remove {
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  width: 32px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
}
.resource-bottom-cart__remove:hover { background: #8c2725; }
.resource-bottom-cart__aside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: #245a98;
}
.resource-bottom-cart__meta { display: flex; flex-wrap: wrap; gap: 0 14px; color: #fff; font-size: 14px; }
.resource-bottom-cart__meta span { white-space: nowrap; }
.resource-bottom-cart__meta strong { color: #ffe66a; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.btn.resource-bottom-cart__next { min-width: 108px; min-height: 44px; flex-shrink: 0; background: #c54c0d; border-color: #c54c0d; color: #fff; }
.btn.resource-bottom-cart__next:hover { background: #a9400a; border-color: #a9400a; }
.resource-bottom-cart__next:focus-visible, .resource-bottom-cart__remove:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.resource-bottom-cart__next.is-disabled,
.resource-bottom-cart__next.is-disabled:hover { background: #e2e8f0; border-color: #e2e8f0; color: #475569; cursor: not-allowed; }
.auth-landing-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef2f9 100%);
}
.auth-hero-shell {
  min-height: 100vh;
}
.auth-banner {
  position: relative;
  overflow: hidden;
  background: #dfe9ff;
}
.auth-banner .hero-swiper {
  position: relative;
  aspect-ratio: 1920 / 650;
}
.auth-panel-wrap {
  position: absolute;
  top: 50%;
  right: 6%;
  z-index: 10;
  transform: translateY(-50%);
  width: min(400px, calc(100% - 40px));
}
.auth-login-card {
  width: 100%;
  padding: 34px 30px 30px;
  border: 1px solid rgba(126, 154, 232, .24);
  background: rgba(255,255,255,.88);
  box-shadow: 0 28px 80px rgba(36, 66, 216, .14);
  backdrop-filter: blur(18px);
}
.auth-card-head {
  margin-bottom: 6px;
}
.auth-login-card .hero-muted {
  color: #6d7da3;
}
.auth-login-card .input {
  border-color: #dbe4ff;
  background: rgba(248, 251, 255, .92);
}
.auth-login-card .input:focus {
  border-color: #3e6bff;
  box-shadow: 0 0 0 4px rgba(62, 107, 255, .12);
}
.auth-login-card .btn {
  background: linear-gradient(135deg, #2442d8 0%, #3f72ff 100%);
  box-shadow: 0 16px 30px rgba(36, 66, 216, .18);
}
.auth-login-card .btn.secondary {
  background: #eef3ff;
  color: #2442d8;
}
@media (max-width: 760px) {
  .front-nav { padding: 16px 20px; align-items: flex-start; gap: 12px; flex-direction: column; }
  .grid-3 { grid-template-columns: 1fr; }
  .front-app-shell { grid-template-columns: 1fr; }
  .front-app-shell.is-collapsed { grid-template-columns: 1fr; }
  .front-side { position: static; height: auto; }
  .front-menu { display: flex; overflow-x: auto; padding: 8px; gap: 4px; align-items: stretch; }
  .front-menu .menu-section { flex-shrink: 0; display: flex; flex-direction: column; }
  .front-menu .menu-title,
  .front-menu .menu-link { min-width: max-content; }
  .front-menu .menu-children { min-width: 100%; }
  .front-top { grid-template-columns: minmax(0, 1fr); height: auto; padding: 14px 18px; }
  .front-top-actions { grid-column: 1 / -1; justify-self: start; flex-wrap: wrap; }
  .front-app-shell .admin-user-menu { justify-self: start; }
  .front-frame { height: 72vh; min-height: 640px; }
  .front-frame-content { padding: 16px; }
  .front-frame-content--with-cartbar { padding-bottom: 152px; }
  .front-hero-card { align-items: flex-start; flex-direction: column; }
  .front-home-hero h1 { font-size: 24px; }
  .front-home-hero__side { min-width: 0; width: 100%; }
  .material-template-grid,
  .material-field-grid,
  .material-attachment-grid,
  .material-preview-grid,
  .material-filter-grid { grid-template-columns: 1fr; }
  .material-upload-inline { flex-direction: column; align-items: stretch; }
  .recharge-grid { grid-template-columns: 1fr; }
  .recharge-method-grid,
  .recharge-amount-grid { grid-template-columns: 1fr; }
  .recharge-tip-card {
    padding: 4px 0 0;
    border-left: 0;
    border-top: 1px solid #d8e1ee;
  }
  .front-metric-grid,
  .front-home-metric-grid { grid-template-columns: 1fr; }
  .front-page-head { align-items: flex-start; flex-direction: column; padding: 20px; }
  .front-filter-grid, .front-dashboard-grid, .front-quick-grid, .resource-card-grid,
  .front-home-dashboard-grid, .front-home-action-grid, .front-home-quick-grid { grid-template-columns: 1fr; }
  .front-home-list__item,
  .front-home-message { align-items: flex-start; flex-direction: column; }
  .front-home-list__side { justify-items: start; text-align: left; }
  .front-home-notice__head { align-items: flex-start; flex-direction: column; }
  .publish-record-filter-grid { grid-template-columns: 1fr; }
  .publish-record-filter-actions { justify-content: flex-start; }
  .publish-record-tabs { gap: 8px 12px; border-bottom: 0; }
  .publish-record-tab {
    min-height: 36px;
    padding: 0 12px;
    margin-bottom: 0;
    border-bottom-width: 1px;
  }
  .resource-guide-flow {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 8px;
  }
  .resource-guide-flow-item {
    flex: 0 1 calc(50% - 16px);
  }
  .resource-guide-arrow {
    display: none;
  }
  .resource-bottom-cart { inset: auto 12px 12px; }
  .btn.resource-bottom-cart__next { min-width: 82px; padding-inline: 12px; }
  .resource-filter-row { grid-template-columns: 1fr; gap: 8px; }
  .resource-filter-row.resource-filter-row--inline {
    flex-direction: column;
    align-items: stretch;
  }
  .resource-filter-row.resource-filter-row--keyword-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .resource-filter-row--keyword-bar .resource-filter-inline-group--keyword {
    width: 100%;
  }
  .resource-filter-row--keyword-bar .resource-filter-inline-group--keyword .input {
    flex: 1 1 auto;
    width: 0;
    max-width: none;
    min-width: 0;
  }
  .resource-filter-row--keyword-bar .resource-keyword-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .resource-filter-inline-group,
  .resource-filter-inline-group--price {
    flex: 1 1 100%;
  }
  .resource-filter-label { padding-top: 0; }
  .front-filter-grid .layui-form-label { width: auto; float: none; }
  .front-filter-grid .layui-input-block { margin-left: 0; }
  .auth-banner { min-height: auto; }
  .auth-panel-wrap {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: calc(100% - 36px);
    margin: -60px auto 28px;
    z-index: 5;
  }
  .auth-login-card { padding: 26px 20px 22px; }
}

.landing-body {
  color: #24345d;
  background: #f7f9fc;
  overflow-x: hidden;
}
.landing-body h1,
.landing-body h2,
.landing-body h3,
.landing-body h4,
.landing-body p {
  margin: 0;
}
.landing-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  background: rgba(246, 249, 255, .78);
  border-bottom: 1px solid rgba(135, 154, 218, .18);
  backdrop-filter: blur(18px);
}
.site-nav {
  width: min(1200px, calc(100% - 40px));
  height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 20px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  color: #2442d8;
  font-weight: 800;
}
.site-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  color: #30406f;
}
.site-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color .18s ease;
}
.site-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: #5a6cff;
  transform: translateX(-50%);
  transition: width .18s ease;
}
.site-links a:hover,
.site-links .is-active {
  color: #1c35cf;
  font-weight: 700;
}
.site-links a:hover::after,
.site-links .is-active::after {
  width: 18px;
}
.site-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: #1d2b55;
  white-space: nowrap;
}
.site-login {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #376cff, #2450d6);
  box-shadow: 0 10px 22px rgba(45, 82, 196, .18);
}
.hero-swiper {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 650;
  background: #dfe9ff;
}
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
}
.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide-link,
.hero-slide-image {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide-link {
  color: inherit;
}
.hero-slide-a {
  background: linear-gradient(135deg, #123ca8 0%, #3467f0 52%, #57b6ff 100%);
}
.hero-slide-a .hero-slide-image {
  background-image: url("/static/front/images/home-banner-01.png");
}
.hero-slide-b {
  background: linear-gradient(135deg, #0c4f84 0%, #1579ad 45%, #24b8bd 100%);
}
#home > .hero-swiper {
  height: max(460px, calc(100vw * 650 / 1920));
  min-height: 0;
}
#home > .hero-swiper .hero-slide-a,
#home > .hero-swiper .hero-slide-b {
  background-position: center;
  background-size: cover;
}
#home > .hero-swiper .hero-slide-a {
  background-image: linear-gradient(90deg, #f9faff 0%, rgba(249, 250, 255, .9) 40%, rgba(249, 250, 255, .18)), url("/static/front/images/banner-office.webp");
}
#home > .hero-swiper .hero-slide-b {
  background-image: linear-gradient(90deg, #f5f2ff 0%, rgba(245, 242, 255, .94) 48%, rgba(245, 242, 255, .24)), url("/static/front/images/banner-team.webp");
}
.hero-banner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
  padding-block: 24px 88px;
  gap: 12px;
  color: #182344;
}
.hero-banner-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(28px, 4.3vw, 72px);
  line-height: 1.12;
}
.hero-banner-copy h2 strong {
  margin-inline-end: .15em;
  color: #d82b26;
}
.hero-slide-b .hero-banner-copy h2 {
  color: #30209a;
}
.hero-banner-copy p {
  margin: 0;
  font-size: clamp(15px, 1.45vw, 23px);
}
.hero-banner-list,
.hero-banner-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-banner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hero-banner-list li {
  padding: 4px 12px;
  border-radius: 20px;
  background: #e3eaff;
  color: #253881;
}
.hero-banner-benefits li + li {
  margin-top: 3px;
}
.hero-banner-cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 6px;
  background: #ca2924;
  color: #fff;
}
.hero-slide-c {
  background: linear-gradient(135deg, #21398f 0%, #5a57da 50%, #78b3ff 100%);
}
.hero-slide-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-swiper-ui {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hero-swiper-pagination {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  opacity: 1;
  transition: width .24s ease, background-color .24s ease;
}
.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: #fff;
}
.hero-swiper-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-swiper-prev,
.hero-swiper-next {
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  box-shadow: 0 14px 28px rgba(11, 31, 87, .18);
  cursor: pointer;
}
.hero-swiper-prev::before,
.hero-swiper-next::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.hero-swiper-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}
.hero-swiper-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}
.primary-cta,
.ghost-cta,
.board-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  font-size: 14px;
}
.primary-cta,
.board-cta {
  color: #fff;
  background: linear-gradient(135deg, #497dff 0%, #2653d6 100%);
  box-shadow: 0 14px 28px rgba(52, 91, 204, .24);
}
.ghost-cta {
  color: #3b55d8;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(91, 115, 227, .20);
}
.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 44px rgba(42, 65, 142, .10);
}
.trust-item {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
}
.trust-item + .trust-item {
  border-left: 1px solid #edf1ff;
}
.trust-item strong {
  color: #253669;
  font-size: 15px;
  line-height: 1.5;
}
.trust-item p {
  color: #8a96b8;
  font-size: 12px;
  line-height: 1.5;
}
.landing-section {
  padding: 82px 0 48px;
  background: #f8faff;
}
.section-heading {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 38px;
  text-align: center;
}
.section-heading h2 {
  color: #263a72;
  font-size: 28px;
  line-height: 1.3;
}
.section-heading p {
  margin-top: 10px;
  color: #a2a9bd;
  font-size: 13px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 18px;
}
.why-lead-card,
.why-card {
  min-height: 160px;
  border-radius: 12px;
  overflow: hidden;
}
.why-lead-card {
  position: relative;
  background:
    linear-gradient(rgba(18,24,53,.18), rgba(18,24,53,.82)),
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.66), transparent 9%),
    linear-gradient(135deg, #43506c 0%, #1d2542 50%, #52617f 100%);
  color: #fff;
}
.lead-overlay {
  position: absolute;
  inset: auto 18px 18px;
}
.lead-overlay span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 12px;
}
.lead-overlay strong {
  display: block;
  font-size: 17px;
  line-height: 1.5;
}
.lead-overlay p {
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.6;
}
.why-card {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid #edf1ff;
  box-shadow: 0 12px 30px rgba(48, 73, 146, .05);
}
.why-card h3 {
  margin-top: 18px;
  color: #293b70;
  font-size: 16px;
}
.why-card p {
  margin-top: 11px;
  color: #8791ad;
  font-size: 13px;
  line-height: 1.7;
}
.pain-section {
  padding: 72px 0 70px;
  background: #fff;
}
.pain-board {
  position: relative;
  min-height: 360px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 75%, rgba(63, 94, 190, .30), transparent 24%),
    linear-gradient(180deg, #111a3d 0%, #091026 100%);
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(17, 24, 73, .14);
}
.pain-board::before,
.pain-board::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 51%;
  border: 1px dashed rgba(125, 117, 255, .34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.pain-board::before { width: 300px; height: 300px; }
.pain-board::after { width: 190px; height: 190px; }
.pain-bubble {
  position: absolute;
  z-index: 2;
  max-width: 250px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 9px;
  color: #bfc8ff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(147, 126, 255, .28);
  font-size: 13px;
}
.bubble-a {
  left: 120px;
  top: 72px;
  color: #fff;
  border-color: #5874d8;
  box-shadow: 0 0 0 1px rgba(88,116,216,.22);
}
.bubble-b { right: 250px; top: 58px; }
.bubble-c { left: 130px; bottom: 94px; }
.bubble-d { right: 90px; bottom: 112px; }
.bubble-e { left: 236px; top: 178px; }
.operator-figure {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 170px;
  height: 230px;
  transform: translateX(-50%);
}
.figure-head {
  position: absolute;
  left: 55px;
  top: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2d5c7, #c59f91);
  box-shadow: inset -10px -8px 0 rgba(35, 24, 40, .22);
}
.figure-body {
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 134px;
  height: 155px;
  border-radius: 70px 70px 34px 34px;
  background: linear-gradient(135deg, #566070, #25293a);
}
.board-cta {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  min-width: 150px;
  transform: translateX(-50%);
}
.media-showcase {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(0, .72fr));
  gap: 14px;
  min-height: 258px;
}
.media-feature,
.media-panel {
  border-radius: 14px;
  overflow: hidden;
}
.media-feature {
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(70, 113, 232, .94), rgba(47, 83, 192, .96)),
    linear-gradient(135deg, #3767ff, #2d55be);
}
.media-feature h3 {
  margin-top: 18px;
  font-size: 21px;
}
.media-feature p {
  margin-top: 18px;
  max-width: 350px;
  color: rgba(255,255,255,.80);
  font-size: 14px;
  line-height: 1.8;
}
.media-feature a {
  min-height: 38px;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #4d55d9;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}
.media-panel {
  position: relative;
  min-height: 258px;
  background: linear-gradient(180deg, rgba(13,18,54,.24), rgba(10,12,36,.88)), linear-gradient(135deg, #5d6687, #161b3d);
}
.media-panel::before {
  content: "";
  position: absolute;
  inset: 26px 18px 82px;
  border-radius: 80px 80px 18px 18px;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.54), transparent 16%), rgba(255,255,255,.09);
}
.media-panel span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  text-align: center;
  color: #fff;
  font-weight: 800;
}
.media-panel-a { background-color: #26305d; }
.media-panel-b { background-color: #111735; }
.media-panel-c { background-color: #252a54; }
.media-panel-d { background-color: #1f2240; }
.case-section {
  padding: 76px 0 88px;
  background: linear-gradient(135deg, #e5efff 0%, #eaf1ff 52%, #d6e2ff 100%);
  overflow: hidden;
}
.case-card {
  position: relative;
  min-height: 340px;
  display: grid;
  grid-template-columns: 205px 1fr 270px;
  gap: 34px;
  align-items: center;
  padding: 44px 58px 44px 0;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 60px rgba(80, 91, 170, .11);
}
.case-tabs {
  display: grid;
  gap: 14px;
}
.case-tabs span,
.case-tabs strong {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding-left: 40px;
  border-radius: 0 12px 12px 0;
  color: #40507c;
}
.case-tabs strong {
  min-height: 92px;
  color: #fff;
  background: linear-gradient(135deg, #4f7dff, #2855d8);
  box-shadow: 0 16px 36px rgba(73, 105, 214, .22);
}
.case-copy {
  min-width: 0;
}
.case-label {
  color: #667bff;
  font-size: 13px;
  font-weight: 800;
}
.case-copy h3 {
  max-width: 520px;
  margin-top: 14px;
  color: #243a74;
  font-size: 28px;
  line-height: 1.45;
}
.case-copy p {
  max-width: 560px;
  margin-top: 22px;
  color: #657196;
  font-size: 14px;
  line-height: 1.9;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, auto 1fr);
  gap: 4px 10px;
  align-items: end;
  margin-top: 30px;
}
.case-stats strong {
  color: #315fe2;
  font-size: 32px;
  line-height: 1;
}
.case-stats span {
  color: #7d88a8;
  font-size: 12px;
}
.phone-mock {
  width: 186px;
  height: 310px;
  justify-self: center;
  padding: 14px;
  border-radius: 32px;
  background: #151927;
  box-shadow: 0 22px 46px rgba(17, 24, 73, .25);
}
.phone-screen {
  height: 100%;
  display: grid;
  gap: 12px;
  align-content: end;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 52% 25%, rgba(88, 152, 255, .78), transparent 8%),
    radial-gradient(circle at 44% 47%, rgba(63, 112, 218, .72), transparent 10%),
    linear-gradient(180deg, #111521, #05070d);
}
.phone-screen span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
}
.phone-screen span:nth-child(1) { width: 42%; }
.phone-screen span:nth-child(2) { width: 74%; }
.phone-screen span:nth-child(3) { width: 58%; }
.phone-screen span:nth-child(4) { width: 86%; }
.partners-section {
  background: #f8faff;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 24px;
}
.partner-grid span {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #222a48;
  background: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(53, 67, 132, .06);
}
/* 公告动态 */
.notice-section { background: #fff; }
.notice-list {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.notice-card {
  padding: 20px 24px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  transition: box-shadow .2s;
}
.notice-card:hover { box-shadow: 0 6px 20px rgba(28,52,92,.08); }
.notice-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #8a96a8;
}
.notice-pin {
  padding: 1px 6px;
  background: #e8f0fe;
  color: #2563eb;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.notice-title {
  margin: 0 0 6px;
  font-size: 15px;
  color: #1e293b;
}
.notice-summary {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* 产品动态 */
.product-section { background: linear-gradient(180deg, #f5f8fc 0%, #fff 100%); }
.product-grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.landing-footer {
  background: #101015;
  color: rgba(255,255,255,.78);
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 38px 0 46px;
}
.footer-main h4 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 15px;
}
.footer-main a,
.footer-main p {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.54);
  font-size: 13px;
}
.footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.38);
  font-size: 12px;
}
@media (max-width: 1080px) {
  .site-nav {
    grid-template-columns: auto 1fr;
  }
  .site-links {
    justify-content: flex-end;
    gap: 18px;
  }
  .site-actions {
    display: none;
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-lead-card {
    grid-column: 1 / -1;
  }
  .media-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .media-feature {
    grid-column: 1 / -1;
  }
  .case-card {
    grid-template-columns: 170px 1fr;
    padding-right: 34px;
  }
  .phone-mock {
    display: none;
  }
}
@media (max-width: 820px) {
  .landing-container,
  .site-nav,
  .section-heading {
    width: min(100% - 28px, 680px);
  }
  .site-nav {
    height: auto;
    min-height: 64px;
    padding: 12px 0;
  }
  .site-links {
    display: none;
  }

  .hero-swiper {
    aspect-ratio: auto;
    min-height: 540px;
  }
  .hero-swiper-ui {
    width: min(100% - 28px, 680px);
    bottom: 22px;
  }
  .trust-strip,
  .partner-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .trust-item + .trust-item {
    border-left: 0;
    border-top: 1px solid #edf1ff;
  }
  .why-grid,
  .media-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bubble-a { left: 18px; top: 52px; }
  .bubble-b { right: 18px; top: 108px; }
  .bubble-c { left: 18px; bottom: 92px; }
  .bubble-d { right: 18px; bottom: 54px; }
  .bubble-e { left: 50%; top: 178px; transform: translateX(-50%); }
  .case-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .case-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .case-tabs span,
  .case-tabs strong {
    min-height: 52px;
    border-radius: 10px;
    padding: 0 10px;
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }
  .case-copy h3 {
    font-size: 23px;
  }
  .case-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .case-stats span {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .resource-guide {
    padding: 12px;
  }
  .resource-guide-flow-item {
    flex-basis: 100%;
  }
  .resource-guide-node {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
  }
  .resource-guide-number {
    font-size: 24px;
  }

  .hero-swiper {
    min-height: 460px;
  }
  .hero-swiper-ui {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .primary-cta,
  .ghost-cta,
  .board-cta {
    width: 100%;
  }
  .why-grid,
  .media-showcase,
  .case-tabs {
    grid-template-columns: 1fr;
  }
  .media-panel {
    min-height: 150px;
  }
  .media-panel::before {
    inset: 18px 24px 58px;
    border-radius: 18px;
  }
  .pain-board {
    min-height: 470px;
  }
  .pain-bubble {
    max-width: calc(100% - 36px);
  }
  .bubble-a,
  .bubble-b,
  .bubble-c,
  .bubble-d,
  .bubble-e {
    left: 18px;
    right: 18px;
    transform: none;
  }
  .bubble-a { top: 36px; }
  .bubble-b { top: 84px; }
  .bubble-e { top: 132px; }
  .bubble-c { bottom: 92px; }
  .bubble-d { bottom: 44px; }
  .operator-figure {
    bottom: 118px;
    transform: translateX(-50%) scale(.82);
  }
  .board-cta {
    width: calc(100% - 80px);
  }
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.detail-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.detail-grid span {
  color: #667085;
  font-size: 12px;
}
.detail-grid strong {
  color: #101828;
  font-size: 14px;
}
.checkout-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 55%, #eef2f7 100%);
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
.checkout-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px 14px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.35;
}
.checkout-summary__row--due {
  margin-top: 2px;
}
.checkout-summary__label {
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.checkout-summary__value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.checkout-summary__value--muted {
  color: #334155;
}
.checkout-summary__value--due {
  color: #b91c1c;
  font-size: 16px;
}
.checkout-summary__hint {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  width: 100%;
  text-align: right;
}
.checkout-summary__hint--warn {
  border-top-color: #fecaca;
}
.checkout-summary__status {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  padding: 4px 10px;
  border-radius: 6px;
}
.checkout-summary__status--warn {
  color: #b91c1c;
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(220, 38, 38, .22);
}
.danger-text,
.link-button.danger {
  color: #b42318;
}
.compact-input {
  width: 220px;
}
.material-actions--wrap {
  flex-wrap: wrap;
  align-items: flex-start;
}
.material-list-actions .btn.small {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 28px;
}
.material-list-actions form { display: flex; }

.publish-record-panel { padding: 14px 14px 16px; }
.publish-record-type-tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 16px; border-bottom: 1px solid #e2e8f0; padding-bottom: 16px; }
.publish-record-type-tab { padding: 8px 20px; border: 1px solid #d5dbe3; margin-right: -1px; background: #f1f2f4; color: #334155; font-size: 14px; line-height: 1.5; }
.publish-record-type-tab:hover { background: #e8effc; color: #1d4ed8; }
.publish-record-type-tab.is-active { position: relative; border-color: #ff8850; background: #ff8850; color: #fff; }
.publish-record-type-tab:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.publish-record-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  margin-bottom: 14px;
  border-bottom: 2px solid #d8e1ee;
  padding-bottom: 0;
  background: #f5f7fb;
  scrollbar-width: thin;
}
.publish-record-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 20px;
  margin-bottom: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.publish-record-tab:hover {
  color: #245fc0;
  background: #e8effc;
}
.publish-record-tab.is-active {
  color: #1d4ed8;
  border-bottom-color: #2563eb;
  background: #e8efff;
}
.publish-record-tab:focus-visible { outline: 2px solid #2563eb; outline-offset: -3px; }
.publish-record-tab-label { display: inline-block; }
body.front-frame-body .publish-record-tab em {
  position: static;
  margin-left: 0;
  padding: 0;
  border-radius: 0 !important;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}
body.front-frame-body .publish-record-tab.is-active em {
  background: transparent;
  color: inherit;
}
.publish-record-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  background: transparent;
}
.publish-record-filter-grid .field { display: flex; align-items: center; gap: 6px; width: auto; min-width: 0; }
.publish-record-filter-grid .field label { display: none; }
.publish-record-filter-grid .input,
.publish-record-filter-grid .select {
  width: 120px;
  min-height: 32px;
  height: 32px;
  padding: 5px 9px;
  border: 1px solid #b8bec8;
  border-radius: 3px;
  font-size: 13px;
}
.publish-record-filter-grid [data-record-date] { width: 146px; cursor: pointer; }
.publish-record-filter-grid .input::placeholder { color: #64748b; opacity: 1; }
.publish-record-filter-grid .publish-record-date-range { gap: 6px; }
.publish-record-date-range > span { color: #475569; font-size: 13px; }
.publish-record-filter-grid .field-wide .input { width: 260px; }
.publish-record-filter-actions {
  align-self: end;
  gap: 8px;
}
.publish-record-filter-actions .btn {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 3px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .publish-record-filter-grid .field { flex: 1 1 200px; width: auto; }
  .publish-record-filter-grid .field .input,
  .publish-record-filter-grid .field .select { flex: 1; width: 0; min-width: 0; }
  .publish-record-filter-grid .field-wide { flex-basis: 100%; }
}
.publish-record-panel .table-wrap { border-radius: 12px; }
.publish-record-panel .table th,
.publish-record-panel .table td {
  padding: 10px 10px;
  font-size: 13px;
  line-height: 1.45;
  vertical-align: top;
}
.publish-record-panel .table th { font-size: 13px; }
.publish-record-panel .table td { text-align: center; }
.publish-record-panel .pr-meta { margin-left: auto; margin-right: auto; }
.publish-record-panel .publish-record-ops-forms { justify-content: center; }
.publish-record-panel .pr-meta:not(.pr-meta--danger),
.publish-record-panel .pr-empty { color: #475569; }
/* 投放记录列表：操作区（原详情页表单并入列表） */
.publish-record-ops-th { min-width: 280px; }
.publish-record-ops-cell {
  max-width: min(560px, 92vw);
  vertical-align: top;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.publish-record-ops-forms { margin-top: 4px; }
.publish-record-ops-forms .btn.small {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 28px;
}
/* 投放记录列表：状态列下方的 meta（链接/原因） */
.pr-meta {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.5;
  word-break: break-word;
  max-width: 220px;
}
.pr-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf4ff;
  color: #1d4faa;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.pr-meta a:hover {
  background: #dbeafe;
  color: #173f91;
}
.pr-meta a::after {
  content: "↗";
  margin-left: 5px;
  font-size: 12px;
  line-height: 1;
}
.pr-meta--danger { color: #b42318; }
.publish-record-panel .front-pager { padding-top: 10px; }
.pr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 0 14px;
  color: #64748b;
}
.pr-empty p { margin: 0; }
/* 状态 tag 分色 */
.front-status-tag--success { background: #ecfdf3 !important; color: #027948 !important; }
.front-status-tag--info { background: #edf4ff !important; color: #245fc0 !important; }
.front-status-tag--warn { background: #fff4e5 !important; color: #b54708 !important; }
.front-status-tag--danger { background: #fef3f2 !important; color: #b42318 !important; }
.front-status-tag--muted { background: #f1f5f9 !important; color: #64748b !important; }
/* 按钮辅助分色 */
.btn.btn--warn { background: var(--front-warning); color: #fff; box-shadow: 0 3px 8px rgba(245, 158, 11, .16); }
.btn.btn--warn:hover { background: #d97706; }
.btn.btn--danger { background: var(--front-danger); color: #fff; box-shadow: 0 3px 8px rgba(220, 38, 38, .16); }
.btn.btn--danger:hover { background: #b91c1c; }
.btn.btn--ghost { background: transparent; color: #64748b; border: 1px solid #d5dfec; }
.btn.btn--ghost:hover { background: #f8fafc; color: #334155; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
/* 用户投放明细 */
.user-order-detail { background: #f4f6fa; }
.user-order-detail .pr-detail-body { display: grid; gap: 16px; padding: 20px; background: transparent; }
.user-order-detail .user-order-card { min-width: 0; padding: 22px 24px; border: 1px solid #e4e9f1; border-radius: 10px; background: #fff; }
.user-order-detail .pr-detail-hero { align-items: center; }
.user-order-detail .pr-detail-tags { padding: 0; border: 0; }
.user-order-detail .front-status-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 5px; font-size: 12px; }
.user-order-detail .pr-detail-hero__title { margin: 12px 0; font-size: 22px; font-weight: 700; }
.user-order-detail .pr-detail-preview { padding: 0; border: 0; background: transparent; color: #2563eb; font: inherit; cursor: pointer; }
.user-order-detail .pr-detail-preview:hover { text-decoration: underline; }
.user-order-detail .pr-detail-hero__side { gap: 6px; padding-left: 24px; border-left: 1px solid #e8edf5; }
.user-order-detail .pr-detail-cost-label { color: #7a8699; font-size: 12px; }
.user-order-detail .pr-detail-cost { color: #18263a; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.user-order-detail .pr-detail-cost small { margin-right: 3px; font-size: 17px; }
.user-order-detail .pr-detail-publication { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: #f0f6ff; border-color: #cbdcf7; }
.user-order-detail .pr-detail-publication > div { min-width: 0; flex: 1 1 300px; }
.user-order-detail .pr-detail-publication h2, .user-order-detail .user-order-section-title { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #18263a; }
.user-order-detail .pr-detail-publication h2 { margin-bottom: 8px; }
.user-order-detail .pr-detail-publication .btn { border-radius: 6px; padding: 10px 16px; box-shadow: none; font-size: 13px; }
.user-order-detail .pr-detail-inline-link { overflow-wrap: anywhere; line-height: 1.7; }
.user-order-detail .pr-detail-summary { margin: 0; padding: 0; border: 0; gap: 20px 28px; }
.user-order-detail .pr-detail-summary dt { color: #7a8699; font-weight: 400; }
.user-order-detail .pr-detail-summary dd { font-size: 13px; }
.user-order-detail .pr-detail-order-number { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid #edf0f5; }
.user-order-detail .pr-detail-tabs { margin: 0 0 20px; gap: 22px; }
.user-order-detail .pr-detail-tab { font: inherit; padding-bottom: 14px; }
.user-order-detail .pr-timeline { margin: 0; padding-top: 0; }
.user-order-detail .pr-timeline-remark { overflow-wrap: anywhere; }
.user-order-detail .pr-detail-actions:empty { display: none; }
.user-order-detail .pr-detail-actions { margin: 0; padding: 0; border: 0; }
.user-order-detail .pr-detail-notice { padding: 16px 20px; border: 1px solid #fed7ca; border-radius: 8px; background: #fff7f3; }
.user-order-detail .pr-detail-notice p { margin: 8px 0 0; }
.user-order-detail button:focus-visible, .user-order-detail a:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
@media (max-width: 540px) {
  .user-order-detail .pr-detail-body { padding: 12px; gap: 12px; }
  .user-order-detail .user-order-card { padding: 18px 16px; }
  .user-order-detail .pr-detail-hero { flex-direction: column; align-items: stretch; }
  .user-order-detail .pr-detail-hero__side { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 0; border-left: 0; border-top: 1px solid #e8edf5; }
  .user-order-detail .pr-detail-tabs { gap: 8px 16px; }
}
/* 投放明细详情弹窗内样式 */
.pr-detail-body { padding: 18px 20px 24px; color: #334155; font-size: 13px; background: #fff; }
.pr-detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8eef5;
}
.pr-detail-hero__main { min-width: 0; }
.pr-detail-hero__eyebrow {
  color: #245fc0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.pr-detail-hero__title {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 800;
  word-break: break-word;
}
.pr-detail-hero__subtitle {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
}
.pr-detail-hero__subtitle strong { color: #0f172a; font-weight: 800; }
.pr-detail-hero__side {
  display: grid;
  gap: 10px;
  justify-items: end;
  flex: 0 0 auto;
}
.pr-detail-hero__no {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.pr-detail-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: #1d4faa;
  font-size: 12px;
  font-weight: 700;
}
.pr-detail-link-btn:hover { background: #dbeafe; color: #173f91; }
.pr-republish-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f67cb;
  font: inherit;
  cursor: pointer;
}
.pr-republish-link:hover { color: #1d4faa; text-decoration: underline; }
.pr-detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  padding: 16px 0 14px;
  border-bottom: 1px solid #e8eef5;
}
.pr-detail-summary dt { color: #94a3b8; font-size: 12px; margin: 0 0 5px; font-weight: 700; }
.pr-detail-summary dd { margin: 0; color: #0f172a; font-size: 14px; font-weight: 500; line-height: 1.75; word-break: break-word; }
.pr-detail-inline-link { color: #1d4faa; text-decoration: underline; }
.pr-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 12px; border-bottom: 1px solid #e8eef5; }
.pr-detail-tabs { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 14px; border-bottom: 1px solid #e8eef5; }
.pr-detail-tab {
  padding: 0 0 10px;
  cursor: pointer;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
}
.pr-detail-tab.is-active { color: #1d4faa; border-bottom-color: #1d4faa; }
.pr-detail-pane { display: none; min-height: 80px; }
.pr-detail-pane.is-active { display: block; }
.pr-detail-empty { color: #94a3b8; padding: 16px 0; text-align: center; }
.pr-timeline { list-style: none; margin: 0; padding: 0; }
.pr-timeline li {
  position: relative;
  padding: 0 0 18px 20px;
  border-left: 1px solid #dbe5f0;
}
.pr-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f67cb;
  border: 2px solid #fff;
}
.pr-timeline li:last-child { border-left-color: transparent; }
.pr-timeline-time { color: #94a3b8; font-size: 12px; }
.pr-timeline-title { font-weight: 700; color: #0f172a; margin-top: 3px; font-size: 14px; }
.pr-timeline-remark { margin-top: 5px; color: #475569; line-height: 1.75; }
.pr-card-list { display: flex; flex-direction: column; gap: 14px; }
.pr-card {
  padding: 0 0 14px;
  border-bottom: 1px solid #edf2f7;
  background: transparent;
}
.pr-card:last-child { border-bottom: 0; padding-bottom: 0; }
.pr-card__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pr-card__title { font-weight: 700; color: #0f172a; font-size: 14px; }
.pr-card__meta { color: #94a3b8; font-size: 12px; }
.pr-card__body { color: #475569; line-height: 1.75; }
.pr-card__reply { margin-top: 8px; padding-left: 12px; border-left: 2px solid #cfe0fb; color: #334155; line-height: 1.75; }
.pr-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e8eef5; }
.material-actions--wrap form {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 900px) {
  .pr-detail-hero { flex-direction: column; }
  .pr-detail-hero__side { justify-items: start; }
  .pr-detail-summary { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .material-actions--wrap form,
  .checkout-summary {
    align-items: stretch;
  }
  .checkout-summary__row {
    justify-content: space-between;
    width: 100%;
  }
  .checkout-summary__hint {
    text-align: left;
  }
  .compact-input {
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .notice-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}
