@import "./css/material-kit-pro.min.css";

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html,
body {
  border: none !important;
  line-height: 1;
  background: #fff;
  touch-action: manipulation;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none !important;
  font-family: inherit !important;
}
a:hover {
  color: #9aa5ff !important;
}

img {
  display: block;
  width: 100%;
  height: 100%;
}

#app {
  width: 100%;
  height: 100%;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  /* 去除边框 */
  border: none;
  /* 去除内边距 */
  padding: 0;
  /* 去除外边距 */
  margin: 0;
  /* 去除背景色 */
  background-color: transparent;
  /* 去除轮廓线（focus时的边框） */
  outline: none;
  /* 去除点击时的蓝色边框（IE浏览器） */
  box-shadow: none;
  /* 设置字体样式，以匹配其他元素 */
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  /* 根据需要添加其他样式 */
}
.weight-400 {
  font-weight: 400 !important;
}
.avatar {
  background: #eee;
}
.t-12 {
  font-size: 12px !important;
}
.t-13 {
  font-size: 13px !important;
}
.t-14 {
  font-size: 14px !important;
}
.t-15 {
  font-size: 15px !important;
}
.t-16 {
  font-size: 16px !important;
}
.t-17 {
  font-size: 17px !important;
}
.t-18 {
  font-size: 18px !important;
}
.t-19 {
  font-size: 19px !important;
}
.t-20 {
  font-size: 20px !important;
}
.t-21 {
  font-size: 21px !important;
}
.t-22 {
  font-size: 22px !important;
}
.t-23 {
  font-size: 23px !important;
}
.t-24 {
  font-size: 24px !important;
}

.txt-hide-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.txt-hide-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bg-desc {
  background-color: #f7f8fa !important;
}

.radius-8 {
  border-radius: 8px !important;
}
.radius-12 {
  border-radius: 8px !important;
}

.font-14 {
  font-size: 14px !important;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 99999;
}

.transition {
  transition: all 0.3s ease;
}

.font-info {
  font-weight: 400 !important;
  color: #999 !important;
}

.page-subtitle {
  border-left: 4px solid #6b7cff;
  padding-left: 10px;
  line-height: 19px;
}

.mr-auto {
  margin-right: auto !important;
}
.ml-auto {
  margin-left: auto !important;
}
.flex-1 {
  flex: 1;
}
.b-info {
  color: #6b7cff !important;
  border-radius: 8px !important;
  border: 1px solid #6b7cff !important;
  background: none !important;
}
.b-sure {
  background-color: #6b7cff !important;
  color: #fff !important;
  border-radius: 8px !important;
  border: 1px solid #6b7cff !important;
}
.b-search {
  background: #000 !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 0 30px !important;
  height: 100% !important;
  border: none !important;
}
.txt-color {
  color: #6b7cff !important;
}
.txt-red {
  color: #ff5e71 !important;
}
.txt-white {
  color: #fff !important;
}
.txt-desc {
  color: #999 !important;
}
.txt-black {
  color: #000 !important;
}
.badge-black {
  height: 25px;
  line-height: 25px;
  padding: 0 10px;
  border-radius: 4px;
  color: #fff;
  background-color: #000;
  font-size: 13px !important;
}
button {
  transition: all 0.2s ease;
}
button:active {
  opacity: 0.8 !important;
}

.btn-sure {
  background-color: #6b7cff !important;
  color: #fff !important;
}
.btn-black {
  background-color: #000 !important;
  color: #fff !important;
}
.btn-desc {
  background-color: #fff !important;
  color: #999 !important;
  border: 1px solid #eee !important;
}

.layui-layer-page {
  border-radius: 14px !important;
  overflow: hidden;
}

.layui-tabs-header li a {
  font-size: 16px !important;
}
.layui-tabs-header .layui-this,
.layui-tabs-header li:hover {
  color: #6b7cff;
}
.layui-tabs-header .layui-this:after {
  border-bottom: 2px solid #6b7cff !important;
}
.layui-layer-border,
.layui-layer-content,
.layui-layer-iframe {
  border-radius: 14px !important;
  overflow: hidden;
}
.layui-form-checkbox[lay-skin="primary"] > div {
  font-size: 15px !important;
  color: #333 !important;
}
.layui-form-select {
  width: 100%;
  padding-left: 1px;
}
.layui-input:focus,
.layui-textarea:focus {
  border: none !important;
  box-shadow: none !important;
}
.layui-form-select dl dd.layui-this {
  color: #6b7cff !important;
}
.layui-form-selected dl {
  border-radius: 8px !important;
}
.layui-btn {
  background-color: #6b7cff !important;
  color: #fff !important;
}
.layui-layer-btn {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.layui-layer-btn a {
  padding: 0 30px;
  border-radius: 5px;
  height: 40px;
  line-height: 40px;
  width: 150px;
  text-align: center;
  font-size: 14px !important;
  margin-bottom: 10px;
}
.layui-layer-title {
  font-size: 16px !important;
  border-bottom: none;
}
.layui-layer-btn .layui-layer-btn0 {
  background-color: #6b7cff !important;
}
.layui-layer-prompt .layui-layer-content {
  padding: 20px 30px;
}
.layui-layer-prompt .layui-layer-content .layui-layer-input {
  height: 45px;
  border-radius: 100px;
  padding: 0 20px;
  width: 300px;
  margin: 20px 30px 30px;
}
.layui-layer-content.layui-layer-padding {
  font-size: 16px !important;
  color: #333;
  display: flex;
  align-items: center;
  line-height: 23px;
}

/* 导航 */
.navbar {
  /* 白色透明上下渐变 */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.navbar .container {
  width: 100%;
  max-width: 100%;
  padding: 0.8em 3.5em;
}
.navbar .navbar-brand {
  padding: 0;
}
.navbar .navbar-brand img {
  height: 43px;
}
.nav_list {
  position: relative;
  top: 1px;
}
.nav_list li {
  display: inline-block;
  margin-left: 15px;
  position: relative;
  color: #333;
}
.nav_list li a {
  font-size: 16px !important;
  text-shadow: 1px 1px 20px #fff;
  color: #333 !important;
}
.nav_list li.on a {
  color: #000 !important;
}
.nav_list li.on::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  display: block;
  width: 15px;
  height: 2px;
  background-color: #000;
}

.navbar .nav_right li {
  margin-left: 35px;
  text-align: center;
  position: relative;
}
.navbar .nav_right li span.count {
  position: absolute;
  top: -5px;
  right: -5px;
  text-align: center;
  font-size: 11px;
  color: #fff;
  background: #ff4444;
  border-radius: 10px;
  padding: 3px 6px;
}
.wechat-box {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: -1;
  transition: all 0.3s ease;
  display: none;
}
.wechat-item {
  margin-top: 50px;
  width: 180px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0px 5px 10px rgba(14, 19, 56, 0.05);
}
.wechat-item img {
  width: 100px !important;
  height: 100px !important;
  margin: 10px auto 20px !important;
}
.wechat-item p {
  font-size: 14px;
}
.wechat-tabs:hover .wechat-box {
  opacity: 1;
  z-index: 99999;
  display: block;
}

.message-dialog {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  display: none;
  opacity: 0;
  z-index: -1;
  padding-top: 20px;
}
.message-dialog .message-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 5px 10px rgba(14, 19, 56, 0.05);
  padding-top: 20px;
}
.message-dialog .message-box .message-item {
  width: 350px;
  padding: 0 20px 20px;
}

.message-dialog .message-box .message-item .avatar {
  width: 45px;
  height: 45px;
}
.message-dialog .message-box .message-item .avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}
.message-dialog .message-box .message-footer {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
}

.message-tabs:hover .message-dialog {
  opacity: 1;
  z-index: 99999;
  display: block;
}

.message-item .avatar {
  position: relative;
  height: auto;
}
.message-item .avatar .layui-badge-dot {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 1;
}
.message-item.read .message-content div:nth-child(1) {
  color: #999 !important;
}
.message-item.read .avatar .layui-badge-dot {
  opacity: 0;
}

.notice-empty-state {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
}
.notice-empty-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f4f2fb;
  color: #8a75c5;
}
.notice-empty-icon .layui-icon {
  font-size: 30px;
}
.notice-empty-title {
  margin-bottom: 8px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}
.notice-empty-desc {
  font-size: 14px;
  color: #999;
}
.enterprise-invite-summary {
  display: flex;
  width: 350px;
  padding: 0 20px 18px;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  color: #333;
}
.enterprise-invite-summary:hover {
  color: #333;
}
.enterprise-invite-summary-icon {
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: 0 0 45px;
  background: #f1f3ff;
  color: #6b7cff;
  font-size: 18px;
}
.enterprise-invite-summary-copy {
  min-width: 0;
  flex: 1;
}
.enterprise-invite-summary-copy strong,
.enterprise-invite-summary-copy small {
  display: block;
}
.enterprise-invite-summary-copy strong {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 500;
}
.enterprise-invite-summary-copy small {
  overflow: hidden;
  color: #999;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-type-tabs {
  display: flex;
  margin-top: 18px;
  gap: 28px;
  border-bottom: 1px solid #eee;
}
.notice-type-tab {
  position: relative;
  display: inline-flex;
  min-width: 92px;
  padding: 0 4px 13px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #777;
  font-size: 15px;
}
.notice-type-tab:hover,
.notice-type-tab.is-active {
  color: #6b7cff;
}
.notice-type-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: #6b7cff;
  content: "";
}
.notice-type-tab em {
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #ff4d4f;
  color: #fff;
  box-sizing: border-box;
  font-size: 10px;
  font-style: normal;
  line-height: 17px;
  text-align: center;
}
.notice-list-card {
  min-height: 0;
}
.enterprise-invite-item {
  display: flex;
  padding: 20px 4px;
  gap: 14px;
  border-bottom: 1px solid #f1f1f1;
}
.enterprise-invite-item:last-child {
  border-bottom: 0;
}
.enterprise-invite-item-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: 0 0 48px;
  background: #eef1ff;
  color: #6b7cff;
  font-size: 19px;
}
.enterprise-invite-item:not(.is-read) .enterprise-invite-item-icon {
  box-shadow: 0 0 0 3px rgba(107, 124, 255, 0.12);
}
.enterprise-invite-item-main {
  min-width: 0;
  flex: 1;
}
.enterprise-invite-item-header,
.enterprise-invite-item-header > div {
  display: flex;
  align-items: center;
}
.enterprise-invite-item-header {
  justify-content: space-between;
  gap: 15px;
}
.enterprise-invite-item-header > div {
  min-width: 0;
  gap: 12px;
}
.enterprise-invite-item-header h4 {
  overflow: hidden;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.enterprise-invite-item-header span {
  color: #aaa;
  flex: 0 0 auto;
  font-size: 12px;
}
.enterprise-invite-status {
  padding: 3px 9px;
  border-radius: 10px;
  background: #f3f3f3;
  color: #999;
  flex: 0 0 auto;
  font-size: 11px;
  font-style: normal;
}
.enterprise-invite-status-pending {
  background: #fff6e8;
  color: #f19a2a;
}
.enterprise-invite-status-accepted {
  background: #eef9ed;
  color: #43b83f;
}
.enterprise-invite-status-rejected,
.enterprise-invite-status-revoked,
.enterprise-invite-status-expired {
  background: #f5f5f5;
  color: #999;
}
.enterprise-invite-message {
  margin: 9px 0 12px;
  color: #555;
  font-size: 14px;
  line-height: 22px;
}
.enterprise-invite-meta {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 20px;
}
.enterprise-invite-meta > div {
  display: flex;
  min-width: 0;
  gap: 7px;
  font-size: 12px;
  line-height: 20px;
}
.enterprise-invite-meta dt {
  color: #999;
  font-weight: 400;
}
.enterprise-invite-meta dd {
  min-width: 0;
  margin: 0;
  color: #333;
  word-break: break-word;
}
.enterprise-invite-meta .enterprise-invite-remark {
  grid-column: 1 / -1;
}
.enterprise-invite-actions {
  display: flex;
  margin-top: 15px;
  justify-content: flex-end;
  gap: 10px;
}
.enterprise-invite-actions button {
  height: 32px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  color: #666;
  cursor: pointer;
  font-size: 13px;
}
.enterprise-invite-actions .enterprise-invite-accept {
  border-color: #6b7cff;
  background: #6b7cff;
  color: #fff;
}

.navbar .nav_right li p {
  font-size: 12px !important;
  color: #333;
  line-height: 1;
  margin-top: 4px;
  text-shadow: 1px 1px 20px #fff;
}
.navbar .nav_right li img.icon {
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.navbar .nav_right li.user_info {
  display: flex;
  align-items: center;
}
.navbar .nav_right li.user_info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}

.navbar .nav_right .more_set {
  line-height: 15px;
  font-size: 14px;
  text-align: center !important;
}
.navbar .nav_right .more_set img {
  width: 16px;
  height: 16px;
  margin-right: 3px;
}

.navbar .nav_right .more_set div a {
  color: #999;
}
.navbar .nav_right .more_set div a.active {
  color: #000;
}

/* 幻灯片 */
.swiper-container.home-slide {
  width: 100%;
  /* height: 670px; */
  position: relative;
}
.swiper-slide {
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #fff;
  opacity: 0.8;
}
.swiper-pagination-bullet-active {
  border-radius: 100px;
  background: #333;
  width: 26px;
  opacity: 1;
}

.swiper-container .swiper-input {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 60px;
  border-radius: 10px;
  border: none;
  padding: 6px 6px 6px 40px;
  font-size: 16px;
  z-index: 10;
  background: #fff;
  display: flex;
  align-items: center;
  color: #333;
}

.swiper-container .swiper-input input {
  flex: 1;
  height: 100%;
}
.swiper-container .swiper-input button {
  background: #000;
  border-radius: 10px;
  color: #fff;
  padding: 0 30px;
  height: 100%;
  border: none;
}

.search-input {
  margin: 30px auto;
  width: 800px;
  height: 60px;
  border-radius: 10px;
  border: none;
  padding: 6px 6px 6px 40px;
  font-size: 16px;
  z-index: 10;
  background: #fff;
  display: flex;
  align-items: center;
  color: #333;
}
.search-input input {
  flex: 1;
  height: 100%;
}
.search-input button {
  background: #000;
  border-radius: 10px;
  color: #fff;
  padding: 0 30px;
  height: 100%;
  border: none;
}

/* 内容 */
.page-title,
.page-title h3,
.page-title h4 {
  font-weight: 300;
}
.page-title span {
  font-size: 18px;
  padding-left: 5px;
}
.home-main {
  background: linear-gradient(
    165.17deg,
    #daebff 0%,
    #f7f1ff 38.19%,
    #f0f6fe 64.23%,
    #ffffff 96.53%
  );
}

/* 产品 */
.pro-item .card-header {
  overflow: hidden;
  border-radius: 12px;
  padding: 0;
  aspect-ratio: 1 / 1.2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  border: 1px solid #ececec;
}
.pro-item .card-header img {
  width: auto;
  height: auto;
  max-height: 101%;
}
.pro-item .card-header .pro-top {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.pro-item .card-header .pro-top span {
  border-radius: 100px;
  padding: 6px 10px;
  font-size: 13px;
  color: #999;
  background: #efefef;
}
.pro-item .card-header .pro-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pro-item .card-header .pro-bottom span {
  border-radius: 100px;
  padding: 5px 13px;
  font-size: 13px;
  color: #666;
  background: #fff;
  margin-left: 5px;
  border: 1px solid #999;
  max-width: 120px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
}
.pro-item .card-header .pro-bottom img {
  height: 25px;
  position: relative;
  top: -2px;
}
.pro-item .card-header .pro-out {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 16px;
}
.pro-item .card-header .pro-out div {
  border-radius: 100%;
  text-align: center;
  line-height: 105px;
  width: 100px;
  height: 100px;
  font-size: 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9;
}

.card .card-header .card-del {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #ffe7ea;
  color: #ff3333;
  border-bottom-left-radius: 8px;
  opacity: 0;
  z-index: -1;
}
.card:hover .card-del {
  opacity: 1;
  z-index: 1;
}

.card .card-set {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px;
  color: #ff3333;
  border-bottom-left-radius: 8px;
  opacity: 0;
  z-index: -1;
}

.card.manage .card-set {
  opacity: 1;
  z-index: 1;
}
.card.manage:hover {
  cursor: pointer;
}
.card.manage .card-del {
  display: none !important;
}

.card.manage .layui-form-checkbox[lay-skin="primary"] > i {
  width: 20px;
  height: 20px;
  line-height: 18px;
  font-weight: bold;
}

.pro-box .pro-price {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.pro-box .pro-price span {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0px;
  line-height: 28.13px;
  color: #ff3333;
  margin-right: 10px;
  height: 31px;
}
.pro-box .pro-price s {
  font-size: 14px;
  font-weight: 300;
  line-height: 18.75px;
  color: #808080;
  text-align: left;
}
.pro-box .pro-coupon {
  overflow: hidden;
  height: 24px;
}
.pro-box .pro-label {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  float: left;
  margin-right: 5px;
}
.pro-box .pro-label {
  border-radius: 5px;
  background: linear-gradient(100deg, #fff0e0 0%, #fff7e8 100%);
  padding: 4px 8px;
}
.pro-box .pro-label img {
  width: 16px;
  margin-right: 5px;
}
.pro-box .pro-label span {
  font-size: 12px;
  font-weight: 600;
  color: #666666;
  background: linear-gradient(180deg, #4a3a25 0%, #b7701a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pro-box .pro-title {
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 22px;
  /* 隐藏 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.pro-box .pro-desc {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.pro-box .pro-desc span {
  color: #ff3333;
}
.pro-box .pro-desc span.win {
  color: yellowgreen;
}

.video-main video {
  width: 100%;
  /* height: 1080px; */
}

/* 新闻 */
.news-item .news-label {
  height: 20px;
}
.news-item .news-label span {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 14px;
  color: #fff;
  background: #676fc9;
  margin-right: 10px;
}
.news-item p {
  /* 隐藏 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #555;
  height: 50px;
}
.news-item .news-desc {
  font-size: 14px;
  color: #999;
}
.news-item .news-desc span {
  margin-right: 15px;
}

/* 标签 */
.label-main {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.label-main span {
  padding: 8px 12px 6px;
  border-radius: 100px;
  font-size: 14px;
  color: #fff;
  background: #676fc9;
  margin-right: 10px;
}

/* 合作伙伴图片样式：高度固定50px，宽度自适应 */
.partner-img {
  height: 50px;
  width: auto;
  object-fit: contain; /* 保持图片比例，完整显示 */
  margin-right: 20px; /* 图片间距 */
}
/* 表单输入框下划线样式（模拟设计稿） */
.form-control-underline {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding-left: 0;
}
.form-control-underline:focus {
  box-shadow: none;
  border-color: #666;
}
/* 提交按钮样式 */
.submit-btn {
  border: 1px solid #000;
  border-radius: 20px;
  padding: 5px 30px;
  background: #fff;
}
.submit-btn:hover {
  background: #f5f5f5;
}
/* 尾部整体间距 */
.footer-wrap {
  padding: 40px 0;
}
/* 版权信息样式 */
.copyright {
  padding: 20px 0;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

/* 合作伙伴图片样式：高度固定50px，宽度自适应 */
.partner-img {
  height: 50px;
  width: auto;
  object-fit: contain; /* 保持图片比例，完整显示 */
  margin-right: 20px; /* 图片间距 */
}
/* 表单输入框下划线样式（模拟设计稿） */
.form-control-underline {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding-left: 0;
}
.form-control-underline:focus {
  box-shadow: none;
  border-color: #666;
}
/* 提交按钮样式 */
.submit-btn {
  margin-top: 20px;
  padding: 0 20px;
  height: 44px;
  line-height: 44px;
  min-width: 120px;
  opacity: 1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(51, 51, 51, 1);
}
.submit-btn:hover {
  background: #f5f5f5;
}
/* 尾部整体间距 */
.footer-wrap {
  border-top: 1px solid #f0f0f0;
  padding: 40px 0;
  background:#f9f9f9;
}
/* 版权信息样式 */
.copyright {
  padding: 20px 0;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.footer-form .form-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  font-size: 15px;
}
.footer-form .form-item span,
.footer-form .form-item input {
  flex: 1;
  padding: 10px 0;
}

.footer-up {
  position: fixed;
  bottom: 20%;
  right: 10%;
  z-index: 1000;
  display: none;
}
.footer-up-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 30px;
}
.footer-up-btn i {
  height: 33px;
}
.footer-up-btn:hover {
  opacity: 0.8;
}

/* PC 端 AI 订货入口：固定在页面右下角，视觉与 H5 底部入口保持一致 */
.pc-ai-entry {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1200;
}
.pc-ai-entry-box {
  display: flex;
  align-items: center;
  width: 300px;
  height: 46px;
  box-sizing: border-box;
  padding: 0 18px;
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(100deg, #5b66e0 0%, #8a6ff0 28%, #4aa8ff 52%, #8a6ff0 76%, #5b66e0 100%);
  background-size: 300% 100%;
  box-shadow: 0 6px 18px rgba(91, 102, 224, 0.28);
  animation: pc-ai-flow 9s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pc-ai-entry-box:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(91, 102, 224, 0.35);
}
.pc-ai-entry-box .layui-icon {
  flex: none;
  margin-right: 10px;
  font-size: 20px;
  animation: pc-ai-bot 2.6s ease-in-out infinite;
}
.pc-ai-entry-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-ai-entry-text::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 13px;
  margin-left: 3px;
  vertical-align: -2px;
  background: #fff;
  animation: pc-ai-caret 1s steps(1, end) infinite;
}
.pc-ai-entry-arrow {
  flex: none;
  margin-left: 8px;
  font-size: 18px;
  opacity: 0.9;
}
@keyframes pc-ai-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pc-ai-bot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes pc-ai-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.layui-layer-ai {
  border-radius: 12px;
  overflow: hidden;
}
.layui-layer-ai .layui-layer-title {
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}
@media (max-width: 767.98px) {
  .pc-ai-entry {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
  .pc-ai-entry-box {
    width: 100%;
  }
}

.search-history .history-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-history .history-title i {
  font-size: 20px;
  cursor: pointer;
}
.search-history .history-item {
  display: table;
  width: 100%;
}
.search-history .history-item div {
  float: left;
  padding: 8px 12px 6px;
  border-radius: 100px;
  font-size: 14px;
  color: #000;
  background: #f8f8f8;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}
.search-history .history-item div:hover {
  cursor: pointer;
}

.coupon-dialog {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 15px;
  z-index: 99;
  display: none;
}
.coupon-dialog .coupon-box {
  background: url("./img/d0.png") no-repeat center / 100% 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  padding: 20px 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.coupon-item {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  overflow: hidden;
}
.coupon-item .item-left {
  color: #fff;
  font-size: 14px;
  width: 120px;
  height: 100px;
  background: url("./img/d1.png") no-repeat center / 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.coupon-item .item-left span {
  font-size: 40px;
  font-weight: 600;
}
.coupon-item .item-left p {
  margin-top: 5px;
  font-size: 12px;
}
.coupon-item .item-left p a {
  color: #fff;
}
.coupon-item .item-right {
  color: #333;
  min-width: 200px;
  height: 100px;
  background: url("./img/d2.png") no-repeat center / 100% 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.coupon-item .item-right p {
  font-size: 14px;
}
.coupon-item .item-right button {
  background: #000;
  color: #fff;
  margin: 0;
  margin-left: 20px;
}

.coupon-item.not .item-left {
  background: none;
  background-color: #999;
}
.coupon-item.not .item-right {
  color: #999;
  background: none;
  background-color: #f0f0f0;
}
.coupon-item.not .item-right button {
  background: #e0e0e0;
  color: #999;
}

.coupon-item.use button {
  background: #e0e0e0;
  color: #999;
}

.bg-coupon {
  background: url("./img/d0.png") no-repeat center / auto 100%;
}

/* 弹窗样式 */
.dialog-page {
  padding: 20px;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-header i {
  font-size: 20px;
}

.dialog-coupon {
  display: grid;
  width: 100%;
  max-height: 400px;
  overflow: auto;
}
.dialog-coupon .coupon-item {
  margin: 0 auto;
}

/* 配置地址 */
.dialog-address .dialog-box {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 20px 30px;
  z-index: 99;
}
.dialog-address .dialog-box h5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-address .dialog-list {
  min-height: 280px;
  max-height: 400px;
  overflow: auto;
}
.dialog-address .dialog-list .list-box {
  padding: 15px 15px 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin: 15px 0;
  color: #333;
}
.dialog-address .dialog-list .list-box:hover {
  cursor: pointer;
}
.dialog-address .dialog-list .list-box .badge {
  color: #6b7cff;
  background: #dde1ff;
  padding: 3px 6px;
  font-weight: 500;
  position: relative;
  top: -2px;
  border-radius: 3px;
  margin-left: 2px;
}
.dialog-address .dialog-list .list-box p {
  font-size: 14px;
  margin-top: 5px;
}
.dialog-address .dialog-list .list-box.on {
  border: 1px solid #6b7cff;
}
.dialog-address .dialog-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.pointer:hover {
  cursor: pointer;
}

.btn-back {
  background: #fff;
  box-shadow: 10px 14px 15px rgba(172, 174, 177, 0.16);
  border-radius: 100px;
  padding: 12px 20px 11px;
  display: inline-table;
  position: sticky;
  top: 140px;
}
.btn-back:hover {
  opacity: 0.8;
}
.btn-back i {
  font-size: 14px;
  margin-right: 5px;
  position: relative;
  top: -2px;
}

/* 表单 */
.form-box .form-item {
  box-sizing: border-box;
}
.form-box .form-item .item-label {
  margin-bottom: 10px;
  color: #000;
  padding-left: 5px;
}
.form-box .form-item .item-input {
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 10px 20px;
  border: 1px solid #eee;
}
.form-box .form-item .item-input input {
  flex: 1;
  height: 23px;
  line-height: 23px;
  font-size: 16px;
  color: #000;
  border: none;
  outline: none;
}
.form-box .form-item .item-input select {
  border: none;
  outline: none;
  width: 100%;
  background: none;
  height: 23px;
}
.form-box .form-item .item-input .code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 5px;
  border-right: 1px solid #eee;
  color: #333;
  margin-right: 10px;
  padding-right: 15px;
}
.form-box .form-item .item-input .code:hover {
  cursor: pointer;
}
.form-box .form-item .item-input.disabled {
  background: #f9f9f9;
}
.form-box .form-item .item-input.disabled:hover {
  cursor: not-allowed;
}
.form-box .form-item .item-image {
  display: table;
  width: 100%;
}
.form-box .form-item .item-image .image-item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  height: 130px;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  position: relative;
}
.form-box .form-item .item-image .image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-box .form-item .item-image .image-item .upload {
  font-size: 14px;
  color: #999;
  text-align: center;
}
.form-box .form-item .item-image .image-item .image-del {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  padding: 3px 4px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}
.form-box .form-item .item-richtext {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}
.form-box .form-item .item-richtext textarea {
  width: 100%;
  height: 100px;
  line-height: 23px;
  font-size: 16px;
  color: #000;
  border: none;
  outline: none;
  padding: 10px;
}
.form-box .form-item .item-richtext .img-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}
.form-box .form-item .item-richtext .img-list .img-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #f9f9f9;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.form-box .form-item .item-richtext .img-list .img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-box .form-item .item-richtext .img-list .img-item:hover {
  cursor: pointer;
  background: #f9f9f9;
}

.img-list .img-item {
  position: relative;
}
.img-list .img-item .image-del {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  padding: 3px 4px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.image-upload:hover {
  cursor: pointer;
  background: #f9f9f9;
}

.form-check {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.form-check span {
  color: #333;
  font-size: 16px;
}
.form-check input {
  margin-top: 0 !important;
  margin-right: 5px;
}
.form-check:not(.form-switch) .form-check-input[type="radio"]:checked {
  border-color: #6b7cff;
}
.form-check:not(.form-switch) .form-check-input[type="radio"]:after {
  background: #6b7cff !important;
}
.layui-form-radio > * {
  font-size: 16px;
  color: #333;
}
.layui-form-radio:hover > *,
.layui-form-radioed,
.layui-form-radioed > i {
  color: #6b7cff;
}
.layui-form-checked[lay-skin="primary"] > i {
  border-color: #6b7cff !important;
  background-color: #6b7cff;
  color: #fff;
}

.page-search {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid #6b7cff;
}
.page-search input {
  flex: 0 0 350px;
  font-size: 16px;
  color: #000;
  border: none;
  outline: none;
  padding: 0 15px;
}

.user-page > .container {
  padding-top: 8rem !important;
}
/* 与个人中心首页搜索栏同高；无搜索栏时仅保留空白，不生成控件。 */
.user-page .user-page-toolbar {
  min-height: 52px;
}
.user-page .user-menu-sidebar {
  position: sticky;
  top: 164px;
}
.user-page .user-menu-block-title {
  height: 29px;
  margin-bottom: 20px;
  color: #999;
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
}
.user-page .user-main-column {
  padding-top: 49px;
}
.user-page .certification-content-card {
  min-height: 1503px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}
.user-page .enterprise-cert-card {
  min-height: auto;
  padding: 24px;
  box-sizing: border-box;
  color: #333;
}
.certification-pending-notice {
  display: flex;
  min-height: 46px;
  margin-top: -49px;
  margin-bottom: 22px;
  align-items: center;
  gap: 12px;
}
.certification-pending-icon {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: cover;
}
.certification-pending-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.certification-pending-copy strong {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.certification-pending-copy span {
  margin-top: 1px;
  color: #999;
  font-size: 12px;
  line-height: 18px;
}
.certification-rejected-notice .certification-pending-copy span {
  color: #ff3333;
}
.enterprise-cert-card-pending input[readonly],
.enterprise-cert-card-pending textarea[readonly],
.enterprise-cert-card-pending .enterprise-region-select:disabled {
  opacity: 1;
  cursor: default;
}
.user-page .personal-cert-card {
  min-height: 693px;
}
.credit-apply-entry {
  min-height: 850px;
  padding-top: 190px;
  box-sizing: border-box;
  text-align: center;
}
.credit-apply-entry h2 {
  margin: 0;
  color: #333;
  font-size: 28px;
  font-weight: 500;
  line-height: 42px;
}
.credit-apply-entry p {
  margin: 10px 0 0;
  color: #999;
  font-size: 14px;
  line-height: 22px;
}
.credit-apply-entry-button {
  display: inline-flex;
  width: 200px;
  height: 52px;
  margin-top: 32px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #6b7cff;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.credit-apply-entry-button:hover {
  color: #fff;
  text-decoration: none;
}
.enterprise-cert-title,
.enterprise-upload-title {
  margin: 0;
  color: #333;
  font-weight: 500;
}
.certification-approved-badge {
  display: inline-flex;
  height: 24px;
  margin-left: 10px;
  padding: 0 10px;
  border-radius: 12px;
  align-items: center;
  vertical-align: 2px;
  background: #eef1ff;
  color: #6b7cff;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
}
.enterprise-cert-status .certification-approved-badge { margin-left: 0; }
.enterprise-cert-title {
  font-size: 20px;
  line-height: 30px;
}
.enterprise-cert-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 20px;
  margin-top: 24px;
}
.enterprise-form-item {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}
.enterprise-form-label {
  display: block;
  height: 24px;
  margin-bottom: 10px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.enterprise-form-label i,
.enterprise-upload-title i {
  margin-left: 2px;
  color: #ff6b7c;
  font-style: normal;
}
.enterprise-form-item input,
.enterprise-region-select {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #eee;
  border-radius: 12px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  color: #333;
  font: inherit;
  font-size: 14px;
}
.enterprise-form-item input::placeholder,
.enterprise-remark-item textarea::placeholder {
  color: #999;
  opacity: 1;
}
.enterprise-region-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #999;
  text-align: left;
  cursor: pointer;
}
.enterprise-region-select svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #231815;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enterprise-region-item {
  position: relative;
}
.enterprise-region-select span.has-value {
  color: #333;
}
.enterprise-region-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(620px, calc(200% + 20px));
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(51, 51, 51, .12);
  box-sizing: border-box;
}
.enterprise-region-panel[hidden] {
  display: none;
}
.enterprise-region-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.enterprise-region-column {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 8px;
}
.enterprise-region-column > strong {
  display: block;
  padding: 8px 10px;
  background: #f8f9ff;
  color: #666;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}
.enterprise-region-options {
  height: 210px;
  padding: 6px;
  overflow-y: auto;
  box-sizing: border-box;
}
.enterprise-region-option {
  display: block;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #333;
  font-size: 13px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}
.enterprise-region-option:hover,
.enterprise-region-option.is-active {
  background: #f2f5ff;
  color: #6b7cff;
}
.enterprise-region-tip {
  display: block;
  padding: 8px;
  color: #999;
  font-size: 12px;
  line-height: 18px;
}
.enterprise-region-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
.enterprise-region-actions button {
  min-width: 64px;
  height: 30px;
  padding: 0 14px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  color: #666;
  font-size: 13px;
  cursor: pointer;
}
.enterprise-region-actions .enterprise-region-confirm {
  border-color: #6b7cff;
  background: #6b7cff;
  color: #fff;
}
.enterprise-id-section {
  margin-top: 24px;
}
.enterprise-upload-title {
  font-size: 18px;
  line-height: 27px;
}
.enterprise-upload-grid,
.enterprise-document-titles,
.enterprise-template-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}
.enterprise-upload-grid {
  margin-top: 16px;
}
.enterprise-upload-box {
  display: flex;
  height: 150px;
  margin: 0;
  border: 1px solid #eee;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  cursor: pointer;
}
.enterprise-upload-box input {
  display: none;
}
.certification-upload-preview {
  display: none;
  width: 100%;
  height: 96px;
  padding: 4px 12px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.certification-upload-preview img {
  display: block;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}
.certification-upload-preview-file {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: #f2f5ff;
  color: #6b7cff;
  font-size: 14px;
  font-weight: 500;
}
.enterprise-upload-box.has-file .certification-upload-preview {
  display: flex;
}
.enterprise-upload-box.has-file .enterprise-upload-plus {
  display: none;
}
.certification-upload-readonly {
  cursor: default;
}
.certification-upload-readonly .certification-upload-preview {
  height: 100%;
  padding: 0;
}
.certification-upload-readonly .certification-upload-preview img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 11px;
  object-fit: cover;
}
.certification-upload-readonly .certification-upload-preview-file {
  width: 64px;
  height: 64px;
}
.certification-upload-prefilled .certification-upload-preview {
  height: 100%;
  padding: 0;
}
.certification-upload-prefilled .certification-upload-preview img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 11px;
  object-fit: cover;
}
.certification-upload-prefilled .enterprise-upload-text {
  display: none;
}
.certification-upload-empty {
  color: #999;
  font-size: 14px;
}
.enterprise-upload-box.is-uploading {
  pointer-events: none;
  opacity: 0.65;
}
.enterprise-upload-plus {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
}
.enterprise-upload-plus::before,
.enterprise-upload-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: #333;
  transform: translate(-50%, -50%);
}
.enterprise-upload-plus::before {
  width: 16px;
  height: 2px;
}
.enterprise-upload-plus::after {
  width: 2px;
  height: 16px;
}
.enterprise-upload-text {
  margin-top: 10px;
  max-width: calc(100% - 24px);
  color: #999;
  font-size: 14px;
  line-height: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.enterprise-document-section {
  margin-top: 24px;
}
.enterprise-document-uploads {
  margin-top: 16px;
}
.enterprise-template-row {
  margin-top: 8px;
}
.enterprise-template-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  color: #6b7cff;
  font-size: 14px;
  line-height: 21px;
}
.enterprise-template-link-disabled {
  color: #999;
  cursor: not-allowed;
}
.enterprise-template-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.33;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enterprise-remark-item {
  display: block;
  margin-top: 24px;
}
.enterprise-remark-item textarea {
  display: block;
  width: 100%;
  height: 112px;
  margin: 0;
  padding: 12px 16px;
  resize: none;
  border: 1px solid #eee;
  border-radius: 12px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  color: #333;
  font: inherit;
  font-size: 14px;
  line-height: 21px;
}
.enterprise-submit-button {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 36px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #6b7cff;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
.enterprise-submit-button:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.user-page .enterprise-credit-apply-card {
  min-height: auto;
}
.enterprise-credit-company-section,
.enterprise-credit-request-section {
  margin-top: 24px;
}
.enterprise-credit-section-title {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}
.enterprise-credit-company-section .enterprise-cert-fields {
  margin-top: 18px;
}
.enterprise-credit-request-section {
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.enterprise-credit-request-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  margin-top: 18px;
}
.enterprise-credit-apply-form .enterprise-form-item input[readonly] {
  cursor: default;
}
.enterprise-credit-material-section {
  margin-top: 24px;
}
.enterprise-credit-material-titles,
.enterprise-credit-material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}
.enterprise-credit-material-grid {
  margin-top: 16px;
}
.enterprise-credit-material-card {
  height: 150px;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
.enterprise-credit-material-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.enterprise-credit-material-file {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #6b7cff;
  text-decoration: none;
}
.enterprise-credit-material-file em {
  font-size: 14px;
  font-style: normal;
}
.enterprise-credit-material-file:hover {
  color: #5367f5;
  text-decoration: none;
}
.enterprise-credit-material-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}
.enterprise-credit-submit-button {
  margin-top: 36px;
}
.enterprise-credit-proof-section {
  margin-top: 24px;
}
.enterprise-credit-proof-box {
  width: calc(50% - 10px);
  margin-top: 16px;
  background: #fff;
}
.enterprise-credit-proof-tip {
  margin: 8px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 18px;
}
.credit-application-notice {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 22px;
}
.credit-application-notice.is-pending {
  background: #f2f5ff;
  color: #6b7cff;
}
.credit-application-notice.is-rejected {
  background: #fff2f3;
  color: #ff6b7c;
}
.credit-account-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.credit-account-summary > div {
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8f9ff;
}
.credit-account-summary span,
.credit-account-summary strong {
  display: block;
}
.credit-account-summary span {
  color: #999;
  font-size: 13px;
  line-height: 20px;
}
.credit-account-summary strong {
  margin-top: 5px;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}

.enterprise-credit-dashboard {
  container-type: inline-size;
  color: #333;
}
.enterprise-employee-credit-company {
  display: flex;
  margin-bottom: clamp(12px, 1.333cqw, 16px);
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
.enterprise-employee-credit-company-copy span,
.enterprise-employee-credit-company-copy strong {
  display: block;
}
.enterprise-employee-credit-company-copy span {
  margin-bottom: 5px;
  color: #999;
  font-size: 13px;
}
.enterprise-employee-credit-company-copy strong {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}
.enterprise-employee-credit-role {
  padding: 5px 12px;
  border-radius: 14px;
  background: #eef1ff;
  color: #6b7cff;
  flex: 0 0 auto;
  font-size: 12px;
  font-style: normal;
}
.enterprise-employee-credit-available > strong {
  color: #43b83f;
}
.enterprise-employee-credit-note {
  margin-top: clamp(12px, 1.333cqw, 16px);
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
.enterprise-employee-credit-note h2 {
  margin: 0 0 9px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}
.enterprise-employee-credit-note p {
  margin: 0;
  color: #888;
  font-size: 13px;
  line-height: 22px;
}
.enterprise-credit-increase-notice {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(8px, 1cqw, 12px);
  color: #333;
  font-size: clamp(12px, 1.167cqw, 14px);
  line-height: 1.5;
}
.enterprise-credit-increase-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 2px 8px;
  border-radius: 4px;
  background: #43d63e;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.enterprise-credit-increase-highlight {
  color: #43d63e;
}
.enterprise-credit-increase-notice-pending .enterprise-credit-increase-badge {
  background: #ff9412;
}
.enterprise-credit-increase-notice-rejected .enterprise-credit-increase-badge {
  background: #ff3333;
}
.enterprise-credit-increase-retry {
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7cff;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition: none;
}
.enterprise-credit-increase-retry:hover {
  color: #6b7cff;
  text-decoration: underline;
}
.enterprise-credit-expiry-notice {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(8px, 1cqw, 12px);
  color: #333;
  font-size: clamp(12px, 1.167cqw, 14px);
  line-height: 1.5;
}
.enterprise-credit-expiry-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ff9f43;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.enterprise-credit-expiry-notice-expired .enterprise-credit-expiry-badge {
  background: #ff3333;
}
.enterprise-credit-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.333cqw, 16px);
}
.enterprise-credit-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.333cqw, 16px);
  aspect-ratio: 592 / 200;
}
.enterprise-credit-metric,
.enterprise-credit-usage-card,
.enterprise-credit-bills {
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
.enterprise-credit-metric {
  position: relative;
  min-height: 0;
  padding: clamp(9px, 1cqw, 12px);
}
.enterprise-credit-metric > span,
.enterprise-credit-metric-heading > span,
.enterprise-credit-usage-card h2 {
  color: #999;
  font-size: clamp(12px, 1.167cqw, 14px);
  font-weight: 400;
  line-height: 1.5;
}
.enterprise-credit-metric > strong {
  display: block;
  margin-top: clamp(6px, 1cqw, 12px);
  color: #333;
  font-size: clamp(18px, 2cqw, 24px);
  font-weight: 700;
  line-height: 1.45;
}
.enterprise-credit-metric-primary > strong {
  color: #ff3333;
}
.enterprise-credit-metric-frozen > strong {
  color: #808080;
}
.enterprise-credit-metric-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.enterprise-credit-metric-label {
  cursor: pointer;
}

/* 即时设计基准：1920 画布 / 1200px 内容列。
   本站其他页面统一按 0.75 缩放（1200→900、56→42、20→15、16→12、8→6，
   与 .enterprise-credit-* 系列 clamp 下限含 min-width 105=140×0.75 一致），本页沿用同一比例。 */
.enterprise-credit-change-log-page {
  position: relative;
  min-height: 675px;
  padding: 164px 18px 120px;
  background: linear-gradient(135deg, rgba(204, 228, 255, .45), rgba(237, 227, 255, .35) 46%, rgba(240, 246, 254, .8));
}

.enterprise-credit-change-log-main {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
}

.enterprise-credit-change-log-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 900px;
  max-width: 100%;
  margin: 0 auto 9px;
  font-size: 12px;
  line-height: 18px;
  color: #808080;
}

.enterprise-credit-change-log-breadcrumb a {
  color: #808080;
  text-decoration: none;
}

.enterprise-credit-change-log-breadcrumb strong {
  font-weight: 400;
  color: #808080;
}

.enterprise-credit-change-log-breadcrumb-sep {
  display: block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  fill: none;
  stroke: #808080;
  stroke-width: .75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.enterprise-credit-change-log-back {
  position: absolute;
  top: 157px;
  left: max(18px, calc(50% - 593px));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: 23px;
  background: #fff;
  box-shadow: 7.5px 10.5px 11px rgba(172, 174, 177, .16);
  color: #999999;
  font-size: 12px;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.enterprise-credit-change-log-back-icon {
  display: block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #999999;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 中文墨迹在行盒内偏上（字体 ascent/descent 不对称），居中后视觉偏高，
   这里单独把文字下移做视觉居中；箭头图形本身已是几何居中，不参与偏移。
   注：该值刻意保留整数 1px，不用 0.75px——小数位移会让文字落在半个物理像素上发虚。 */
.enterprise-credit-change-log-back em {
  font-style: normal;
  transform: translateY(1px);
}

.enterprise-credit-change-log-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-bottom: 15px;
}

.enterprise-credit-change-log-filters label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  color: #333;
}

.enterprise-credit-change-log-type-select {
  width: 54px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #333;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 20px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.enterprise-credit-change-log-date-filter {
  width: 264px;
}

.enterprise-credit-change-log-range {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #333;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 20px;
  cursor: pointer;
  text-overflow: ellipsis;
}

.enterprise-credit-change-log-range::placeholder {
  color: #999;
}

.enterprise-credit-change-log-caret {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #231815;
  stroke-width: 1.125;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.enterprise-credit-change-log-probe {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
  font-size: 13.5px;
}

.enterprise-credit-change-log-submit {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.enterprise-credit-change-log-table-wrap {
  overflow-x: auto;
  border-radius: 6px;
}

.enterprise-credit-change-log-table {
  min-width: 755px;
}

.enterprise-credit-change-log-row {
  display: grid;
  /* 设计 193px × 0.75 = 144.75，取整避免小数列宽在 1x 屏上被浏览器各自取整后不齐 */
  grid-template-columns: repeat(5, 145px);
  min-height: 42px;
  padding: 12px 15px;
  box-sizing: border-box;
  align-items: center;
  background: #fff;
  font-size: 12px;
  line-height: 18px;
  color: #333;
}

.enterprise-credit-change-log-head {
  border-radius: 6px 6px 0 0;
  background: #f2f4f8;
}

.enterprise-credit-change-log-data {
  border-bottom: 1px solid #eee;
}

.enterprise-credit-change-log-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.change-type-heading {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.enterprise-credit-change-log-info {
  display: block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #ff9412;
  stroke-width: .75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.enterprise-credit-change-log-info-trigger {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: help;
}

.enterprise-credit-change-log-info-trigger:focus-visible {
  outline: 1px solid #ff9412;
  outline-offset: 2px;
  border-radius: 50%;
}

.enterprise-credit-change-log-tooltip {
  position: fixed;
  z-index: 1000;
  width: 366px;
  max-width: calc(100vw - 16px);
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 10px 14px 15px rgba(172, 174, 177, .16);
  color: #808080;
  font-size: 12px;
  font-weight: normal;
  line-height: 14.5px;
  white-space: normal;
  overflow-wrap: break-word;
}

.enterprise-credit-change-log-tooltip[hidden] { display: none; }
.enterprise-credit-change-log-tooltip ul {
  margin: 0;
  padding-left: 14px;
  list-style: disc outside;
}

.enterprise-credit-change-log-tooltip li {
  margin: 0;
  padding: 0;
  display: list-item;
  list-style: disc outside;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.enterprise-credit-change-log-row .change-amount { color: #333; }

.enterprise-credit-change-log-empty {
  padding: 36px 15px;
  text-align: center;
  color: #999;
}

.enterprise-credit-change-log-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 18px;
  color: #999;
}

.enterprise-credit-change-log-pagination a {
  color: #6b7cff;
  text-decoration: none;
}

@media (max-width: 1225px) {
  .enterprise-credit-change-log-back {
    position: static;
    margin-bottom: 9px;
  }
}

@media (max-width: 767px) {
  .enterprise-credit-change-log-page { min-height: 450px; padding: 110px 12px 54px; }
  .enterprise-credit-change-log-filters { flex-wrap: wrap; justify-content: flex-start; }
  .enterprise-credit-change-log-filters label { flex: 1 1 100%; }
  .enterprise-credit-change-log-date-filter { width: 100%; }
}

.enterprise-credit-metric-label svg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.enterprise-credit-metric-label svg {
  width: 12px;
  height: 12px;
  fill: none;
}
.enterprise-credit-metric-label path {
  stroke: #999;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enterprise-credit-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #43d63e;
  font-size: clamp(10px, 1cqw, 12px);
  font-style: normal;
  line-height: 1.5;
}
.enterprise-credit-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.enterprise-credit-status.status-2 {
  color: #ff9f43;
}
.enterprise-credit-status.status-3 {
  color: #999;
}
.enterprise-credit-status.status-expired {
  color: #ff3333;
}
.enterprise-credit-action {
  position: absolute;
  right: 9px;
  bottom: 8px;
  padding: 1px 6px;
  border: 1px solid #6b7cff;
  border-radius: 20px;
  color: #6b7cff;
  font-family: inherit;
  font-size: 10px;
  line-height: 1.5;
  background: transparent;
  cursor: pointer;
  appearance: none;
  transition: none;
}
.enterprise-credit-action:hover {
  color: #6b7cff;
}
.personal-credit-modal-open {
  overflow: hidden;
}
.enterprise-credit-bills.has-bills {
  aspect-ratio: auto;
  padding-bottom: clamp(15px, 1.667cqw, 20px);
  overflow: visible;
}
.personal-credit-increase-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.personal-credit-increase-modal.is-open {
  display: flex;
}
.personal-credit-increase-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}
.personal-credit-increase-dialog {
  position: relative;
  width: min(524px, calc(100vw - 40px));
  min-height: 349px;
  padding: 0 22px 35px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 21px rgba(107, 124, 255, .1);
  box-sizing: border-box;
}
.personal-credit-increase-header {
  display: flex;
  height: 65px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.personal-credit-increase-header h2 {
  margin: 0;
  color: #333;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}
.personal-credit-increase-close {
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.personal-credit-increase-close svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #333;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.personal-credit-increase-form {
  padding-top: 22px;
}
.personal-credit-increase-field {
  display: block;
}
.personal-credit-increase-field + .personal-credit-increase-field {
  margin-top: 17px;
}
.personal-credit-increase-field strong {
  display: block;
  margin-bottom: 14px;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
}
.personal-credit-increase-field input {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 11px;
  border: 1px solid #eee;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  color: #333;
  font-size: 13px;
}
.personal-credit-increase-field input::placeholder {
  color: #999;
}
.personal-credit-increase-field input:focus {
  border-color: #6b7cff;
}
.personal-credit-increase-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 35px;
}
.personal-credit-increase-actions button {
  height: 34px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.personal-credit-increase-submit.enterprise-credit-submit-button {
  width: auto;
  margin: 0;
  border: 1px solid #6b7cff;
  background: #6b7cff;
  color: #fff;
}
.personal-credit-increase-cancel {
  border: 1px solid transparent;
  background: #fff;
  color: #6b7cff;
}
@media (max-width: 800px) {
  .personal-credit-increase-dialog {
    min-height: 0;
    padding: 0 24px 32px;
  }
  .personal-credit-increase-header {
    height: 72px;
  }
  .personal-credit-increase-header h2 {
    font-size: 22px;
  }
  .personal-credit-increase-actions {
    margin-top: 36px;
  }
  .personal-credit-increase-actions button {
    height: 38px;
    padding: 0 22px;
    font-size: 15px;
  }
}
.enterprise-credit-usage-card {
  min-height: 0;
  padding: clamp(9px, 1cqw, 12px);
  aspect-ratio: 592 / 200;
}
.enterprise-credit-usage-card h2 {
  margin: 0;
}
.enterprise-credit-gauge {
  position: relative;
  width: clamp(100px, 12.333cqw, 148px);
  aspect-ratio: 148 / 142;
  margin: 0 auto;
}
.enterprise-credit-gauge svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.enterprise-credit-gauge path {
  fill: none;
  stroke: #6b7cff;
  stroke-width: clamp(6px, .667cqw, 8px);
  stroke-linecap: round;
}
.enterprise-credit-gauge-track {
  opacity: .3;
}
.enterprise-credit-gauge-value {
  stroke-dashoffset: 0;
}
.enterprise-credit-gauge strong {
  position: absolute;
  top: 43.66%;
  left: 0;
  width: 100%;
  color: #6b7cff;
  font-size: clamp(12px, 1.333cqw, 16px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.enterprise-credit-bills {
  display: flex;
  margin-top: clamp(16px, 2cqw, 24px);
  padding: clamp(15px, 1.667cqw, 20px) clamp(9px, 1cqw, 12px) 0;
  flex-direction: column;
  aspect-ratio: 1200 / 312;
  overflow: hidden;
}
.enterprise-credit-bills-heading {
  display: flex;
  min-height: clamp(38px, 4.25cqw, 51px);
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(15px, 1.667cqw, 20px);
}
.enterprise-credit-bills-heading h2 {
  margin: 0;
  font-size: clamp(18px, 2cqw, 24px);
  font-weight: 700;
  line-height: 1.45;
}
.enterprise-credit-repayment-history {
  min-height: clamp(32px, 3.5cqw, 42px);
  margin-left: auto;
  padding: 0 clamp(12px, 1.333cqw, 16px);
  border: 1px solid #6b7cff;
  border-radius: clamp(6px, .667cqw, 8px);
  background: #fff;
  color: #6b7cff;
  font-size: clamp(13px, 1.333cqw, 16px);
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.enterprise-credit-repayment-history:hover {
  background: #6b7cff;
  color: #fff;
}
.enterprise-credit-repayment-history:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(107, 124, 255, .2);
}
.enterprise-credit-bill-tools { display:flex; align-items:center; gap:clamp(8px,1cqw,12px); margin-left:auto; }
.enterprise-credit-bill-tools .enterprise-credit-repayment-history { margin-left:0; }
.credit-history-open { overflow:hidden; }
.credit-history-modal { position:fixed; z-index:10030; inset:0; display:flex; padding:20px; align-items:center; justify-content:center; }
.credit-history-modal[hidden] { display:none; }
.credit-history-mask { position:absolute; inset:0; background:rgba(0,0,0,.5); }
/* 固定高度：弹窗不随表格行数变化而伸缩，滚动范围交给表格容器 */
.credit-history-dialog { position:relative; z-index:1; display:flex; width:min(980px,calc(100vw - 40px)); height:min(640px,calc(100vh - 40px)); overflow:hidden; flex-direction:column; border-radius:15px; background:#fff; box-shadow:0 18px 50px rgba(0,0,0,.16); }
.credit-history-header { display:flex; height:65px; padding:0 24px; flex:none; align-items:center; justify-content:space-between; border-bottom:1px solid #eee; }
.credit-history-header h2 { margin:0; color:#333; font-size:22px; font-weight:400; line-height:1.5; }
.credit-history-close { width:17px; height:17px; padding:0; border:0; background:transparent; cursor:pointer; }
.credit-history-close svg { display:block; width:17px; height:17px; fill:none; stroke:#333; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.credit-history-body { display:flex; min-height:0; padding:18px 24px 22px; flex:1; flex-direction:column; }
.credit-history-toolbar,.credit-history-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.credit-history-toolbar p { margin:0; color:#777; font-size:13px; }
.credit-history-refresh,.credit-history-continue,.credit-history-prev,.credit-history-next { padding:6px 12px; border:1px solid #6b7cff; border-radius:5px; background:#fff; color:#6b7cff; cursor:pointer; transition:background .15s ease,border-color .15s ease,color .15s ease; }
/* 主操作：「继续支付」实色填充 */
.credit-history-continue { border-color:#6b7cff; background:#6b7cff; color:#fff; white-space:nowrap; }
.credit-history-continue:not(:disabled):hover { border-color:#5566f0; background:#5566f0; }
/* 次要操作：「刷新状态」「翻页」描边样式，避免与主操作抢焦点 */
.credit-history-refresh { position:relative; border-color:#dfe3ec; color:#5a6478; transition:background .15s ease,border-color .15s ease,color .15s ease,padding-left .15s ease; }
.credit-history-refresh:not(:disabled):hover { border-color:#6b7cff; background:#f5f7ff; color:#6b7cff; }
.credit-history-prev:not(:disabled):hover,.credit-history-next:not(:disabled):hover { background:#f5f7ff; }
.credit-history-refresh:disabled,.credit-history-continue:disabled,.credit-history-prev:disabled,.credit-history-next:disabled { opacity:.45; cursor:not-allowed; }
.credit-history-refresh:focus-visible,.credit-history-continue:focus-visible,.credit-history-prev:focus-visible,.credit-history-next:focus-visible,.credit-history-close:focus-visible { outline:2px solid #6b7cff; outline-offset:2px; }
/* 加载中：左侧平滑让位给转圈图标，按钮变宽有过渡，不会突跳 */
.credit-history-refresh.is-loading { padding-left:30px; opacity:1; cursor:progress; }
.credit-history-refresh.is-loading::before { content:''; position:absolute; top:50%; left:13px; width:11px; height:11px; margin-top:-5.5px; border:2px solid currentColor; border-top-color:transparent; border-radius:50%; animation:credit-history-spin .65s linear infinite; }
@keyframes credit-history-spin { to { transform:rotate(360deg); } }
.credit-history-message { min-height:20px; margin:12px 0; color:#666; font-size:13px; line-height:20px; visibility:visible; }
.credit-history-message[hidden] { display:block; visibility:hidden; }
.credit-history-message.is-error { color:#e33; }
.credit-history-table-wrap { margin-top:14px; min-height:0; flex:1; overflow:auto; border:1px solid #eef0f4; border-radius:10px; overscroll-behavior:contain; }
/* 加载反馈只落在“刷新状态”按钮上，表格数据保持原样不动 */
.credit-history-table { width:100%; min-width:720px; border-collapse:separate; border-spacing:0; color:#333; font-size:13px; }
.credit-history-table th,.credit-history-table td { padding:12px 12px; border-bottom:1px solid #eef0f4; text-align:left; vertical-align:middle; }
.credit-history-table th { position:sticky; z-index:1; top:0; background:#f4f6fa; color:#5a6478; font-weight:500; white-space:nowrap; }
.credit-history-table tbody tr { transition:background .15s ease; }
.credit-history-table tbody tr:hover td { background:#fafbff; }
.credit-history-table tbody tr:last-child td { border-bottom:0; }
/* 列宽：单号列限宽，避免独占剩余空间把操作列挤扁；金额列右对齐便于纵向比对位数 */
.credit-history-table th:nth-child(1),.credit-history-table td:nth-child(1) { width:230px; }
.credit-history-table th:nth-child(2),.credit-history-table td:nth-child(2) { width:112px; text-align:right; }
.credit-history-table th:nth-child(3),.credit-history-table td:nth-child(3) { width:92px; }
.credit-history-table th:nth-child(4),.credit-history-table td:nth-child(4) { width:120px; }
.credit-history-table th:nth-child(5),.credit-history-table td:nth-child(5) { width:152px; }
.credit-history-table th:nth-child(6),.credit-history-table td:nth-child(6) { width:118px; white-space:nowrap; }
.credit-history-number { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color:#4a5568; font-size:12px; letter-spacing:-.2px; }
.credit-history-amount strong { display:block; color:#1f2d3d; font-size:15px; font-weight:600; font-variant-numeric:tabular-nums; }
.credit-history-amount small,.credit-history-status + small,.credit-history-time small { display:block; margin-top:4px; color:#98a1b0; font-size:12px; line-height:1.4; }
.credit-history-status { display:inline-block; padding:3px 10px; border-radius:12px; background:#f0f1f5; color:#67707e; font-size:12px; line-height:1.5; white-space:nowrap; }
.credit-history-status.is-pending { background:#fff5e3; color:#b26a00; }
.credit-history-status.is-success { background:#e9f9ef; color:#17864a; }
/* 支付失败才是异常，用红色 */
.credit-history-status.is-failed { background:#fdecec; color:#cf3b3b; }
/* 已关闭属于中性状态（用户取消/超时关闭），用灰色，避免误导为出错 */
.credit-history-status.is-closed { background:#f0f1f5; color:#77808f; }
.credit-history-time span { color:#4a5568; }
.credit-history-muted { color:#9aa3b0; }
.credit-history-empty { padding:48px 20px!important; color:#98a1b0; text-align:center!important; }
/* 首次加载骨架行：替代“正在加载…”文字，避免闪烁 */
.credit-history-skeleton { pointer-events:none; }
.credit-history-table tbody tr.credit-history-skeleton:hover td { background:transparent; }
.credit-history-skeleton td { padding:11px 12px; }
.credit-history-skeleton span { display:block; height:26px; border-radius:6px; background:linear-gradient(90deg,#f2f4f9 25%,#e7ebf3 37%,#f2f4f9 63%); background-size:400% 100%; animation:credit-history-shimmer 1.4s ease infinite; }
@keyframes credit-history-shimmer { from { background-position:100% 0; } to { background-position:0 0; } }
@media (prefers-reduced-motion:reduce) { .credit-history-skeleton span { animation:none; } .credit-history-refresh.is-loading::before { animation:none; } }
.credit-history-footer { margin-top:16px; flex:none; color:#7d8695; font-size:13px; }
.credit-history-pages { display:flex; align-items:center; gap:10px; }
@media (max-width:767px) { .enterprise-credit-bill-tools { flex-wrap:wrap; justify-content:flex-end; } .credit-history-modal { padding:12px; } .credit-history-dialog { width:calc(100vw - 24px); height:min(560px,calc(100vh - 24px)); border-radius:12px; } .credit-history-header { height:72px; padding:0 16px; } .credit-history-header h2 { font-size:22px; } .credit-history-body { padding:14px 16px 16px; } .credit-history-toolbar { align-items:flex-start; flex-direction:column; gap:10px; } .credit-history-toolbar p { font-size:12px; } .credit-history-table-wrap { margin-top:12px; } .credit-history-table { min-width:640px; font-size:12px; } .credit-history-table th,.credit-history-table td { padding:10px 8px; } .credit-history-table th:nth-child(1),.credit-history-table td:nth-child(1) { width:200px; } .credit-history-table th:nth-child(2),.credit-history-table td:nth-child(2) { width:96px; } .credit-history-table th:nth-child(3),.credit-history-table td:nth-child(3) { width:80px; } .credit-history-table th:nth-child(4),.credit-history-table td:nth-child(4) { width:104px; } .credit-history-table th:nth-child(5),.credit-history-table td:nth-child(5) { width:130px; } .credit-history-table th:nth-child(6),.credit-history-table td:nth-child(6) { width:100px; white-space:nowrap; } .credit-history-amount strong { font-size:14px; } .credit-history-footer { margin-top:12px; font-size:12px; } }
.enterprise-credit-month {
  position: relative;
  display: flex;
  width: clamp(123px, 13.667cqw, 164px);
  min-width: 0;
  height: clamp(38px, 4.25cqw, 51px);
  padding: 0;
  align-items: center;
  border: 1px solid #eee;
  border-radius: clamp(6px, .667cqw, 8px);
  box-sizing: border-box;
  font-size: clamp(14px, 1.5cqw, 18px);
}
/* 原生 <input type="month"> 样式：个人额度页仍在用（personal_credit_apply.html），
   企业额度页已改为 laydate 月份面板（下组规则），这里保留不动。 */
.enterprise-credit-month-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0 clamp(30px, 3.333cqw, 40px) 0 clamp(16px, 1.667cqw, 20px);
  border: 0;
  border-radius: inherit;
  outline: none;
  background: transparent;
  color: #333;
  font: inherit;
  cursor: pointer;
}
.enterprise-credit-month.is-empty .enterprise-credit-month-input,
.enterprise-credit-month.is-empty .enterprise-credit-month-input::-webkit-datetime-edit {
  color: transparent;
}
.enterprise-credit-month-placeholder {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: clamp(12px, 1.333cqw, 16px);
  display: none;
  color: #333;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}
.enterprise-credit-month.is-empty .enterprise-credit-month-placeholder {
  display: block;
}
.enterprise-credit-month-input:focus-visible {
  box-shadow: 0 0 0 2px rgba(107, 124, 255, .18);
}
.enterprise-credit-month-input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  opacity: 0;
  cursor: pointer;
}
/* laydate 月份面板版：只读文本框 + 箭头 + 隐藏域（对齐额度明细页的日期筛选）。
   ⚠️ 选择器必须带父级：main.css:157 的全局重置 `input[type="text"] { padding: 0 }`
   特异性为 (0,1,1)，单类选择器 (0,1,0) 会被它压制 → padding 全部失效（「全部」贴住左边框）。
   这里提升到 (0,2,0) 才能盖过重置。 */
.enterprise-credit-month .enterprise-credit-month-range {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 clamp(30px, 3.333cqw, 40px) 0 clamp(16px, 1.667cqw, 20px);
  border: 0;
  border-radius: inherit;
  outline: none;
  background: transparent;
  color: #333;
  font: inherit;
  cursor: pointer;
  text-overflow: ellipsis;
}
.enterprise-credit-month-range::placeholder {
  color: #999;
}
.enterprise-credit-month-range:focus-visible {
  box-shadow: 0 0 0 2px rgba(107, 124, 255, .18);
}
/* 箭头：.enterprise-credit-month i 供个人额度页（原生 month 版）使用，
   .enterprise-credit-month-caret 供企业额度页（laydate 月份面板版）使用，两者几何一致 */
.enterprise-credit-month i,
.enterprise-credit-month-caret {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: clamp(12px, 1.333cqw, 16px);
  width: clamp(6px, .667cqw, 8px);
  height: clamp(6px, .667cqw, 8px);
  border-right: 1px solid #231815;
  border-bottom: 1px solid #231815;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
.enterprise-credit-bill-table {
  display: flex;
  min-height: 0;
  margin-top: clamp(12px, 1.333cqw, 16px);
  flex: 1;
  flex-direction: column;
}
.enterprise-credit-bill-row {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1.15fr 1.05fr 1.05fr 1fr;
  align-items: center;
}
.enterprise-credit-bill-head {
  min-height: clamp(42px, 4.667cqw, 56px);
  padding: 0 clamp(15px, 1.667cqw, 20px);
  border-radius: clamp(6px, .667cqw, 8px) clamp(6px, .667cqw, 8px) 0 0;
  background: #f2f4f8;
  font-size: clamp(12px, 1.333cqw, 16px);
}
.enterprise-credit-bill-data {
  width: 100%;
  min-height: clamp(42px, 4.667cqw, 56px);
  padding: 0 clamp(15px, 1.667cqw, 20px);
  border: 0;
  border-bottom: 1px solid #eee;
  outline: none;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: clamp(12px, 1.333cqw, 16px);
  text-align: left;
  cursor: pointer;
  appearance: none;
}
.enterprise-credit-bill-data:hover,
.enterprise-credit-bill-data:focus-visible,
.enterprise-credit-bill-data.is-expanded {
  background: #fafbff;
}
.enterprise-credit-bill-month-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(5px, .667cqw, 8px);
}
.enterprise-credit-bill-month-cell strong {
  font-weight: 400;
  white-space: nowrap;
}
.enterprise-credit-bill-month-cell em {
  padding: 1px 5px;
  border-radius: 4px;
  background: #f2f4f8;
  color: #999;
  font-size: clamp(10px, 1cqw, 12px);
  font-style: normal;
  line-height: 1.5;
  white-space: nowrap;
}
.enterprise-credit-bill-month-cell i {
  width: 6px;
  height: 6px;
  margin-left: auto;
  margin-right: clamp(4px, .667cqw, 8px);
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.enterprise-credit-bill-data.is-expanded .enterprise-credit-bill-month-cell i {
  transform: rotate(225deg) translate(-1px, -1px);
}
.enterprise-credit-bill-status {
  color: #ff9412;
  font-style: normal;
  white-space: nowrap;
}
.enterprise-credit-bill-status.status-paid {
  color: #43d63e;
}
.enterprise-credit-bill-status.status-overdue {
  color: #ff3333;
}
.enterprise-credit-bill-status.status-partial {
  color: #6b7cff;
}
.enterprise-credit-bill-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.enterprise-credit-bill-repay-button {
  width: 52px;
  height: 22px;
  padding: 1px 7px;
  border: 1px solid #6b7cff;
  border-radius: 20px;
  outline: none;
  background: transparent;
  color: #6b7cff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  transition: none;
}
.enterprise-credit-bill-repay-button:hover {
  border-color: #6b7cff;
  background: transparent;
  color: #6b7cff;
}
.enterprise-credit-bill-repay-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(107, 124, 255, .2);
}
body.enterprise-credit-repayment-open {
  overflow: hidden;
}
.enterprise-credit-repayment-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.enterprise-credit-repayment-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.enterprise-credit-repayment-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}
.enterprise-credit-repayment-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 15px;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}
.enterprise-credit-repayment-header {
  display: flex;
  height: 65px;
  min-height: 65px;
  padding: 0 24px;
  border-bottom: 1px solid #eee;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.enterprise-credit-repayment-header h2 {
  margin: 0;
  color: #333;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}
.enterprise-credit-repayment-close {
  display: flex;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  outline: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #333;
  cursor: pointer;
}
.enterprise-credit-repayment-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(107, 124, 255, .2);
}
.enterprise-credit-repayment-close svg {
  width: 17px;
  height: 17px;
}
.enterprise-credit-repayment-close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enterprise-credit-repayment-content {
  padding: 18px 24px 40px;
}
.enterprise-credit-repayment-warning {
  display: flex;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #ff3333;
  border-radius: 6px;
  align-items: center;
  box-sizing: border-box;
  background: rgba(255, 51, 51, .05);
  color: #ff3333;
  font-size: 14px;
  line-height: 21px;
}
.enterprise-credit-repayment-warning + .enterprise-credit-repayment-table-wrap {
  margin-top: 18px;
}
.enterprise-credit-repayment-table-wrap {
  overflow-x: auto;
}
.enterprise-credit-repayment-table {
  min-width: 852px;
}
.enterprise-credit-repayment-row {
  display: grid;
  min-height: 42px;
  padding: 0 15px;
  grid-template-columns: 105px repeat(5, minmax(112px, 1fr));
  align-items: center;
  box-sizing: border-box;
  color: #333;
  font-size: 14px;
  line-height: 21px;
}
.enterprise-credit-repayment-table-head {
  border-radius: 8px 8px 0 0;
  background: #f2f4f8;
}
.enterprise-credit-repayment-bill-row > span:nth-child(4),
.enterprise-credit-repayment-bill-row > span:nth-child(6) {
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 8px 8px 8px 0;
}
.enterprise-credit-repayment-select-all {
  cursor: pointer;
  user-select: none;
}
.enterprise-credit-repayment-select-all:focus-visible,
.enterprise-credit-repayment-bill-row:focus-visible {
  outline: 2px solid rgba(107, 124, 255, .65);
  outline-offset: -2px;
}
.enterprise-credit-repayment-bill-row {
  border-bottom: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  transition: background-color .15s ease;
}
.enterprise-credit-repayment-bill-row:hover {
  background: #f8f9ff;
}
.enterprise-credit-repayment-bill-row.is-overdue {
  background: rgba(255, 51, 51, .05);
}
.enterprise-credit-repayment-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.enterprise-credit-repayment-check-cell {
  display: flex;
  align-items: center;
  gap: 4px;
}
.enterprise-credit-repayment-check-cell em,
.enterprise-credit-repayment-row em {
  font-style: normal;
}
.enterprise-credit-repayment-check {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid #999;
  border-radius: 1px;
  box-sizing: border-box;
}
.enterprise-credit-repayment-bill-row.is-selected .enterprise-credit-repayment-check {
  border-color: #6b7cff;
  background: #6b7cff;
}
.enterprise-credit-repayment-select-all.is-selected .enterprise-credit-repayment-check {
  border-color: #6b7cff;
  background: #6b7cff;
}
.enterprise-credit-repayment-select-all.is-selected .enterprise-credit-repayment-check::after {
  position: absolute;
  top: 1px;
  left: 3px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  content: '';
  transform: rotate(45deg);
}
.enterprise-credit-repayment-bill-row.is-selected .enterprise-credit-repayment-check::after {
  position: absolute;
  top: 1px;
  left: 3px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  content: '';
  transform: rotate(45deg);
}
.enterprise-credit-repayment-row .repayment-status-overdue {
  color: #ff3333;
}
.enterprise-credit-repayment-row .repayment-status-advance {
  color: #6b7cff;
}
.enterprise-credit-repayment-summary {
  margin-top: 23px;
}
.enterprise-credit-repayment-field {
  display: grid;
  width: min(465px, 100%);
  min-height: 38px;
  grid-template-columns: 75px minmax(0, 1fr);
  column-gap: 15px;
  align-items: center;
  color: #333;
  font-size: 14px;
  line-height: 21px;
}
.enterprise-credit-repayment-field + .enterprise-credit-repayment-field {
  margin-top: 18px;
}
.enterprise-credit-repayment-field > span {
  white-space: nowrap;
}
.enterprise-credit-repayment-field strong {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.enterprise-credit-repayment-field input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 15px;
}
.enterprise-credit-repayment-field input:focus {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107, 124, 255, .12);
}
.enterprise-credit-repayment-payment-methods {
  display: flex;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: #333;
  font-size: 14px;
  line-height: 21px;
}
.enterprise-credit-repayment-payment-methods > span {
  margin-right: -12px;
  white-space: nowrap;
}
.enterprise-credit-repayment-payment-methods small {
  font-size: inherit;
}
.enterprise-credit-repayment-payment-methods label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.enterprise-credit-repayment-payment-methods input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.enterprise-credit-repayment-payment-methods label i {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 1.5px solid #999;
  border-radius: 50%;
  box-sizing: border-box;
}
.enterprise-credit-repayment-payment-methods input:checked + i {
  border-color: #6b7cff;
}
.enterprise-credit-repayment-payment-methods input:checked + i::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #6b7cff;
  content: '';
}
.enterprise-credit-repayment-payment-methods input:focus-visible + i {
  box-shadow: 0 0 0 3px rgba(107, 124, 255, .2);
}
.enterprise-credit-repayment-payment-methods label em {
  font-style: normal;
  white-space: nowrap;
}
.enterprise-credit-repayment-balance {
  margin-top: 26px;
}
.enterprise-credit-repayment-submit {
  display: block;
  width: auto;
  height: 44px;
  margin: 53px auto 0;
  padding: 0 24px;
  border: 1px solid #6b7cff;
  border-radius: 6px;
  outline: none;
  background: #6b7cff;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
.enterprise-credit-repayment-submit:hover {
  background: #596bed;
}
.enterprise-credit-repayment-submit:focus-visible {
  box-shadow: 0 0 0 4px rgba(107, 124, 255, .2);
}
@media (max-width: 767px) {
  .enterprise-credit-repayment-modal {
    padding: 12px;
  }
  .enterprise-credit-repayment-dialog {
    width: min(900px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
  }
  .enterprise-credit-repayment-header {
    height: 72px;
    min-height: 72px;
    padding: 0 20px;
  }
  .enterprise-credit-repayment-header h2 {
    font-size: 22px;
  }
  .enterprise-credit-repayment-content {
    padding: 20px 20px 32px;
  }
  .enterprise-credit-repayment-field {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .enterprise-credit-repayment-field + .enterprise-credit-repayment-field {
    margin-top: 18px;
  }
  .enterprise-credit-repayment-payment-methods {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .enterprise-credit-repayment-payment-methods > span {
    margin-right: 0;
  }
  .enterprise-credit-repayment-submit {
    height: 38px;
    margin-top: 36px;
    padding: 0 22px;
    font-size: 15px;
  }
}
.enterprise-credit-bill-detail {
  padding: clamp(12px, 1.333cqw, 16px) clamp(15px, 1.667cqw, 20px) clamp(16px, 2cqw, 24px);
  border-bottom: 1px solid #eee;
  background: #fafbff;
}
.enterprise-credit-bill-detail[hidden] {
  display: none;
}
.enterprise-credit-bill-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: clamp(11px, 1.083cqw, 13px);
  line-height: 1.5;
}
.enterprise-credit-bill-detail-heading strong {
  color: #333;
  font-weight: 500;
}
.enterprise-credit-bill-detail-heading span {
  color: #999;
}
.enterprise-credit-bill-detail-table {
  overflow-x: auto;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
}
.enterprise-credit-bill-detail-row {
  display: grid;
  min-width: 1040px;
  min-height: 44px;
  padding: 0 12px;
  grid-template-columns: 1.55fr 1.45fr .9fr 1.25fr .85fr .85fr .85fr .8fr;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
  color: #555;
  font-size: 12px;
  line-height: 1.5;
}
.enterprise-credit-bill-detail-row:last-child {
  border-bottom: 0;
}
/* 个人额度页的账单明细没有“下单人”列，单独定义 7 列网格，避免沿用 8 列时右侧留空 */
.personal-credit-dashboard .enterprise-credit-bill-detail-row {
  min-width: 890px;
  grid-template-columns: 1.55fr 1.15fr 1.25fr .85fr .85fr .85fr .8fr;
}
.enterprise-credit-bill-detail-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.enterprise-credit-bill-detail-head {
  min-height: 40px;
  background: #f2f4f8;
  color: #666;
}
.enterprise-credit-bill-empty {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: #999;
  font-size: clamp(12px, 1.167cqw, 14px);
}
.enterprise-credit-bill-pagination {
  margin-top: clamp(14px, 1.5cqw, 18px);
  text-align: center;
}
.enterprise-credit-bill-pagination .layui-laypage {
  margin: 0;
}

@media (max-width: 991.98px) {
  .credit-apply-entry {
    min-height: 620px;
    padding: 130px 20px 0;
  }
  .user-page .enterprise-cert-card {
    padding: 20px;
  }
  .enterprise-cert-fields,
  .enterprise-upload-grid,
  .enterprise-document-titles,
  .enterprise-template-row,
  .enterprise-credit-request-fields,
  .enterprise-credit-material-titles,
  .enterprise-credit-material-grid {
    grid-template-columns: 1fr;
  }
  .enterprise-document-titles,
  .enterprise-template-row {
    row-gap: 12px;
  }
  .enterprise-upload-grid {
    row-gap: 16px;
  }
  .enterprise-credit-material-titles,
  .enterprise-credit-material-grid {
    row-gap: 16px;
  }
  .enterprise-credit-proof-box {
    width: 100%;
  }
  .credit-account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .enterprise-credit-overview {
    grid-template-columns: 1fr;
  }
  .enterprise-credit-bill-table {
    overflow-x: auto;
  }
  .enterprise-credit-bill-row {
    min-width: 760px;
  }
  .enterprise-template-row > span {
    display: none;
  }
}
.user-page .user-menu-block-enterprise-service,
.user-page .user-menu-block-personal-service {
  margin-top: 30px;
}
.user-page .user-menu-card {
  position: static;
  top: auto;
  margin: 0;
  border-radius: 12px;
  background: linear-gradient(166.57deg, #f2f5ff 0%, #fffcff 31.94%, #fbfaff 68.06%, #fff 100%);
  box-shadow: 0 2px 4px rgba(134, 165, 209, 0.1);
  box-sizing: border-box;
}
.user-page .user-menu-card-functions {
  padding: 24px 0 32px 32px;
}
.user-page .user-menu-card-service {
  height: auto;
  min-height: 88px;
  padding: 20px 0 17px 32px;
}
.user-page .user-menu-card li {
  height: 51px;
  padding: 0 14px 0 38px;
  border-radius: 12px 0 0 12px;
  box-sizing: border-box;
}

.employee-management-page {
  width: 100%;
}
.employee-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.employee-summary-card {
  min-height: 74px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
.employee-summary-card > span,
.employee-summary-heading > span:first-child {
  display: block;
  color: #999;
  font-size: 12px;
  line-height: 17px;
}
.employee-summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.employee-summary-heading .employee-account-status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #43d63e;
  font-size: 10px;
  line-height: 14px;
}
.employee-account-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.employee-summary-heading .employee-account-status-frozen,
.employee-summary-heading .employee-account-status-expired {
  color: #ff8a34;
}
.employee-summary-heading .employee-account-status-disabled {
  color: #999;
}
.employee-summary-card strong {
  display: block;
  margin-top: 5px;
  color: #333;
  font-size: 19px;
  font-weight: 500;
  line-height: 28px;
}
.employee-summary-card em {
  margin-left: 2px;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}
/* 英文版金额用「¥」前缀、无后缀，此时 <em> 为空；
   不隐藏的话会白占 2px 的 margin-left，在数字后面留下一道空隙 */
.employee-summary-card em:empty {
  display: none;
}
.employee-list-card {
  min-height: 328px;
  margin-top: 19px;
  padding: 16px 19px 24px;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
.employee-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.employee-list-heading h1 {
  margin: 0;
  color: #333;
  font-size: 19px;
  font-weight: 500;
  line-height: 29px;
}
.employee-list-heading h1 em {
  margin-left: 5px;
  color: #6b7cff;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}
.employee-list-heading > span {
  color: #999;
  font-size: 12px;
}
.employee-pending-invite-card {
  min-height: 0;
}
.employee-status-filter label {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}
.employee-status-filter select {
  height: 34px;
  padding: 0 22px 0 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 12px;
  outline: none;
}
.employee-add-button,
.employee-search-box button {
  border: 0;
  background: #6b7cff;
  color: #fff;
  cursor: pointer;
}
.employee-add-button {
  height: 32px;
  padding: 0 13px;
  border-radius: 6px;
  font-size: 13px;
}
.employee-add-button i {
  margin-right: 5px;
}
.employee-filter-form {
  display: flex;
  margin-top: 16px;
  align-items: center;
  justify-content: space-between;
}
.employee-list-tools { display: flex; align-items: center; gap: 10px; }
.employee-history-open {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid #6b7cff;
  border-radius: 6px;
  background: #fff;
  color: #6b7cff;
  font-size: 13px;
  cursor: pointer;
}
.employee-history-pending-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #ff4d4f;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
}
.employee-management-page .employee-pending-reservation {
  margin: 12px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 18px;
}
body.employee-history-opened { overflow: hidden; }
.employee-history-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.employee-history-modal[hidden] { display: none; }
.employee-history-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.employee-history-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  padding: 0 26px 26px;
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
}
.employee-history-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; min-height: 74px; border-bottom: 1px solid #eee; }
.employee-history-header h2 { margin: 0; font-size: 22px; font-weight: 400; color: #333; }
.employee-history-close { border: 0; background: transparent; font-size: 28px; line-height: 1; color: #666; cursor: pointer; }
.employee-history-filters { display: flex; flex: 0 0 auto; gap: 12px; margin: 20px 0; }
.employee-history-filters input, .employee-history-filters select { min-width: 0; height: 36px; padding: 0 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; background: #fff; }
.employee-history-filters input { flex: 1; }
.employee-history-filters button { padding: 0 18px; border: 0; border-radius: 6px; background: #6b7cff; color: #fff; cursor: pointer; }
.employee-history-table-wrap { overflow: auto; min-height: 120px; }
.employee-history-table { width: 100%; min-width: 940px; font-size: 13px; line-height: 1.5; color: #333; }
.employee-history-table th, .employee-history-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #eee; }
.employee-history-table th { background: #f4f5f8; font-weight: 400; white-space: nowrap; }
.employee-history-table td:nth-child(1), .employee-history-table td:nth-child(2) { overflow-wrap: anywhere; max-width: 210px; }
.employee-history-table td:nth-child(n+3) { white-space: nowrap; }
.employee-history-table .employee-history-message { padding: 40px 10px; text-align: center; color: #999; }
.employee-history-contact div + div { color: #999; }
.employee-history-status { color: #999; }
.employee-history-status.status-0 { color: #ff9412; }
.employee-history-status.status-1 { color: #35ad68; }
.employee-history-status.status-2 { color: #f56c6c; }
.employee-history-revoke { border: 0; background: transparent; color: #6b7cff; cursor: pointer; }
.employee-history-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 13px; color: #999; }
.employee-history-footer > div { display: flex; align-items: center; gap: 12px; }
.employee-history-footer button { padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #666; cursor: pointer; }
.employee-history-modal button:disabled { cursor: default; opacity: .5; }
@media (max-width: 767px) {
  .employee-history-modal { padding: 12px; }
  .employee-history-dialog { padding: 0 16px 20px; max-height: calc(100vh - 24px); }
  .employee-history-filters { flex-wrap: wrap; }
  .employee-history-filters input { flex-basis: 100%; }
  .employee-history-filters select { flex: 1; }
  .employee-history-footer { flex-wrap: wrap; }
}
.employee-search-box {
  display: flex;
  width: min(381px, 70%);
  height: 36px;
  padding: 3px;
  align-items: center;
  border: 1px solid #6b7cff;
  border-radius: 6px;
  box-sizing: border-box;
  background: #fff;
}
.employee-search-box input {
  min-width: 0;
  height: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  flex: 1;
  color: #333;
  font-size: 12px;
  outline: none;
}
.employee-search-box input::placeholder {
  color: #999;
}
.employee-search-box button {
  width: 56px;
  height: 28px;
  padding: 0;
  border-radius: 3px;
  flex: 0 0 56px;
  font-size: 12px;
}
.employee-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}
.employee-table {
  width: 100%;
  min-width: 752px;
  border-collapse: collapse;
  table-layout: fixed;
}
.employee-table th,
.employee-table td {
  height: 45px;
  padding: 0 6px;
  border-bottom: 1px solid #f1f1f1;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}
.employee-table th:last-child,
.employee-table td:last-child {
  width: 264px;
}
.employee-table thead th {
  background: #fafbff;
}
.employee-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.employee-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
}
.employee-status-1 {
  color: #43d63e;
}
.employee-status-1 i {
  background: #43d63e;
}
.employee-actions {
  white-space: nowrap;
}
.employee-actions button {
  padding: 0;
  border: 0;
  background: none;
  color: #6b7cff;
  cursor: pointer;
  font-size: 12px;
}
.employee-actions > i::after {
  margin: 0 4px;
  color: #ddd;
  content: "|";
  font-style: normal;
}
.employee-operation-confirm {
  max-width: calc(100vw - 32px);
}
.employee-operation-confirm .layui-layer-content {
  white-space: normal;
  word-break: break-word;
  line-height: 1.8;
}
.employee-empty-row td {
  width: auto !important;
  height: 128px;
  color: #999;
  text-align: center;
  vertical-align: middle;
}
body.employee-editor-open {
  overflow: hidden;
}
body.employee-quota-modal-open {
  overflow: hidden;
}
.employee-quota-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.employee-quota-modal.is-open {
  display: flex;
}
.employee-quota-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.employee-quota-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 40px));
  min-height: 450px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 30px rgba(107, 124, 255, 0.1);
  box-sizing: border-box;
  overflow: hidden;
  backdrop-filter: blur(50px);
}
.employee-quota-header {
  display: flex;
  height: 74px;
  margin: 0 26px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}
.employee-quota-header h2 {
  margin: 0;
  color: #333;
  font-family: "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 33px;
}
.employee-quota-close {
  display: flex;
  width: 24px;
  height: 24px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.employee-quota-close svg {
  width: 24px;
  height: 24px;
}
.employee-quota-close path {
  fill: none;
  stroke: #333;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.employee-quota-form {
  padding: 25px 26px 26px;
  color: #333;
  font-family: "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
}
.employee-quota-name,
.employee-quota-summary strong,
.employee-quota-amount > strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}
.employee-quota-name {
  display: block;
}
.employee-quota-summary {
  display: flex;
  margin-top: 24px;
  align-items: center;
  gap: 45px;
}
.employee-quota-method {
  display: flex;
  margin-top: 22px;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  line-height: 21px;
}
.employee-quota-method > span {
  margin-right: 4px;
}
.employee-quota-method label {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.employee-quota-method input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.employee-quota-method i {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #999;
  border-radius: 50%;
  box-sizing: border-box;
}
.employee-quota-method input:checked + i {
  border-color: #6b7cff;
}
.employee-quota-method input:checked + i::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #6b7cff;
  content: "";
}
.employee-quota-amount {
  display: block;
  width: 501px;
  max-width: 100%;
  margin: 21px 0 0;
}
.employee-quota-amount > strong {
  display: block;
  margin-bottom: 12px;
}
.employee-quota-amount input {
  width: 100%;
  height: 41px;
  padding: 0 13px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  color: #333;
  font-size: 14px;
  outline: none;
}
.employee-quota-amount input::placeholder {
  color: #999;
}
.employee-quota-amount input:focus {
  border-color: #6b7cff;
}
.employee-quota-hint {
  display: flex;
  margin-top: 7px;
  justify-content: space-between;
  gap: 15px;
  color: #999;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}
.employee-quota-result.is-error {
  color: #ff4d4f;
}
.employee-quota-confirm {
  display: block;
  width: 120px;
  height: 40px;
  margin: 38px auto 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #6b7cff;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
}
.employee-quota-confirm:hover {
  background: #5f70f0;
}
.employee-quota-confirm:disabled {
  cursor: default;
  opacity: 0.65;
}
.employee-editor-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  align-items: center;
  justify-content: center;
}
.employee-editor-modal.is-open {
  display: flex;
}
.employee-editor-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.employee-editor-dialog {
  position: relative;
  z-index: 1;
  width: min(883px, calc(100vw - 40px));
  min-height: 612px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 24px rgba(107, 124, 255, 0.1);
  box-sizing: border-box;
}
.employee-editor-header {
  display: flex;
  height: 74px;
  margin: 0 26px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}
.employee-editor-header h2 {
  margin: 0;
  color: #333;
  font-size: 22px;
  font-weight: 400;
  line-height: 33px;
}
.employee-editor-close {
  display: flex;
  width: 24px;
  height: 24px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  cursor: pointer;
}
.employee-editor-close svg {
  width: 19px;
  height: 19px;
}
.employee-editor-close path {
  fill: none;
  stroke: #333;
  stroke-linecap: round;
  stroke-width: 1.5;
}
.employee-editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 11px;
  padding: 25px 26px 26px;
}
.employee-editor-form[hidden] { display: none; }
.employee-add-modes {
  display: flex;
  gap: 12px;
  padding: 18px 26px 0;
}
.employee-add-modes button {
  padding: 8px 16px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  color: #666;
  font-size: 14px;
  cursor: pointer;
}
.employee-add-modes button[aria-pressed="true"] {
  border-color: #6b7cff;
  background: #f4f5ff;
  color: #6b7cff;
}
.employee-create-form .employee-create-hint {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #999;
}
.employee-account-search-field {
  grid-column: 1 / -1;
}
.employee-account-search-box {
  display: flex;
  width: 100%;
  height: 41px;
  padding: 3px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 6px;
  box-sizing: border-box;
  background: #fff;
}
.employee-account-search-box:focus-within {
  border-color: #6b7cff;
}
.employee-editor-field .employee-account-search-box input {
  width: auto;
  min-width: 0;
  height: 33px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  flex: 1;
  background: transparent;
  box-shadow: none;
  outline: none;
}
.employee-account-search-button {
  height: 33px;
  min-width: 72px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: #6b7cff;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}
.employee-account-search-button:disabled {
  cursor: default;
  opacity: 0.65;
}
.employee-account-search-message {
  display: block;
  min-height: 18px;
  color: #999;
  font-size: 12px;
  line-height: 18px;
}
.employee-account-search-message.is-error {
  color: #ff4d4f;
}
.employee-account-search-message.is-success {
  color: #43b83f;
}
.employee-account-result {
  display: none;
  grid-column: 1 / -1;
  min-height: 104px;
  padding: 16px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafbff;
  box-sizing: border-box;
}
.employee-account-result.is-visible {
  display: flex;
}
.employee-account-copy {
  min-width: 0;
}
.employee-account-copy strong {
  display: block;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}
.employee-account-copy p {
  margin: 5px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 18px;
}
.employee-bind-fields {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 11px;
}
.employee-bind-fields.is-visible {
  display: grid;
}
.employee-bind-fields > input[type="hidden"] {
  display: none;
}
.employee-bind-remark {
  grid-column: 1 / -1;
}
.employee-bind-confirm-row {
  display: flex;
  grid-column: 1 / -1;
  padding-top: 14px;
  justify-content: center;
}
.employee-editor-field {
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 16px;
}
.employee-editor-field > span {
  color: #333;
  font-size: 13px;
  line-height: 19px;
}
.employee-editor-field > span em {
  margin-left: 2px;
  color: #ff4d4f;
  font-style: normal;
}
.employee-editor-field input,
.employee-editor-field select {
  width: 100%;
  height: 41px;
  padding: 0 13px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  color: #333;
  font-size: 14px;
  outline: none;
}
.employee-editor-field input::placeholder,
.employee-editor-field select:invalid {
  color: #999;
}
.employee-editor-field input:focus,
.employee-editor-field select:focus {
  border-color: #6b7cff;
}
.employee-allocation-hint {
  margin-top: -11px;
  color: #999;
  font-size: 11px;
  line-height: 16px;
}
.employee-editor-submit-row {
  display: flex;
  grid-column: 1 / -1;
  padding-top: 125px;
  justify-content: center;
}
.employee-editor-submit {
  min-width: 120px;
  height: 40px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: #6b7cff;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
}
.employee-editor-submit:disabled {
  cursor: default;
  opacity: 0.65;
}
@media (max-width: 991.98px) {
  .employee-summary-grid {
    grid-template-columns: 1fr;
  }
  .employee-filter-form {
    gap: 12px;
    align-items: stretch;
    flex-direction: column;
  }
  .employee-search-box {
    width: 100%;
  }
  .employee-status-filter label {
    gap: 6px;
  }
  .employee-editor-dialog {
    max-height: calc(100vh - 30px);
    min-height: 0;
    overflow-y: auto;
  }
  .employee-editor-form {
    grid-template-columns: 1fr;
  }
  .employee-bind-fields {
    grid-template-columns: 1fr;
  }
  .employee-bind-remark {
    grid-column: auto;
  }
  .employee-bind-confirm-row {
    grid-column: auto;
  }
  .employee-editor-submit-row {
    padding: 24px 0;
  }
  .employee-quota-dialog {
    min-height: 0;
  }
  .employee-quota-header {
    height: 76px;
    margin: 0 22px;
  }
  .employee-quota-header h2 {
    font-size: 22px;
  }
  .employee-quota-form {
    padding: 24px 22px 28px;
  }
  .employee-quota-summary,
  .employee-quota-method {
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .employee-quota-method > span {
    width: 100%;
  }
  .employee-quota-confirm {
    height: 40px;
    margin-top: 42px;
    font-size: 15px;
  }
}

.card {
  box-shadow: 0px 1px 4px #e1eeff;
}
.card-description {
  line-height: 1.3;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
  background: #6b7cff !important;
}
.layui-laypage a,
.layui-laypage span {
  background: none !important;
  border: none !important;
}

.left-top-btns {
  position: sticky;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.left-top-btns a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.left-top-btns .btn-collect i {
  top: -1px;
  font-size: 16px;
}
.left-top-btns .btn-share i {
  top: -1px;
  font-size: 16px;
}

.login-main {
  width: 600px;
  min-height: 500px;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0px 0px 30px rgba(107, 124, 255, 0.1);
  backdrop-filter: blur(50px);
}
.login-main .login-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-main .login-tabs a {
  flex: 1;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
}
.login-main .login-tabs a.on span {
  color: #6b7cff;
}
.login-main .login-tabs a.on::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 35px;
  height: 3px;
  background: #6b7cff;
  left: 50%;
  transform: translateX(-50%);
}

.login-main .login-form {
  margin: 20px 30px;
  display: none;
}
.login-main .login-form.show {
  display: block;
}
.login-main .login-form .form-item {
  margin: 30px;
}
.login-main .login-form .form-item .item-label {
  margin-bottom: 10px;
  color: #000;
  padding-left: 5px;
}
.login-main .login-form .form-item .item-input {
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 10px 15px;
  border: 1px solid #eee;
}
.login-main .login-form .form-item .item-input input {
  flex: 1;
  height: 23px;
  line-height: 23px;
  font-size: 16px;
  color: #000;
  border: none;
  outline: none;
}

.login-main .login-form .form-item .checkbox {
  position: relative;
  top: 1px;
}

.login-main .login-form .form-item .item-input .code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 5px;
  border-right: 1px solid #eee;
  color: #333;
  margin-right: 10px;
  padding-right: 15px;
}
.login-main .login-form .form-item .item-input .code:hover {
  cursor: pointer;
}

.address-form .select-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 377px;
  overflow: auto;
}
.address-form .select-list .list-box {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}
.address-form .select-list .list-box span {
  background: #6b7cff;
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  margin-left: 5px;
  position: relative;
  top: -2px;
}
.address-form .select-list .list-box:hover {
  cursor: pointer;
}
.address-form .select-list .list-box i.layui-icon-success {
  font-size: 30px;
  opacity: 0;
  font-weight: bold;
}
.address-form .select-list .list-box.on {
  border-color: #6b7cff;
  box-shadow: 0 0 10px rgba(107, 124, 255, 0.2);
}
.address-form .select-list .list-box.on i.layui-icon-success {
  color: #6b7cff;
  opacity: 1;
}

.pro-right-sticky {
  position: sticky;
  top: 140px;
}

/* 物流简要信息样式 */
.logistics-brief {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #f4f7ff;
  color: #333;
}
.logistics-brief .logi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b7cff;
  display: inline-block;
}
.logistics-brief .logi-com {
  font-weight: 600;
}
.logistics-brief .logi-num {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  letter-spacing: 0.3px;
  color: #000;
}
.logistics-brief .copy-link {
  color: #6b7cff !important;
  font-size: 12px;
  margin-left: 6px;
}

.btn-disabled {
  background: #e0e0e0 !important;
  color: #999 !important;
  border-color: #e0e0e0 !important;
  cursor: not-allowed !important;
}

.discount-desc {
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #999 !important;
  margin-top: 10px;
  padding-top: 10px;
}
.discount-desc span {
  color: #999 !important;
}

.card .error {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
  color: #666;
}

.price_low {
  margin-left: auto;
  font-size: 12px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #f16498 0%, #f7a92c 100%);
  padding: 4px 9px;
  border-radius: 4px;
  line-height: 20px;
  white-space: nowrap;
  position: relative;
  top: -2px;
  box-shadow: 0 2px 6px rgba(251, 176, 59, 0.35);
}

video {
  width: 100%;
  height: auto;
}

/* Homepage floating quick actions: keep after global resets so the layout cannot collapse. */
nav.home-floating-tools {
  position: fixed !important;
  z-index: 1030 !important;
  top: 50% !important;
  right: 19px !important;
  left: auto !important;
  bottom: auto !important;
  width: 58px !important;
  height: 248px !important;
  box-sizing: border-box !important;
  padding: 16px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  transform: translateY(-50%) !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 0 20px rgba(14, 19, 56, 0.15) !important;
}

nav.home-floating-tools > a.home-floating-tool {
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6b7cff !important;
  font-size: 21px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  flex: 0 0 24px !important;
}

nav.home-floating-tools .home-floating-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: block !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

nav.home-floating-tools > .home-floating-divider {
  width: 34px !important;
  height: 0 !important;
  min-height: 0 !important;
  flex: 0 0 0 !important;
  display: block !important;
  position: relative !important;
  border: 0 !important;
  background: transparent !important;
}

nav.home-floating-tools > .home-floating-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 1px;
  background: #eee;
}

@media (max-width: 767.98px) {
  nav.home-floating-tools {
    display: none !important;
  }
}
.employee-credit-log-modal{display:none;position:fixed;inset:0;z-index:9999;align-items:center;justify-content:center}.employee-credit-log-modal.is-open{display:flex}.employee-credit-log-mask{position:absolute;inset:0;background:rgba(0,0,0,.45)}.employee-credit-log-modal section{position:relative;width:min(720px,92vw);max-height:78vh;overflow:auto;background:#fff;border-radius:10px;padding:22px;box-shadow:0 8px 32px rgba(0,0,0,.2)}.employee-credit-log-modal header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding-bottom:14px;margin-bottom:14px}.employee-credit-log-modal h2{margin:0;font-size:20px}.employee-credit-log-close{border:0;background:none;font-size:24px;cursor:pointer}.employee-credit-log-content p{margin:0;padding:11px 8px;border-bottom:1px solid #f1f1f1;color:#555}.employee-credit-log-content p:nth-child(even){background:#fafafa}
.employee-credit-log-content{min-height:180px;color:#999;font-size:14px}.employee-credit-log-content:not(:has(p)){display:flex;align-items:center;justify-content:center}
.employee-credit-usage-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:18px}.employee-credit-usage-pagination button{padding:7px 14px;border:1px solid #e5e8f1;border-radius:6px;background:#fff;color:#6b7cff;cursor:pointer}.employee-credit-usage-pagination button:disabled{color:#aeb5c4;cursor:default;background:#fafbfe}
.employee-credit-usage-scroll{overflow-x:auto}.employee-credit-usage-table{width:100%;border-collapse:collapse;color:#555}.employee-credit-usage-table th,.employee-credit-usage-table td{padding:12px 10px;text-align:left;border-bottom:1px solid #edf0f5;white-space:nowrap}.employee-credit-usage-table th{background:#f7f8fc;color:#8993a6;font-weight:500}.employee-credit-usage-table td:last-child,.employee-credit-usage-table th:last-child{text-align:right}.employee-credit-log-content p.employee-credit-usage-hint{padding:0 0 12px;border:0;color:#8993a6;font-size:13px}
.employee-actions{display:flex;align-items:center;flex-wrap:wrap}.employee-actions .employee-status-toggle{order:3}.employee-actions .employee-delete{order:4}
.employee-actions i:has(+ .employee-status-toggle){display:none}
.employee-actions{display:inline-flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}.employee-actions .employee-action-item{display:inline-flex;align-items:center}.employee-actions .employee-action-item:not(:first-child){border-left:1px solid #ddd;margin-left:8px;padding-left:8px}.employee-actions .employee-action-item i{display:none}
