/* SwiftIdc • Linux 工作台使用说明页（panel-guide.html）专属样式
   仅服务本页，不修改站点共享 style.css；主题色沿用SwiftIdc品牌橙 #0e7c86。 */

.pg-page { --pg-ink: #18202f; --pg-muted: #52617a; --pg-line: #d9e6e7; --pg-soft: #f7fafa; --pg-brand: #0e7c86; }

/* ---------- 首屏 ---------- */
.pg-hero .page-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding-top: 78px;
  padding-bottom: 96px;
}
.pg-hero .dev-hero-title-sub { color: #d6e4e6; }
.pg-hero .dev-hero-badge { color: #f1f6f6; border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .10); }
.pg-hero .dev-hero-badge::before { background: #0f8798; box-shadow: 0 0 0 4px rgba(15,135,152), .18); }
.pg-hero .dev-hero-fact .icon { color: #0f8798; }
.pg-hero .page-banner-lead { max-width: 33em; margin-top: 16px; color: rgba(255, 255, 255, .9); }
.pg-hero-figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(14,39,43, .28); }
.pg-hero-figure img { display: block; width: 100%; height: auto; }
.pg-hero-figure figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(14,39,43, .62); color: #e7f0f1;
  font-size: 13px; line-height: 1.5; backdrop-filter: blur(6px);
}

/* ---------- 页内目录 ---------- */
.pg-toc { background: #fff; border-bottom: 1px solid var(--pg-line); }
.pg-toc-inner { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; }
.pg-toc a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--pg-line); border-radius: 999px;
  color: var(--pg-ink); font-size: 14px; text-decoration: none; background: #f9fafc;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.pg-toc a:hover, .pg-toc a:focus-visible { border-color: #19818f; color: var(--pg-brand); background: #e6f3f4; }
.pg-toc a span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #e4eeee; color: #084e56; font-size: 12px; font-weight: 700;
}

/* ---------- 通用区块 ---------- */
.pg-page .section-alt { background: var(--pg-soft); }
.pg-page .section-title { color: var(--pg-ink); }
.pg-page .section-lead { color: var(--pg-muted); }
.pg-inline-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 18px 0 0; padding: 12px 16px; border-radius: 12px;
  background: #f2f7f7; border: 1px solid #d7e4e6; color: #177885;
  font-size: 14px; line-height: 1.65;
}
.pg-inline-note .icon { flex: none; margin-top: 2px; color: #166c78; }

/* ---------- 前置条件表 ---------- */
.pg-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.pg-check {
  background: #fff; border: 1px solid var(--pg-line); border-radius: 16px; padding: 22px 22px 20px;
}
.pg-check h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; color: var(--pg-ink); }
.pg-check h3 .icon { color: var(--pg-brand); }
.pg-check dl { margin: 0; font-size: 14px; line-height: 1.75; color: var(--pg-muted); }
.pg-check dt { color: var(--pg-ink); font-weight: 600; margin-top: 10px; }
.pg-check dt:first-child { margin-top: 0; }
.pg-check dd { margin: 2px 0 0; }

/* ---------- 安装 / 进入步骤 ---------- */
.pg-steps { display: grid; gap: 16px; margin-top: 26px; counter-reset: pgstep; }
.pg-step {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px;
  background: #fff; border: 1px solid var(--pg-line); border-radius: 16px; padding: 20px 22px;
}
.pg-step-num {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #dee9ea, #cadcdf); color: #067684;
  font-weight: 800; font-size: 17px; letter-spacing: .5px;
}
.pg-step h3 { margin: 0 0 8px; font-size: 17px; color: var(--pg-ink); overflow-wrap: anywhere; }
.pg-step > div { min-width: 0; }
.pg-step p { margin: 0; color: var(--pg-muted); font-size: 14.5px; line-height: 1.72; }
.pg-step ul { margin: 10px 0 0; padding-left: 20px; color: var(--pg-muted); font-size: 14.5px; line-height: 1.8; }
.pg-step .pg-tip { margin-top: 12px; font-size: 13.5px; color: #084e56; background: #f2f7f7; border-left: 3px solid #147f8e; padding: 8px 12px; border-radius: 0 8px 8px 0; }

/* ---------- 工作台界面示意（纯 CSS，无后台数据） ---------- */
.pg-mock-wrap { margin-top: 28px; }
.pg-mock-caption { margin: 12px 0 0; font-size: 13.5px; color: var(--pg-muted); line-height: 1.7; }
.pg-mock {
  border: 1px solid #c4d8db; border-radius: 18px; overflow: hidden;
  background: #fff; box-shadow: 0 24px 50px rgba(25,72,79, .12);
}
.pg-mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #173539; }
.pg-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #43577a; display: block; }
.pg-mock-bar i:first-child { background: #0e7c86; }
.pg-mock-bar span { margin-left: 8px; flex: 1; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.pg-mock-bar b { width: 42px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.pg-mock-body { display: grid; grid-template-columns: 176px minmax(0, 1fr); min-height: 372px; }
.pg-mock-side { background: #f2f7f7; border-right: 1px solid #d9e6e8; padding: 14px 12px; }
.pg-mock-brand { display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; }
.pg-mock-brand em { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #107988, #0e7c86); display: block; }
.pg-mock-brand s { width: 72px; height: 10px; border-radius: 5px; background: #cadcdf; display: block; }
.pg-mock-menu { display: grid; gap: 4px; }
.pg-mock-menu span {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px;
  color: #52617a; font-size: 13px; line-height: 1;
}
.pg-mock-menu span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: #366d74; }
.pg-mock-menu span.on { background: #e4eeee; color: #067684; font-weight: 700; }
.pg-mock-menu span.on::before { background: #0e7c86; }
.pg-mock-main { padding: 18px 20px 22px; background: #fbfcfe; }
.pg-mock-top { display: flex; align-items: center; gap: 12px; }
.pg-mock-top strong { font-size: 15px; color: #173539; }
.pg-mock-top em { margin-left: auto; height: 26px; width: 92px; border-radius: 8px; background: linear-gradient(135deg, #107988, #0e7c86); }
.pg-mock-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pg-mock-metrics div { border: 1px solid #d9e6e8; border-radius: 10px; padding: 10px 12px; background: #fff; }
.pg-mock-metrics small { display: block; font-size: 11px; color: #70809c; }
.pg-mock-metrics b { display: block; margin-top: 4px; font-size: 17px; color: #173539; }
.pg-mock-metrics b i { font-style: normal; font-size: 11px; color: #70809c; font-weight: 400; }
.pg-mock-table { margin-top: 14px; border: 1px solid #d9e6e8; border-radius: 10px; overflow: hidden; }
.pg-mock-row { display: grid; grid-template-columns: 1.4fr .9fr .8fr .7fr; gap: 8px; padding: 9px 12px; font-size: 12px; color: #52617a; border-top: 1px solid #e4eeef; }
.pg-mock-row:first-child { border-top: 0; background: #f4f8f8; color: #177885; font-weight: 600; }
.pg-mock-row i { font-style: normal; color: #2f8a4a; }
.pg-mock-row i.warn { color: #0c6b77; }
.pg-mock-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.pg-mock-legend li { font-size: 12.5px; color: var(--pg-muted); line-height: 1.6; }
.pg-mock-legend b {
  display: inline-flex; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%;
  align-items: center; justify-content: center; background: #dee9ea; color: #067684; font-size: 11px;
}

/* ---------- 操作卡片 ---------- */
.pg-ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.pg-op { background: #fff; border: 1px solid var(--pg-line); border-radius: 16px; padding: 22px; min-width: 0; }
.pg-op header { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 10px; }
.pg-op header .icon { color: var(--pg-brand); }
.pg-op h3 { margin: 0; font-size: 17px; color: var(--pg-ink); min-width: 0; overflow-wrap: anywhere; }
.pg-op .pg-op-tag { margin-left: auto; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #e6f3f4; color: #084e56; border: 1px solid #b9dde0; }
.pg-op .pg-op-tag.pro { background: #f4f8f9; color: #17686c; border-color: #dfeaeb; }
.pg-op ol { margin: 6px 0 0; padding-left: 18px; color: var(--pg-muted); font-size: 14.5px; line-height: 1.85; overflow-wrap: anywhere; }
.pg-op p { margin: 10px 0 0; font-size: 13.5px; color: #177885; line-height: 1.7; }

/* ---------- 备份对比 ---------- */
.pg-compare { margin-top: 26px; }
.pg-compare table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pg-compare th, .pg-compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e2edee; color: var(--pg-ink); vertical-align: top; }
.pg-compare thead th { background: linear-gradient(120deg, #067684, #0e7c86); color: #e7f0f1; font-weight: 600; }
.pg-compare thead th:first-child { color: #fff; }
.pg-compare tbody tr:nth-child(even) td { background: #fafcfc; }
.pg-compare td small { display: block; margin-top: 2px; color: var(--pg-muted); font-size: 12.5px; }

/* ---------- 授权 ---------- */
.pg-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.pg-tiers.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-tier { background: #fff; border: 1px solid var(--pg-line); border-radius: 16px; padding: 20px 22px; }
.pg-tier.is-hot { border-color: #19818f; box-shadow: 0 16px 34px rgba(14,124,134, .12); }
.pg-tier h3 { margin: 0 0 6px; font-size: 17px; color: var(--pg-ink); }
.pg-tier .pg-tier-price { margin: 0 0 10px; font-size: 22px; color: var(--pg-brand); font-weight: 800; }
.pg-tier .pg-tier-price span { font-size: 13px; color: var(--pg-muted); font-weight: 400; }
.pg-tier ul { margin: 0; padding-left: 18px; color: var(--pg-muted); font-size: 14px; line-height: 1.8; }

/* ---------- 常见问题 ---------- */
.pg-faq { margin-top: 24px; display: grid; gap: 10px; }
.pg-faq details { background: #fff; border: 1px solid var(--pg-line); border-radius: 12px; padding: 0 18px; }
.pg-faq summary { cursor: pointer; padding: 16px 0; font-size: 15.5px; font-weight: 600; color: var(--pg-ink); list-style: none; display: flex; align-items: center; gap: 10px; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::before { content: "Q"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e4eeee; color: #084e56; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.pg-faq summary::after { content: "+"; margin-left: auto; color: #2e6168; font-size: 18px; font-weight: 400; }
.pg-faq details[open] summary::after { content: "–"; }
.pg-faq .pg-faq-a { padding: 0 0 16px 32px; color: var(--pg-muted); font-size: 14.5px; line-height: 1.8; }
.pg-faq .pg-faq-a p { margin: 0 0 8px; }
.pg-faq .pg-faq-a p:last-child { margin-bottom: 0; }

/* ---------- 结尾 CTA ---------- */
.pg-cta { background: linear-gradient(120deg, #123236 0%, #1a4b51 58%, #0e272b 100%); color: #e7f0f1; }
.pg-cta .pg-cta-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 46px 0; }
.pg-cta h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); color: #fff; }
.pg-cta p { margin: 0; color: rgba(231,240,241, .82); font-size: 14.5px; line-height: 1.7; }
.pg-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .pg-hero .page-banner-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; }
  .pg-hero-figure { max-width: 620px; }
  .pg-mock-body { grid-template-columns: 148px minmax(0, 1fr); }
  .pg-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-mock-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .pg-check-grid, .pg-ops, .pg-tiers { grid-template-columns: 1fr; }
  .pg-op { padding: 18px; }
  .pg-op .pg-op-tag { margin-left: 0; }
  .pg-mock-body { grid-template-columns: 1fr; }
  .pg-mock-side { display: none; }
  .pg-mock-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-mock-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .pg-step-num { width: 36px; height: 36px; font-size: 15px; }
  .pg-compare { overflow-x: auto; }
  .pg-cta .pg-cta-inner { padding: 36px 0; }
}