.enterprise-detail-main:has(.enterprise-backend-page),
.enterprise-detail-main:has(.enterprise-backend-loading),
.enterprise-detail-main:has(.enterprise-backend-error) {
  width: min(1320px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 24px 0 72px;
  color: #172033;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.enterprise-backend-page * { box-sizing: border-box; }
.enterprise-backend-page a { color: inherit; text-decoration: none; }

.enterprise-backend-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  color: #8b95a8;
  font-size: 13px;
}
.enterprise-backend-breadcrumb a:hover { color: #f97316; }
.enterprise-backend-breadcrumb b { overflow: hidden; color: #475569; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.enterprise-backend-hero {
  position: relative;
  height: 330px;
  overflow: hidden;
  border-radius: 18px;
  background: #263044;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}
.enterprise-backend-hero__cover { width: 100%; height: 100%; object-fit: cover; }
.enterprise-backend-hero__cover.is-image-error { opacity: 0; }
.enterprise-backend-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 16, 31, 0.9), rgba(9, 16, 31, 0.42) 58%, rgba(9, 16, 31, 0.08)); }
.enterprise-backend-hero__profile { position: absolute; left: 48px; bottom: 42px; display: flex; gap: 22px; align-items: center; max-width: calc(100% - 300px); color: white; }
.enterprise-backend-hero__logo { width: 94px; height: 94px; flex: 0 0 auto; border: 4px solid rgba(255,255,255,.9); border-radius: 18px; background: white; object-fit: cover; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.enterprise-backend-hero__logo.is-image-error { visibility: hidden; }
.enterprise-backend-hero__profile span { display: inline-block; margin-bottom: 9px; color: #ffd2aa; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.enterprise-backend-hero__profile h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.enterprise-backend-hero__profile p { margin: 10px 0 0; color: rgba(255,255,255,.76); font-size: 15px; }
.enterprise-backend-hero__action { position: absolute; right: 44px; bottom: 52px; padding: 12px 25px; border: 1px solid #fb923c; border-radius: 7px; color: white!important; background: #f97316; font-weight: 700; box-shadow: 0 8px 20px rgba(249,115,22,.25); }
.enterprise-backend-hero__action:hover { background: #ea580c; }

.enterprise-backend-summary { display: grid; grid-template-columns: 112px 112px 112px 1fr; align-items: center; margin: -1px 18px 24px; padding: 22px 28px; border: 1px solid #edf0f5; border-radius: 0 0 14px 14px; background: white; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.enterprise-backend-summary > div { display: grid; gap: 2px; text-align: center; border-right: 1px solid #edf0f5; }
.enterprise-backend-summary strong { color: #f97316; font-size: 22px; }
.enterprise-backend-summary span { color: #8a94a6; font-size: 12px; }
.enterprise-backend-summary p { margin: 0; padding-left: 30px; color: #596579; font-size: 14px; line-height: 1.8; }

.enterprise-backend-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.enterprise-backend-content,
.enterprise-backend-aside > section { border: 1px solid #e9edf3; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(15,23,42,.045); }
.enterprise-backend-tabs { display: flex; gap: 0; padding: 0 26px; border-bottom: 1px solid #edf0f5; }
.enterprise-backend-tabs button { position: relative; min-width: 92px; padding: 20px 16px 17px; border: 0; color: #677286; background: transparent; font: inherit; font-weight: 650; cursor: pointer; }
.enterprise-backend-tabs button::after { content: ""; position: absolute; right: 21px; bottom: -1px; left: 21px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.enterprise-backend-tabs button.is-active { color: #e9650b; }
.enterprise-backend-tabs button.is-active::after { background: #f97316; }
.enterprise-backend-tabs span { margin-left: 3px; color: #a2aaba; font-size: 11px; }
.enterprise-backend-panel { display: none; padding: 28px; }
.enterprise-backend-panel.is-active { display: block; }
.enterprise-backend-panel > header { margin-bottom: 20px; }
.enterprise-backend-panel > header span,
.enterprise-backend-aside > section > span,
.enterprise-backend-brand > span { color: #f97316; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.enterprise-backend-panel > header h2,
.enterprise-backend-aside h2 { margin: 5px 0 0; color: #182236; font-size: 21px; }

.enterprise-backend-work-grid { display: grid; gap: 14px; }
.enterprise-backend-work { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; min-height: 106px; padding: 12px; border: 1px solid #edf0f5; border-radius: 10px; transition: border-color .18s ease, transform .18s ease; }
.enterprise-backend-work:hover { border-color: #fdba74; transform: translateY(-2px); }
.enterprise-backend-work img,
.enterprise-backend-work__blank { width: 148px; height: 92px; border-radius: 8px; object-fit: cover; background: linear-gradient(145deg,#fff1e6,#ffe0c2); }
.enterprise-backend-work img.is-image-error { visibility: hidden; }
.enterprise-backend-work__blank { display: grid; place-items: center; color: #f97316; font-weight: 800; }
.enterprise-backend-work > div { min-width: 0; padding: 5px 6px 4px 0; }
.enterprise-backend-work span,
.enterprise-backend-catalog-card span { color: #f97316; font-size: 12px; font-weight: 700; }
.enterprise-backend-work h3 { margin: 7px 0 12px; overflow: hidden; color: #263247; font-size: 16px; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.enterprise-backend-work p { margin: 0; color: #99a2b1; font-size: 12px; }

.enterprise-backend-catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.enterprise-backend-catalog-card { overflow: hidden; border: 1px solid #edf0f5; border-radius: 11px; transition: border-color .18s ease, transform .18s ease; }
.enterprise-backend-catalog-card:hover { border-color: #fdba74; transform: translateY(-2px); }
.enterprise-backend-catalog-card img { width: 100%; aspect-ratio: 16/10; background: #f3f5f8; object-fit: cover; }
.enterprise-backend-catalog-card img.is-image-error { opacity: 0; }
.enterprise-backend-catalog-card > div { padding: 14px; }
.enterprise-backend-catalog-card h3 { margin: 7px 0; color: #283449; font-size: 16px; }
.enterprise-backend-catalog-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #7a8597; font-size: 13px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.enterprise-backend-brand { min-height: 260px; padding: 34px; border-radius: 12px; background: linear-gradient(135deg,#fff8f2,#fff 58%); }
.enterprise-backend-brand h2 { margin: 12px 0 14px; color: #1f2937; font-size: 26px; }
.enterprise-backend-brand p { max-width: 720px; margin: 0; color: #5f6b7d; font-size: 15px; line-height: 1.9; }
.enterprise-backend-brand > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.enterprise-backend-brand em { padding: 7px 14px; border-radius: 999px; color: #c95c0d; background: #fff0e4; font-size: 12px; font-style: normal; }

.enterprise-backend-aside { display: grid; gap: 20px; }
.enterprise-backend-aside > section { padding: 24px; }
.enterprise-backend-contact dl { display: grid; gap: 13px; margin: 22px 0 0; }
.enterprise-backend-contact dl div { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f5; font-size: 13px; }
.enterprise-backend-contact dt { color: #929bab; }
.enterprise-backend-contact dd { margin: 0; overflow-wrap: anywhere; color: #3d485b; }
.enterprise-backend-contact__empty { color: #8b95a5; font-size: 13px; }
.enterprise-backend-showrooms > a { display: grid; gap: 7px; margin-top: 17px; padding: 15px; border: 1px solid #ffe0c2; border-radius: 9px; background: #fff8f2; }
.enterprise-backend-showrooms b { color: #313d52; font-size: 14px; }
.enterprise-backend-showrooms small { color: #e96c12; font-size: 12px; }

.enterprise-backend-empty { display: grid; min-height: 250px; place-items: center; align-content: center; color: #9aa3b1; }
.enterprise-backend-empty span { color: #f4b27e; font-size: 30px; }
.enterprise-backend-empty p { margin: 8px 0 0; font-size: 14px; }
.enterprise-backend-loading,
.enterprise-backend-error { display: grid; min-height: 520px; place-items: center; align-content: center; color: #697386; text-align: center; }
.enterprise-backend-loading span { width: 34px; height: 34px; border: 3px solid #e5e7eb; border-top-color: #f97316; border-radius: 50%; animation: enterprise-backend-spin .75s linear infinite; }
.enterprise-backend-loading p { margin: 14px 0 0; }
.enterprise-backend-error strong { color: #273449; font-size: 20px; }
.enterprise-backend-error p { margin: 10px 0 22px; }
.enterprise-backend-error button,
.enterprise-backend-error a { display: inline-block; margin: 4px; padding: 10px 20px; border: 1px solid #f97316; border-radius: 7px; color: #fff; background: #f97316; font: inherit; cursor: pointer; }
.enterprise-backend-error a { color: #f97316; background: white; }

@keyframes enterprise-backend-spin { to { transform: rotate(1turn); } }

@media (max-width: 980px) {
  .enterprise-backend-layout { grid-template-columns: 1fr; }
  .enterprise-backend-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .enterprise-backend-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .enterprise-detail-main:has(.enterprise-backend-page),
  .enterprise-detail-main:has(.enterprise-backend-loading),
  .enterprise-detail-main:has(.enterprise-backend-error) { width: calc(100% - 24px); padding-top: 12px; }
  .enterprise-backend-hero { height: 300px; }
  .enterprise-backend-hero__profile { left: 22px; bottom: 72px; gap: 14px; max-width: calc(100% - 44px); }
  .enterprise-backend-hero__logo { width: 68px; height: 68px; border-radius: 13px; }
  .enterprise-backend-hero__profile h1 { font-size: 24px; }
  .enterprise-backend-hero__action { right: auto; bottom: 20px; left: 22px; padding: 9px 18px; font-size: 13px; }
  .enterprise-backend-summary { grid-template-columns: repeat(3,1fr); margin-inline: 8px; padding: 17px 10px; }
  .enterprise-backend-summary p { grid-column: 1/-1; margin-top: 16px; padding: 16px 7px 0; border-top: 1px solid #edf0f5; }
  .enterprise-backend-tabs { overflow-x: auto; padding: 0 8px; }
  .enterprise-backend-tabs button { min-width: 78px; }
  .enterprise-backend-panel { padding: 20px 14px; }
  .enterprise-backend-work { grid-template-columns: 105px minmax(0,1fr); gap: 12px; }
  .enterprise-backend-work img,
  .enterprise-backend-work__blank { width: 105px; height: 78px; }
  .enterprise-backend-work h3 { margin-bottom: 6px; font-size: 14px; white-space: normal; }
  .enterprise-backend-catalog-grid,
  .enterprise-backend-aside { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .enterprise-backend-loading span { animation: none; }
  .enterprise-backend-work,
  .enterprise-backend-catalog-card { transition: none; }
}
