/* ===== START：Desktop 全局与版面 ===== */
:root {
  --bg: #f6f0e8;
  --panel: #fffdf9;
  --text: #2f241e;
  --muted: #78675c;
  --accent: #c9692b;
  --accent-dark: #9f4b18;
  --accent-soft: #f6dfcf;
  --line: #e7d7ca;
  --good: #2f7d4a;
  --warn: #b36b00;
  --bad: #b54236;
  --shadow: 0 14px 40px rgba(87, 55, 34, 0.09);
}
* { box-sizing: border-box; }
body {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 100vh;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.55;
  background: radial-gradient(circle at top right, #fff9f2 0, var(--bg) 42%, #efe6dc 100%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.app-shell {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 auto;
  padding: 28px;
  width: 100%;
  height: auto;
  min-height: 100vh;
  max-width: 1680px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* ===== END：Desktop 全局与版面 ===== */

/* ===== START：Desktop Header ===== */
.app-header {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 24px;
  padding: 24px 26px;
  width: 100%;
  height: auto;
  min-height: 120px;
  max-width: none;
  font-size: 15px;
  color: #fff;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: linear-gradient(135deg, #7d3414, #c9692b 58%, #e59a64);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-block { display: flex; align-items: center; gap: 18px; }
.brand-mark {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 68px;
  height: 68px;
  min-height: 68px;
  max-width: 68px;
  font-size: 24px;
  color: #7d3414;
  font-family: Georgia, serif;
  font-weight: 800;
  line-height: 68px;
  background: #fff8ee;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(50,20,5,.18);
  text-align: center;
}
h1 { margin: 2px 0 2px; font-size: clamp(24px, 3vw, 38px); line-height: 1.2; }
.eyebrow,.section-kicker { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.subtitle { margin: 4px 0 0; color: rgba(255,255,255,.82); }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* ===== END：Desktop Header ===== */

/* ===== START：Desktop Button ===== */
.btn {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0 18px;
  width: auto;
  height: 42px;
  min-height: 42px;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 750;
  line-height: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(74,46,29,.08);
  text-align: center;
  cursor: pointer;
}
.btn-primary { color: var(--accent-dark); background: #fff6ee; border-color: #fff; }
.btn-secondary { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.btn-ghost { color: var(--accent-dark); background: var(--accent-soft); border-color: #ebc7ad; }
.icon-btn { width: 34px; height: 34px; min-height: 34px; padding: 0; line-height: 32px; color: var(--bad); background: #fff4f2; border: 1px solid #f0c8c4; border-radius: 10px; box-shadow: none; }
/* ===== END：Desktop Button ===== */

/* ===== START：Desktop Summary ===== */
.summary-grid {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 22px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.summary-card {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 20px;
  width: 100%;
  height: auto;
  min-height: 128px;
  max-width: none;
  font-size: 14px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.4;
  background: rgba(255,253,249,.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.summary-card strong { display:block; margin:8px 0 4px; font-size:28px; color:var(--text); line-height:1.15; }
.summary-card small { color:var(--muted); }
/* ===== END：Desktop Summary ===== */

/* ===== START：Desktop Panels / Forms / Tables ===== */
.panel {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 22px;
  padding: 22px;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: rgba(255,253,249,.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:18px; }
.panel-heading h2 { margin: 2px 0 0; font-size: 22px; }
.panel-heading > p { margin: 0; max-width: 620px; color: var(--muted); text-align: right; }
.section-kicker { color: var(--accent); }
.form-grid { display:grid; gap:14px; }
.form-grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.field { display:flex; flex-direction:column; gap:7px; color:var(--muted); font-size:12px; font-weight:700; }
input, select {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0 11px;
  width: 100%;
  height: 40px;
  min-height: 40px;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  line-height: 38px;
  background: #fffaf5;
  border: 1px solid #dfcbbd;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(86,54,34,.04);
}
input:focus,select:focus { outline:2px solid rgba(201,105,43,.2); border-color:var(--accent); }
.table-wrap { overflow:auto; border:1px solid var(--line); border-radius:14px; }
table { width:100%; border-collapse:separate; border-spacing:0; min-width:1500px; }
th { position:sticky; top:0; z-index:2; padding:11px 10px; font-size:11px; color:#fff; background:#8d4520; text-align:left; white-space:nowrap; }
td { padding:8px; border-top:1px solid #eee2d8; background:#fffdf9; vertical-align:middle; }
td input, td select { min-width:100px; }
.metric { min-width:105px; font-weight:800; color:var(--text); }
.metric.good { color:var(--good); }
.metric.bad { color:var(--bad); }
.metric.warn { color:var(--warn); }
.recommendation-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.recommendation-card { padding:18px; border:1px solid var(--line); border-radius:16px; background:#fffaf5; }
.recommendation-card h3 { margin:0 0 8px; font-size:17px; }
.recommendation-card p { margin:0; color:var(--muted); }
.recommendation-card.good { border-color:#b9ddc5; background:#f1faf4; }
.recommendation-card.bad { border-color:#ecc3be; background:#fff4f2; }
.recommendation-card.warn { border-color:#efd49f; background:#fff9eb; }
footer { display:flex; justify-content:space-between; gap:12px; padding:10px 4px 20px; color:var(--muted); font-size:12px; }
/* ===== END：Desktop Panels / Forms / Tables ===== */

/* ===== START：Mobile ===== */
@media (max-width: 768px) {
  .app-shell {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 auto;
    padding: 14px;
    width: 100%;
    height: auto;
    min-height: 100vh;
    max-width: none;
    font-size: 14px;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .app-header {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 0 14px;
    padding: 18px;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 14px;
    color: #fff;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.45;
    background: linear-gradient(135deg, #7d3414, #c9692b);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: block;
  }
  .brand-block { align-items:flex-start; }
  .brand-mark { width:54px; height:54px; min-height:54px; max-width:54px; font-size:20px; line-height:54px; border-radius:16px; }
  h1 { font-size:22px; }
  .header-actions { margin-top:16px; }
  .btn {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0 14px;
    width: auto;
    height: 40px;
    min-height: 40px;
    max-width: none;
    font-size: 13px;
    color: var(--text);
    font-family: inherit;
    font-weight: 750;
    line-height: 38px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: 0 6px 16px rgba(74,46,29,.08);
    text-align: center;
  }
  .summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .summary-card { padding:14px; min-height:110px; }
  .summary-card strong { font-size:21px; }
  .panel { padding:15px; border-radius:16px; }
  .panel-heading { display:block; }
  .panel-heading > p { margin-top:8px; text-align:left; }
  .panel-heading .btn { margin-top:12px; }
  .form-grid-4 { grid-template-columns:1fr 1fr; }
  .recommendation-grid { grid-template-columns:1fr; }
  footer { display:block; }
  footer span { display:block; }
}
/* ===== END：Mobile ===== */

/* ===== START：Desktop ROAS 循环策略说明 ===== */
.roas-cycle-panel {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 22px;
  padding: 22px;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: rgba(255,253,249,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.roas-cycle-summary {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 16px;
  padding: 16px 18px;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.6;
  background: #fff7ee;
  border: 1px solid #edcfb8;
  border-radius: 14px;
  box-shadow: none;
}
.roas-cycle-summary strong,
.roas-rule strong,
.roas-warning strong {
  font-size: 14px;
  color: var(--accent-dark);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.4;
}
.roas-cycle-summary p,
.roas-cycle-card p,
.roas-rule p {
  position: relative;
  left: 0;
  top: 0;
  margin: 6px 0 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.6;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.roas-cycle-grid {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 16px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.roas-cycle-card {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 18px;
  width: 100%;
  height: auto;
  min-height: 188px;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(87,55,34,.06);
}
.cycle-day {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 8px;
  padding: 4px 9px;
  width: fit-content;
  height: auto;
  min-height: 0;
  max-width: 100%;
  font-size: 11px;
  color: var(--accent-dark);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.4;
  background: var(--accent-soft);
  border: 1px solid #e9c7af;
  border-radius: 999px;
  box-shadow: none;
  display: inline-block;
}
.roas-cycle-card h3 {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 17px;
  color: var(--text);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.35;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.roas-rule-grid {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 16px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.roas-rule {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 16px 18px;
  width: 100%;
  height: auto;
  min-height: 128px;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
}
.roas-rule.good {
  background: #f1faf4;
  border-color: #b9ddc5;
}
.roas-rule.bad {
  background: #fff4f2;
  border-color: #ecc3be;
}
.roas-warning {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 15px 18px;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.6;
  background: #fff9eb;
  border: 1px solid #efd49f;
  border-radius: 14px;
  box-shadow: none;
}
/* ===== END：Desktop ROAS 循环策略说明 ===== */

/* ===== START：Mobile ROAS 循环策略说明 ===== */
@media (max-width: 768px) {
  .roas-cycle-panel {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 0 14px;
    padding: 16px;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 14px;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    background: rgba(255,253,249,.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .roas-cycle-grid,
  .roas-rule-grid {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 0 14px;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 14px;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .roas-cycle-card,
  .roas-rule {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 15px;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 13px;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.55;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: none;
  }
  .roas-cycle-card h3 {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 16px;
    color: var(--text);
    font-family: inherit;
    font-weight: 800;
    line-height: 1.35;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
/* ===== END：Mobile ROAS 循环策略说明 ===== */

/* ===== START：Desktop AI Health Score 与策略日历 ===== */
.ai-health-panel,
.stimulation-panel {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 22px;
  padding: 22px;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: rgba(255,253,249,.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.ai-health-note {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 16px;
  padding: 14px 16px;
  width: 100%;
  height: auto;
  min-height: 50px;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.55;
  background: #fff7ee;
  border: 1px solid #efcfb7;
  border-radius: 14px;
  box-shadow: none;
}
.signal-table {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 13px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.4;
  background: #fffdf9;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 1900px;
}
.ai-health-grid {
  position: relative;
  left: 0;
  top: 0;
  margin: 18px 0 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.ai-health-card {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 18px;
  width: 100%;
  height: auto;
  min-height: 170px;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.55;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
}
.ai-health-card.good { background:#f1faf4; border-color:#b9ddc5; }
.ai-health-card.warn { background:#fff9eb; border-color:#efd49f; }
.ai-health-card.bad { background:#fff4f2; border-color:#ecc3be; }
.ai-health-card h3 { margin:0 0 8px; font-size:17px; color:var(--text); }
.ai-score-number { display:block; margin:6px 0; font-size:34px; font-weight:850; line-height:1; color:var(--accent-dark); }
.stimulation-calendar {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 16px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 12px;
}
.calendar-day {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 16px;
  width: 100%;
  height: auto;
  min-height: 150px;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.5;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: none;
}
.calendar-day strong { display:block; margin:0 0 7px; font-size:15px; color:var(--text); }
.calendar-day span { display:block; margin:0 0 8px; font-size:11px; font-weight:800; letter-spacing:.08em; color:var(--accent); }
.stimulation-rules {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.55;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.stimulation-rules article { padding:15px; background:#fffdf9; border:1px solid var(--line); border-radius:14px; }
.stimulation-rules strong { color:var(--text); }
.stimulation-rules p { margin:6px 0 0; }
/* ===== END：Desktop AI Health Score 与策略日历 ===== */

/* ===== START：Mobile AI Health Score 与策略日历 ===== */
@media (max-width: 768px) {
  .ai-health-panel,
  .stimulation-panel {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 0 14px;
    padding: 16px;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 14px;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    background: rgba(255,253,249,.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .ai-health-note {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 0 12px;
    padding: 12px;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 12px;
    color: var(--muted);
    font-family: inherit;
    font-weight: 500;
    line-height: 1.5;
    background: #fff7ee;
    border: 1px solid #efcfb7;
    border-radius: 12px;
    box-shadow: none;
  }
  .ai-health-grid,
  .stimulation-calendar,
  .stimulation-rules {
    position: relative;
    left: 0;
    top: 0;
    margin: 12px 0 0;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 13px;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .ai-health-card,
  .calendar-day {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 14px;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 12px;
    color: var(--muted);
    font-family: inherit;
    font-weight: 500;
    line-height: 1.5;
    background: #fffaf5;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: none;
  }
}
/* ===== END：Mobile AI Health Score 与策略日历 ===== */

/* ===== START：Desktop Shopee AI Lab V2 导航、决策、实验与模拟 ===== */
.lab-nav {
  position: sticky;
  left: 0;
  top: 10px;
  margin: 0 0 22px;
  padding: 8px;
  width: 100%;
  height: auto;
  min-height: 58px;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.4;
  background: rgba(255,253,249,.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(87,55,34,.10);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.lab-nav-btn {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0 16px;
  width: auto;
  height: 40px;
  min-height: 40px;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 800;
  line-height: 38px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.lab-nav-btn.active {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0 16px;
  width: auto;
  height: 40px;
  min-height: 40px;
  max-width: none;
  font-size: 13px;
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  line-height: 38px;
  background: linear-gradient(135deg, #9f4b18, #c9692b);
  border: 1px solid #9f4b18;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(159,75,24,.20);
  text-align: center;
}
.lab-view {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: none;
}
.lab-view.active {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.decision-center-panel,
.experiment-panel,
.knowledge-panel,
.simulator-panel {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 22px;
  padding: 22px;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: rgba(255,253,249,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.dashboard-product-field {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 320px;
  height: auto;
  min-height: 62px;
  max-width: 100%;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.4;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dashboard-product-field select {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0 12px;
  width: 100%;
  height: 42px;
  min-height: 42px;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  line-height: 40px;
  background: #fffaf5;
  border: 1px solid #dfcbbd;
  border-radius: 11px;
  box-shadow: inset 0 1px 2px rgba(86,54,34,.04);
}
.decision-hero-grid {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 16px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: 220px 220px minmax(0,1fr);
  gap: 14px;
}
.decision-score-card,
.decision-primary-card {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 18px;
  width: 100%;
  height: auto;
  min-height: 152px;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.5;
  background: linear-gradient(145deg, #fffaf5, #ffffff);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 9px 24px rgba(87,55,34,.07);
}
.decision-score-card strong {
  position: relative;
  left: 0;
  top: 0;
  margin: 10px 0 6px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 31px;
  color: var(--text);
  font-family: inherit;
  font-weight: 900;
  line-height: 1.12;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.decision-score-card strong.good { color: var(--good); }
.decision-score-card strong.warn { color: var(--warn); }
.decision-score-card strong.bad { color: var(--bad); }
.decision-primary-card {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 20px;
  width: 100%;
  height: auto;
  min-height: 152px;
  max-width: none;
  font-size: 13px;
  color: #ffe8d6;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.5;
  background: linear-gradient(135deg, #713111, #a64d1b 60%, #ca6b2e);
  border: 1px solid #8e4219;
  border-radius: 17px;
  box-shadow: 0 14px 30px rgba(99,42,13,.20);
}
.decision-primary-card strong {
  position: relative;
  left: 0;
  top: 0;
  margin: 10px 0 8px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 24px;
  color: #ffffff;
  font-family: inherit;
  font-weight: 900;
  line-height: 1.25;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.decision-primary-card p {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 13px;
  color: rgba(255,255,255,.82);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.6;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.decision-detail-grid,
.decision-bottom-grid {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 16px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.decision-bottom-grid {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 14px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.decision-detail-card {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 17px;
  width: 100%;
  height: auto;
  min-height: 175px;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.55;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: none;
}
.decision-detail-card h3 {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 12px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 16px;
  color: var(--text);
  font-family: inherit;
  font-weight: 850;
  line-height: 1.35;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.decision-value-list,
.factor-list,
.action-queue,
.score-explain {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.decision-value-row,
.do-not-row,
.factor-row,
.action-queue-row,
.score-bar-row {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 9px;
  padding: 10px 11px;
  width: 100%;
  height: auto;
  min-height: 42px;
  max-width: none;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.45;
  background: #ffffff;
  border: 1px solid #eaded5;
  border-radius: 11px;
  box-shadow: none;
}
.decision-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.decision-value-row strong,
.factor-row strong,
.action-queue-row strong {
  font-size: 13px;
  color: var(--text);
  font-family: inherit;
  font-weight: 850;
  line-height: 1.4;
}
.do-not-row {
  color: var(--bad);
  background: #fff4f2;
  border-color: #ecc3be;
}
.factor-row,
.action-queue-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}
.factor-rank {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 28px;
  height: 28px;
  min-height: 28px;
  max-width: 28px;
  font-size: 12px;
  color: #ffffff;
  font-family: inherit;
  font-weight: 850;
  line-height: 28px;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  text-align: center;
  flex: 0 0 28px;
}
.factor-row p,
.action-queue-row p,
.empty-note {
  position: relative;
  left: 0;
  top: 0;
  margin: 3px 0 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.action-queue-row > span {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 88px;
  height: auto;
  min-height: 20px;
  max-width: 88px;
  font-size: 12px;
  color: var(--accent);
  font-family: inherit;
  font-weight: 900;
  line-height: 1.4;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 88px;
}
.score-bar-row > div:first-child {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 6px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 20px;
  max-width: none;
  font-size: 12px;
  color: var(--text);
  font-family: inherit;
  font-weight: 750;
  line-height: 1.4;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
}
.score-bar-track {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 5px;
  padding: 0;
  width: 100%;
  height: 8px;
  min-height: 8px;
  max-width: none;
  font-size: 0;
  color: transparent;
  font-family: inherit;
  font-weight: 400;
  line-height: 0;
  background: #eaded5;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  overflow: hidden;
}
.score-bar-track span {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 0;
  height: 8px;
  min-height: 8px;
  max-width: 100%;
  font-size: 0;
  color: transparent;
  font-family: inherit;
  font-weight: 400;
  line-height: 0;
  background: linear-gradient(90deg, #d78a54, #a84f1c);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  display: block;
}
.decision-disclaimer,
.simulator-warning {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 13px 15px;
  width: 100%;
  height: auto;
  min-height: 48px;
  max-width: none;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.55;
  background: #fff7ee;
  border: 1px solid #edcfb8;
  border-radius: 12px;
  box-shadow: none;
}
.experiment-table {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 12px;
  color: var(--text);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.4;
  background: #fffdf9;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 1900px;
}
.baseline-cell {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 8px;
  width: 230px;
  height: auto;
  min-height: 40px;
  max-width: 230px;
  font-size: 11px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  line-height: 1.45;
  background: #fffdf9;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  white-space: normal;
}
.knowledge-grid,
.simulator-results {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.knowledge-card,
.sim-result-card {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 18px;
  width: 100%;
  height: auto;
  min-height: 150px;
  max-width: none;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.55;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(87,55,34,.06);
}
.knowledge-card.good,
.sim-result-card.good { background: #f1faf4; border-color: #b9ddc5; }
.knowledge-card.warn,
.sim-result-card.warn { background: #fff9eb; border-color: #efd49f; }
.knowledge-card.bad,
.sim-result-card.bad { background: #fff4f2; border-color: #ecc3be; }
.sim-result-card.estimate { background: #f3f7ff; border-color: #cbd8ee; }
.knowledge-card span,
.sim-result-card span {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 11px;
  color: var(--accent-dark);
  font-family: inherit;
  font-weight: 850;
  line-height: 1.4;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.knowledge-card h3,
.sim-result-card strong {
  position: relative;
  left: 0;
  top: 0;
  margin: 9px 0 7px;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 22px;
  color: var(--text);
  font-family: inherit;
  font-weight: 900;
  line-height: 1.25;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.knowledge-card p,
.sim-result-card p {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.55;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.simulator-input-grid {
  position: relative;
  left: 0;
  top: 0;
  margin: 0 0 18px;
  padding: 17px;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  font-size: 13px;
  color: var(--text);
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
}
.simulator-results {
  margin: 0 0 16px;
}
/* ===== END：Desktop Shopee AI Lab V2 导航、决策、实验与模拟 ===== */

/* ===== START：Mobile Shopee AI Lab V2 导航、决策、实验与模拟 ===== */
@media (max-width: 768px) {
  .lab-nav {
    position: sticky;
    left: 0;
    top: 6px;
    margin: 0 0 14px;
    padding: 6px;
    width: 100%;
    height: auto;
    min-height: 52px;
    max-width: none;
    font-size: 12px;
    color: var(--text);
    font-family: inherit;
    font-weight: 600;
    line-height: 1.4;
    background: rgba(255,253,249,.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 9px 24px rgba(87,55,34,.10);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    z-index: 20;
  }
  .lab-nav-btn,
  .lab-nav-btn.active {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0 12px;
    width: auto;
    height: 38px;
    min-height: 38px;
    max-width: none;
    font-size: 11px;
    color: var(--muted);
    font-family: inherit;
    font-weight: 800;
    line-height: 36px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: none;
    text-align: center;
    white-space: nowrap;
  }
  .lab-nav-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #9f4b18, #c9692b);
    border-color: #9f4b18;
    box-shadow: 0 6px 16px rgba(159,75,24,.18);
  }
  .decision-center-panel,
  .experiment-panel,
  .knowledge-panel,
  .simulator-panel {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 0 14px;
    padding: 15px;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 14px;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    background: rgba(255,253,249,.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .dashboard-product-field {
    position: relative;
    left: 0;
    top: 0;
    margin: 12px 0 0;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 60px;
    max-width: none;
    font-size: 12px;
    color: var(--muted);
    font-family: inherit;
    font-weight: 800;
    line-height: 1.4;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .decision-hero-grid,
  .decision-detail-grid,
  .decision-bottom-grid,
  .knowledge-grid,
  .simulator-results,
  .simulator-input-grid {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 0 12px;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 13px;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .simulator-input-grid {
    padding: 13px;
    background: #fffaf5;
    border: 1px solid var(--line);
    border-radius: 13px;
  }
  .decision-score-card,
  .decision-primary-card,
  .decision-detail-card,
  .knowledge-card,
  .sim-result-card {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 15px;
    width: 100%;
    height: auto;
    min-height: 125px;
    max-width: none;
    font-size: 12px;
    color: var(--muted);
    font-family: inherit;
    font-weight: 600;
    line-height: 1.5;
    background: #fffaf5;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: none;
  }
  .decision-primary-card {
    color: #ffe8d6;
    background: linear-gradient(135deg, #713111, #a64d1b 60%, #ca6b2e);
    border-color: #8e4219;
  }
  .decision-score-card strong {
    position: relative;
    left: 0;
    top: 0;
    margin: 8px 0 5px;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 26px;
    color: var(--text);
    font-family: inherit;
    font-weight: 900;
    line-height: 1.15;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .decision-primary-card strong {
    font-size: 20px;
  }
  .action-queue-row > span {
    width: 75px;
    max-width: 75px;
    flex-basis: 75px;
    font-size: 10px;
  }
  .experiment-table {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    font-size: 11px;
    color: var(--text);
    font-family: inherit;
    font-weight: 500;
    line-height: 1.35;
    background: #fffdf9;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 1800px;
  }
}
/* ===== END：Mobile Shopee AI Lab V2 导航、决策、实验与模拟 ===== */

/* ===== START：Desktop 本地备份控制 ===== */
.header-actions {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  min-height: 42px;
  max-width: 620px;
  font-size: 14px;
  color: #ffffff;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.4;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.backup-file-input {
  position: absolute;
  left: -9999px;
  top: 0;
  margin: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  min-height: 1px;
  max-width: 1px;
  font-size: 1px;
  color: transparent;
  font-family: inherit;
  font-weight: 400;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  overflow: hidden;
}
.backup-status {
  position: relative;
  left: 0;
  top: 0;
  margin: 2px 0 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 18px;
  max-width: 620px;
  font-size: 12px;
  color: rgba(255,255,255,.88);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.4;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: right;
}
/* ===== END：Desktop 本地备份控制 ===== */

/* ===== START：Mobile 本地备份控制 ===== */
@media (max-width: 768px) {
  .header-actions {
    position: relative;
    left: 0;
    top: 0;
    margin: 16px 0 0;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 40px;
    max-width: none;
    font-size: 13px;
    color: #ffffff;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.4;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-content: stretch;
    gap: 9px;
  }
  .header-actions .btn {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0 10px;
    width: 100%;
    height: 40px;
    min-height: 40px;
    max-width: none;
    font-size: 12px;
    color: #ffffff;
    font-family: inherit;
    font-weight: 750;
    line-height: 38px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 11px;
    box-shadow: 0 6px 16px rgba(74,46,29,.08);
    text-align: center;
  }
  .header-actions .btn-primary {
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0 10px;
    width: 100%;
    height: 40px;
    min-height: 40px;
    max-width: none;
    font-size: 12px;
    color: var(--accent-dark);
    font-family: inherit;
    font-weight: 750;
    line-height: 38px;
    background: #fff6ee;
    border: 1px solid #ffffff;
    border-radius: 11px;
    box-shadow: 0 6px 16px rgba(74,46,29,.08);
    text-align: center;
  }
  .backup-file-input {
    position: absolute;
    left: -9999px;
    top: 0;
    margin: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    min-height: 1px;
    max-width: 1px;
    font-size: 1px;
    color: transparent;
    font-family: inherit;
    font-weight: 400;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    overflow: hidden;
  }
  .backup-status {
    position: relative;
    left: 0;
    top: 0;
    margin: 2px 0 0;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 18px;
    max-width: none;
    font-size: 11px;
    color: rgba(255,255,255,.88);
    font-family: inherit;
    font-weight: 600;
    line-height: 1.4;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    grid-column: 1 / -1;
  }
}
/* ===== END：Mobile 本地备份控制 ===== */
