/* ===== 蓝夹缬服务管理页 ===== */
/* 管理台账风格：靛蓝账本 + 布面底纹 + 木质印章 */

.page-shell { width: 100%; }

.manager-board { display: flex; flex-direction: column; gap: 18px; }

/* ===== 展板卡片 ===== */
.board-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.96), rgba(237, 242, 248, 0.96));
  box-shadow: 0 22px 54px rgba(4, 12, 48, 0.2);
  overflow: hidden;
}

/* 布面编织纹理 */
.board-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22px 16px, rgba(31, 67, 116, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 22px 16px, rgba(119, 64, 26, 0.04) 0 2px, transparent 2px);
  background-size: 28px 22px, 44px 34px;
  opacity: 0.7;
  z-index: 0;
}

.board-card > * { position: relative; z-index: 1; }

/* ===== 靛蓝横楣区域 ===== */
.manager-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-bottom: 2px dashed rgba(31, 67, 116, 0.08);
}

.hero-eyebrow {
  color: var(--wood);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-copy h1 { margin: 10px 0 12px; color: var(--ink-2); font-size: 34px; }

.hero-subtitle {
  max-width: 720px;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 15px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 14px 28px rgba(10, 40, 93, 0.22);
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-ghost {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-main);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.btn-linkish {
  background: rgba(119, 64, 26, 0.08);
  color: var(--wood);
  border: 1px solid rgba(119, 64, 26, 0.16);
  box-shadow: none;
}

/* ===== 服务状态概览（靛蓝展陈网格） ===== */
.status-overview, .manager-notes { padding: 24px; }

.status-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(31, 67, 116, 0.10);
}

.status-overview-head h2, .manager-notes h2 {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-size: 24px;
  position: relative;
  display: inline-block;
}

/* 靛蓝下划线点缀 */
.status-overview-head h2::after, .manager-notes h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ink-3), var(--ink-2));
  opacity: 0.5;
}

.status-overview-head p { color: var(--text-soft); line-height: 1.7; font-size: 14px; }

.status-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* ===== 状态印章徽标 ===== */
.summary-badge, .service-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(31, 67, 116, 0.18);
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.summary-badge[data-state="online"],
.service-status-badge[data-state="online"] {
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.24);
  color: #15803d;
}

.summary-badge[data-state="offline"],
.service-status-badge[data-state="offline"] {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.summary-text { color: var(--text-soft); font-size: 13px; }

/* ===== 服务状态网格（雕版感小卡片） ===== */
.service-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-status-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 67, 116, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-status-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 布面点 */
.service-status-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20px 14px, rgba(31, 67, 116, 0.05) 0 1px, transparent 1px);
  background-size: 26px 20px;
  opacity: 0.6;
}

.service-status-title { color: var(--ink-2); font-size: 16px; font-weight: 700; }

.service-status-meta {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 13px;
  word-break: break-word;
}

.service-console-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(119, 64, 26, 0.08);
  border: 1px solid rgba(119, 64, 26, 0.16);
  color: var(--wood);
  line-height: 1.7;
  font-size: 14px;
}

/* ===== 备注列表 ===== */
.notes-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 15px;
}

@media (max-width: 980px) {
  .manager-hero, .status-overview-head { flex-direction: column; align-items: flex-start; }
  .status-summary { align-items: flex-start; }
  .hero-actions { justify-content: flex-start; }
  .service-status-grid { grid-template-columns: 1fr; }
}
