/* ============================================================
   八宝 · 应用布局与页面样式
   ============================================================ */

/* ---------- 应用外壳 ---------- */
.shell { display: flex; height: 100vh; overflow: hidden; }

.sidebar {
  width: 218px; flex-shrink: 0; display: flex; flex-direction: column;
  background: var(--ink-deep);
  background-image: radial-gradient(400px 200px at 20% 0%, rgba(255,255,255,.05), transparent 70%);
  color: #cfd8cf;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.09);
}
.brand .seal {
  width: 34px; height: 34px; border-radius: 7px; background: var(--cinnabar);
  color: #f9f1e7; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.3);
}
.brand .name { font-family: var(--serif); font-size: 17px; color: #f0ede0; letter-spacing: .06em; }
.brand .sub { font-size: 10px; color: #8fa596; letter-spacing: .06em; margin-top: 1px; white-space: nowrap; }

.nav { flex: 1; overflow-y: auto; padding: 10px 10px 16px; }
.nav-group-label {
  font-size: 10.5px; color: #7d9485; letter-spacing: .18em;
  padding: 12px 10px 6px; font-family: var(--serif);
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8.5px 11px; margin-bottom: 2px; border-radius: 7px;
  color: #c3cec2; font-size: 13.5px; cursor: pointer;
  transition: background .13s, color .13s; border: 1px solid transparent;
}
.nav-item .ico { width: 20px; text-align: center; font-size: 14px; opacity: .85; font-family: var(--serif); }
.nav-item:hover { background: rgba(255,255,255,.07); color: #eef2e9; }
.nav-item.active {
  background: var(--paper); color: var(--ink-deep); font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.nav-item.active .ico { opacity: 1; }

.sidebar-foot { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.09); font-size: 11px; color: #7d9485; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: 54px; flex-shrink: 0; display: flex; align-items: center; gap: 14px;
  padding: 0 24px; border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 240, .86); backdrop-filter: blur(6px);
}
.topbar .page-title { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.topbar .spacer { flex: 1; }
.userbox { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 4px 8px; border-radius: 7px; }
.userbox:hover { background: var(--paper-deep); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink);
  color: #f0ede0; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-family: var(--serif); flex-shrink: 0;
}
.avatar.master { background: var(--cinnabar); }

.content { flex: 1; overflow-y: auto; padding: 24px 26px 60px; }
.content-inner { max-width: 1180px; margin: 0 auto; }

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative;
}
.login-card {
  width: 400px; max-width: 100%; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 40px 38px 34px; position: relative;
}
.login-card .seal-big {
  width: 54px; height: 54px; border-radius: 11px; background: var(--ink);
  color: #f4f1e4; font-family: var(--serif); font-size: 29px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 4px 14px rgba(26,77,62,.3);
}
.login-card h1 { text-align: center; font-size: 23px; letter-spacing: .08em; }
.login-card .slogan { text-align: center; color: var(--text-3); font-size: 12.5px; margin: 6px 0 26px; letter-spacing: .1em; }
.login-foot { margin-top: 20px; text-align: center; font-size: 11.5px; color: var(--text-3); }
.login-deco {
  position: absolute; font-family: var(--serif); color: rgba(26,77,62,.07);
  font-size: 150px; pointer-events: none; user-select: none; z-index: -1;
}

/* ---------- 内部系统告示 ---------- */
.notice-banner {
  display: flex; gap: 10px; align-items: center;
  background: var(--cinnabar-pale); border: 1px solid #e0c3bc; color: var(--cinnabar);
  padding: 10px 16px; border-radius: var(--r-sm); font-size: 13px; margin-bottom: 16px;
  line-height: 1.7;
}
.notice-banner .seal-mini {
  flex-shrink: 0; background: var(--cinnabar); color: #fdf3f0;
  font-family: var(--serif); font-size: 11px; padding: 2px 8px; border-radius: 4px;
  letter-spacing: .12em; font-weight: 700;
}

/* ---------- 仪表盘 ---------- */
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { padding: 16px 18px; }
.stat-card .k { font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.stat-card .v { font-family: var(--mono); font-size: 26px; color: var(--ink); line-height: 1.1; }
.stat-card .v small { font-size: 13px; color: var(--text-3); font-family: var(--sans); }
.stat-card .extra { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.dash-2col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-item {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 12px;
  cursor: pointer; background: #fff; transition: all .14s;
}
.quick-item:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.quick-item .g { font-size: 17px; font-family: var(--serif); color: var(--ink); }
.quick-item .t { font-size: 13px; margin-top: 5px; font-weight: 500; }
.quick-item .d { font-size: 11px; color: var(--text-3); margin-top: 2px; line-height: 1.5; }

/* ---------- 页面头 ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h2 { font-size: 22px; }
.page-head .desc { font-size: 13px; color: var(--text-2); margin-top: 4px; max-width: 720px; }

/* ---------- 六库 ---------- */
.lib-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.lib-tab {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-deep);
  background: var(--card); cursor: pointer; font-size: 13.5px; color: var(--text-2);
  transition: all .14s; font-family: var(--serif);
}
.lib-tab:hover { border-color: var(--ink); color: var(--ink); }
.lib-tab.active { background: var(--ink); border-color: var(--ink); color: #f2efe3; }
.lib-tab .cnt { font-family: var(--mono); font-size: 11px; opacity: .75; margin-left: 5px; }
.lib-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lib-item { padding: 14px 16px; position: relative; }
.lib-item .content { font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.lib-item .meta { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 11.5px; color: var(--text-3); }
.lib-item .ops { position: absolute; top: 10px; right: 10px; display: none; gap: 4px; }
.lib-item:hover .ops { display: flex; }

/* ---------- 文风指纹 ---------- */
.fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fp-layer { padding: 18px 20px; }
.fp-layer .lh { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.fp-layer .ln {
  width: 26px; height: 26px; border-radius: 6px; background: var(--ink-pale);
  color: var(--ink); font-family: var(--serif); font-size: 14px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.fp-layer .lt { font-family: var(--serif); font-size: 15px; font-weight: 600; }
.fp-layer .lv { font-size: 13.5px; color: var(--text); line-height: 1.75; }
.fp-layer .lex { margin-top: 8px; font-size: 12px; color: var(--text-3); border-left: 2px solid var(--line-deep); padding-left: 10px; }
.fp-summary {
  background: var(--ink-deep); color: #e8e4d5; border-radius: var(--r);
  padding: 20px 24px; font-family: var(--serif); font-size: 15px; line-height: 1.9;
  margin-bottom: 16px; position: relative; overflow: hidden;
}
.fp-summary::after {
  content: '风'; position: absolute; right: -8px; bottom: -28px;
  font-size: 110px; color: rgba(255,255,255,.05);
}
.sample-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; background: #fff; }

/* ---------- 选题 ---------- */
.topic-card { padding: 16px 18px; margin-bottom: 10px; position: relative; }
.topic-card .tt { font-family: var(--serif); font-size: 15.5px; font-weight: 600; line-height: 1.5; padding-right: 76px; }
.topic-card .ta { font-size: 13px; color: var(--text-2); margin-top: 7px; }
.topic-card .tr { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.topic-card .tr::before { content: '依据 · '; color: var(--gold); }
.topic-card .tops { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; }
.batch-head { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; font-size: 12.5px; color: var(--text-3); }
.batch-head::after { content: ''; flex: 1; border-top: 1px dashed var(--line-deep); }

/* ---------- 写作台 ---------- */
.writer-layout { display: flex; gap: 16px; align-items: flex-start; }
.writer-main { flex: 1; min-width: 0; }
.writer-side { width: 280px; flex-shrink: 0; position: sticky; top: 0; }
.writer-title-input {
  width: 100%; border: none; background: transparent; font-family: var(--serif);
  font-size: 22px; font-weight: 700; padding: 6px 2px 12px; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.writer-title-input:focus { outline: none; border-bottom-color: var(--ink); }
.writer-editor {
  width: 100%; min-height: 520px; border: none; background: transparent;
  font-size: 15px; line-height: 2; padding: 16px 2px; resize: vertical;
  font-family: var(--sans); color: var(--text);
}
.writer-editor:focus { outline: none; }
.writer-toolbar {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.side-block { padding: 14px 16px; margin-bottom: 12px; }
.side-block h4 { font-size: 13px; color: var(--text-2); margin-bottom: 10px; font-family: var(--serif); letter-spacing: .05em; }
.ai-mode-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.version-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.version-item:last-child { border-bottom: none; }

/* 文章列表 */
.article-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.article-row:last-child { border-bottom: none; }
.article-row:hover { background: rgba(26,77,62,.03); }
.article-row .at { font-family: var(--serif); font-size: 14.5px; font-weight: 600; }
.article-row .am { font-size: 11.5px; color: var(--text-3); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 配图 ---------- */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.img-card { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; position: relative; }
.img-card .thumb { height: 118px; background: var(--paper-deep) center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 12px; }
.img-card .info { padding: 8px 10px; font-size: 12px; }
.img-card .ops { position: absolute; top: 6px; right: 6px; display: none; gap: 5px; }
.img-card:hover .ops { display: flex; }
.route-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.route-card { padding: 15px 16px; cursor: pointer; transition: all .14s; }
.route-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.route-card .g { font-size: 20px; font-family: var(--serif); color: var(--ink); }
.route-card .t { font-weight: 600; font-size: 13.5px; margin-top: 6px; }
.route-card .d { font-size: 11.5px; color: var(--text-3); margin-top: 4px; line-height: 1.55; }

/* ---------- 排版发布 ---------- */
.publish-layout { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
.tpl-list { display: flex; flex-direction: column; gap: 9px; }
.tpl-item {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px;
  cursor: pointer; background: #fff; transition: all .13s;
}
.tpl-item:hover { border-color: var(--line-deep); }
.tpl-item.active { border-color: var(--ink); background: var(--ink-pale); }
.tpl-item .tn { font-family: var(--serif); font-weight: 600; font-size: 13.5px; }
.tpl-item .td { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.phone-frame {
  width: 390px; max-width: 100%; margin: 0 auto; background: #1c1c1e;
  border-radius: 34px; padding: 10px; box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: #fff; border-radius: 26px; overflow: hidden;
  height: 640px; display: flex; flex-direction: column;
}
.phone-status {
  height: 34px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; font-size: 11px; color: #333; background: #fff; font-family: var(--mono);
}
.phone-article-bar { padding: 10px 16px 8px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; }
.phone-article-bar .t { font-size: 15px; font-weight: 700; line-height: 1.4; }
.phone-article-bar .a { font-size: 11px; color: #576b95; margin-top: 4px; }
.phone-body { flex: 1; overflow-y: auto; padding: 14px 16px 30px; }
.account-check { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; background: #fff; cursor: pointer; }
.account-check:hover { border-color: var(--ink); }
.account-check input { accent-color: var(--ink); width: 15px; height: 15px; }

/* ---------- 数据复盘 ---------- */
.drop-zone {
  border: 2px dashed var(--line-deep); border-radius: var(--r); padding: 40px 20px;
  text-align: center; color: var(--text-3); cursor: pointer; transition: all .15s;
  background: rgba(255,255,255,.5);
}
.drop-zone:hover, .drop-zone.over { border-color: var(--ink); color: var(--ink); background: var(--ink-pale); }
.chart-box { padding: 16px 18px; }
.chart-box svg { width: 100%; height: auto; display: block; }
.finding-item { display: flex; gap: 9px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; line-height: 1.7; }
.finding-item:last-child { border-bottom: none; }
.finding-item .no {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 5px; background: var(--ink-pale);
  color: var(--ink); font-size: 11px; font-family: var(--mono);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ---------- 员工管理 ---------- */
.staff-avatar { width: 34px; height: 34px; font-size: 14px; }

/* ---------- 设置 ---------- */
.settings-section { margin-bottom: 22px; }
.settings-section > h3 {
  font-size: 15px; padding-bottom: 9px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px;
}
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* ---------- 服务号 ---------- */
.bind-code-box {
  font-family: var(--mono); font-size: 30px; letter-spacing: .35em; color: var(--ink);
  background: var(--ink-pale); border: 1px dashed var(--ink); border-radius: var(--r-sm);
  padding: 18px 22px; text-align: center; font-weight: 700;
}

/* ---------- Markdown 预览（写作台） ---------- */
.md-preview { font-size: 15px; line-height: 1.95; color: #333; word-break: break-word; }
.md-preview h1 { font-size: 21px; margin: 18px 0 12px; }
.md-preview h2 { font-size: 18px; margin: 16px 0 10px; }
.md-preview h3 { font-size: 16px; margin: 14px 0 8px; }
.md-preview p { margin: 0 0 12px; }
.md-preview blockquote { border-left: 3px solid var(--ink); background: var(--paper-deep); padding: 8px 14px; margin: 0 0 12px; color: var(--text-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.md-preview ul, .md-preview ol { padding-left: 22px; margin: 0 0 12px; }
.md-preview li { margin-bottom: 4px; }
.md-preview img { max-width: 100%; border-radius: 6px; }
.md-preview code { background: var(--paper-deep); padding: 1px 6px; border-radius: 4px; font-family: var(--mono); font-size: 13px; }
.md-preview hr { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.md-preview strong { color: var(--ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .lib-list { grid-template-columns: 1fr; }
  .fp-grid { grid-template-columns: 1fr; }
  .route-cards { grid-template-columns: repeat(2, 1fr); }
  .publish-layout { grid-template-columns: 1fr; }
  .dash-2col { grid-template-columns: 1fr; }
  .writer-side { width: 240px; }
}
@media (max-width: 860px) {
  .sidebar { width: 60px; }
  .brand .texts, .nav-item span:not(.ico), .nav-group-label, .sidebar-foot { display: none; }
  .brand { justify-content: center; padding: 16px 6px 12px; }
  .nav-item { justify-content: center; padding: 10px 0; }
  .writer-side { display: none; }
  .settings-grid { grid-template-columns: 1fr; }
}

/* ============ 艺术化仪表盘 ============ */
.dash-hero {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #fffdf8 0%, #f7f2e6 45%, #f1e9d7 100%);
  padding: 28px 30px 24px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.dash-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 220px at 88% -10%, rgba(26, 77, 62, .10), transparent 62%),
    radial-gradient(420px 180px at 0% 110%, rgba(166, 61, 47, .06), transparent 60%);
}
.dash-hero .ink-art { position: absolute; right: -24px; bottom: -10px; width: min(58%, 640px); opacity: .95; pointer-events: none; }
.hero-eyebrow { font-family: var(--serif); font-size: 11px; letter-spacing: .42em; color: var(--cinnabar); margin-bottom: 10px; }
.hero-title { position: relative; font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--text); line-height: 1.35; }
.hero-title .name { background: linear-gradient(transparent 64%, rgba(26, 77, 62, .22) 64%); padding: 0 3px; }
.hero-sub { position: relative; margin-top: 9px; font-size: 13px; color: var(--text-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-sub .dot { width: 4px; height: 4px; background: var(--line-deep); border-radius: 50%; display: inline-block; }
.hero-actions { position: relative; margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stamp {
  position: absolute; right: 28px; top: 22px; width: 54px; height: 54px;
  border: 2px solid var(--cinnabar); color: var(--cinnabar); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 27px; font-weight: 700;
  transform: rotate(-6deg); opacity: .72; background: rgba(255, 253, 248, .35);
  box-shadow: inset 0 0 0 1px rgba(166, 61, 47, .25);
}
.hero-motto { position: absolute; left: 30px; bottom: -16px; font-family: var(--serif); font-size: 84px; color: rgba(26, 77, 62, .05); pointer-events: none; user-select: none; }

/* 统计卡 */
.stat-card { position: relative; overflow: hidden; transition: transform .16s ease, box-shadow .16s ease, border-color .16s; }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #cdc3ae; }
.stat-card .numeral { position: absolute; right: 12px; top: -8px; font-family: var(--serif); font-size: 64px; line-height: 1; color: rgba(26, 77, 62, .07); pointer-events: none; }
.stat-card .k { position: relative; letter-spacing: .08em; }
.stat-card .v { position: relative; font-family: var(--serif); font-size: 31px; font-weight: 700; color: var(--ink); }
.stat-card .v small { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--text-3); }
.stat-card::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 42px; border-top: 1px dashed rgba(26, 77, 62, .16); }
.stat-card .extra { position: relative; }

/* 快捷入口 */
.quick-item { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(180deg, #fffdf9, #fbf8f0); }
.quick-item .medallion {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, #ffffff, var(--ink-pale));
  border: 1px solid #cfe0d6; color: var(--ink);
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7);
  transition: all .18s ease;
}
.quick-item:hover .medallion { color: var(--cinnabar); border-color: #e0c3bc; background: radial-gradient(circle at 30% 25%, #ffffff, var(--cinnabar-pale)); transform: rotate(-4deg) scale(1.04); }
.quick-item .txt { min-width: 0; }

/* 卡片标题装饰（仅仪表盘） */
.dash-2col .card-title h3::before { content: '◆'; color: var(--cinnabar); font-size: 9px; margin-right: 8px; vertical-align: 2px; }

/* 今日一句 */
.quote-card { position: relative; overflow: hidden; border: none; background: linear-gradient(135deg, #1a4d3e, #12392e 72%); color: #e9e5d6; }
.quote-card::after { content: '“'; position: absolute; left: -8px; top: -46px; font-family: var(--serif); font-size: 170px; color: rgba(255, 255, 255, .05); }
.quote-card .q { position: relative; font-family: var(--serif); font-size: 16.5px; line-height: 2; }
.quote-card .q-meta { margin-top: 12px; font-size: 11.5px; color: #94ab9d; letter-spacing: .12em; }
.quote-card .q-seal {
  position: absolute; right: 18px; bottom: 16px; width: 40px; height: 40px;
  border: 1.5px solid rgba(233, 229, 214, .35); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); color: rgba(233, 229, 214, .6); transform: rotate(-5deg); font-size: 19px;
}

@media (max-width: 900px) {
  .dash-hero .ink-art { opacity: .35; }
  .hero-title { font-size: 24px; }
  .hero-stamp { display: none; }
  .stat-card::after { display: none; }
}

/* ============ 使用教程 ============ */
.guide-hero {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 30px 32px; margin-bottom: 20px;
  background: linear-gradient(135deg, #1a4d3e, #12392e 75%);
  color: #e9e5d6; box-shadow: var(--shadow);
}
.guide-hero::after {
  content: '導'; position: absolute; right: -10px; bottom: -44px;
  font-family: var(--serif); font-size: 190px; color: rgba(255, 255, 255, .05); pointer-events: none;
}
.g-eyebrow { font-family: var(--serif); font-size: 11px; letter-spacing: .42em; color: #9db2a4; margin-bottom: 10px; }
.guide-hero h1 { font-family: var(--serif); font-size: 27px; color: #f2efe3; margin-bottom: 8px; }
.g-sub { color: #a9bdb0; font-size: 13px; }
.g-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; position: relative; }
.g-step {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px;
  border: 1px solid rgba(233, 229, 214, .25); border-radius: 999px; font-size: 12.5px; color: #dfe6dd;
}
.g-step b {
  width: 18px; height: 18px; border-radius: 50%; background: var(--cinnabar);
  color: #fff; font-size: 11px; font-weight: 400;
  display: flex; align-items: center; justify-content: center;
}
.g-arrow { color: rgba(233, 229, 214, .35); font-size: 12px; }

.g-group { margin-bottom: 24px; }
.g-group > .orn { margin-bottom: 14px; }
.g-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.g-card { padding: 16px 18px; }
.g-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.g-glyph {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, #fff, var(--ink-pale));
  border: 1px solid #cfe0d6; color: var(--ink);
  font-family: var(--serif); font-size: 20px; font-weight: 700;
}
.g-name { font-family: var(--serif); font-size: 16px; font-weight: 700; }
.g-tag { margin-left: 4px; vertical-align: 2px; font-size: 11px; }
.g-row { display: flex; gap: 10px; margin-bottom: 8px; font-size: 13px; line-height: 1.75; }
.g-label {
  flex-shrink: 0; width: 44px; text-align: center; align-self: flex-start;
  font-size: 11px; padding: 1px 0; border-radius: 4px;
  background: var(--paper-deep); color: var(--text-2); margin-top: 2px;
}
.g-label.hot { background: var(--cinnabar-pale); color: var(--cinnabar); }
.g-row p { color: var(--text-2); }
.g-row ul { padding-left: 16px; color: #3d3a33; }
.g-row li { margin-bottom: 2px; }
.g-steps { font-family: var(--mono); font-size: 12px; background: var(--ink-pale); padding: 5px 10px; border-radius: 5px; }

.g-faq { display: flex; flex-direction: column; gap: 10px; }
.g-faq-item { padding: 0; }
.g-faq-item summary {
  padding: 13px 18px; cursor: pointer; font-family: var(--serif); font-weight: 600;
  font-size: 14px; list-style: none; position: relative;
}
.g-faq-item summary::-webkit-details-marker { display: none; }
.g-faq-item summary::after { content: '+'; position: absolute; right: 16px; top: 11px; color: var(--cinnabar); font-size: 16px; }
.g-faq-item[open] summary::after { content: '−'; }
.g-faq-item p { padding: 0 18px 14px; color: var(--text-2); font-size: 13px; line-height: 1.85; }
@media (max-width: 1100px) { .g-grid { grid-template-columns: 1fr; } }

/* ============ 登录页 · 高级版（左品牌语区 + 右极简表单） ============ */
.login-stage { min-height: 100vh; display: flex; background: var(--paper); }
.login-brand {
  position: relative; flex: 0 0 56%; max-width: 760px; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; padding: 64px 76px;
  background: linear-gradient(150deg, #0f2f26 0%, #1a4d3e 58%, #21543f 100%);
  color: #efe9d8;
}
.login-brand::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(720px 420px at 78% 6%, rgba(255, 255, 255, .10), transparent 62%),
    radial-gradient(520px 320px at 0% 104%, rgba(0, 0, 0, .28), transparent 66%);
}
.lb-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; opacity: .92; pointer-events: none; }
.lb-vertical {
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; letter-spacing: .5em; font-family: var(--serif);
  font-size: 13px; color: rgba(239, 233, 216, .32);
}
.lb-seal {
  width: 46px; height: 46px; border: 1.5px solid rgba(239, 233, 216, .55); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 23px; color: #e8e2cf;
  transform: rotate(-5deg); margin-bottom: 36px; position: relative;
  box-shadow: inset 0 0 0 4px rgba(239, 233, 216, .06);
}
.lb-eyebrow { position: relative; font-family: var(--serif); font-size: 11px; letter-spacing: .5em; color: #9db2a4; margin-bottom: 16px; }
.lb-title { position: relative; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.5; font-weight: 700; color: #f4efe0; }
.lb-title em { font-style: normal; color: #d8b56a; }
.lb-rule { width: 56px; height: 2px; margin: 28px 0 0; background: linear-gradient(90deg, #d8b56a, transparent); position: relative; }
.lb-quote-wrap { margin-top: 30px; min-height: 100px; position: relative; max-width: 520px; }
.lb-quote { font-family: var(--serif); font-size: 17px; line-height: 2.05; color: #cfd9cd; transition: opacity .45s ease; }
.lb-quote.fade { opacity: 0; }
.lb-quote::before { content: '「'; color: #d8b56a; }
.lb-quote::after { content: '」'; color: #d8b56a; }
.lb-quote-meta { margin-top: 16px; font-size: 11px; letter-spacing: .26em; color: rgba(207, 217, 205, .42); position: relative; }
.lb-foot { position: absolute; left: 76px; bottom: 32px; font-size: 11.5px; letter-spacing: .16em; color: rgba(207, 217, 205, .42); }

.login-panel {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 40px;
  background:
    radial-gradient(620px 320px at 100% 0%, rgba(26, 77, 62, .05), transparent 60%),
    var(--paper);
}
.login-card2 { width: 400px; max-width: 100%; }
.login-card2 .lp-seal {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(160deg, #1f5a48, #12392e); color: #f4efe0;
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(18, 57, 46, .28), inset 0 0 0 1.5px rgba(255, 255, 255, .22);
}
.login-card2 h1 { font-family: var(--serif); font-size: 24px; letter-spacing: .06em; }
.login-card2 .lp-slogan { margin-top: 6px; font-size: 12.5px; letter-spacing: .14em; color: var(--text-3); margin-bottom: 30px; }
.lp-field { margin-bottom: 20px; }
.lp-field label { display: block; font-size: 12px; letter-spacing: .12em; color: var(--text-3); margin-bottom: 7px; }
.lp-input {
  width: 100%; border: none; border-bottom: 1px solid var(--line-deep); background: transparent;
  padding: 8px 2px 9px; font-size: 15px; color: var(--text);
  transition: border-color .18s, box-shadow .18s;
}
.lp-input:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.lp-input::placeholder { color: #c4bdae; font-size: 13.5px; }
.lp-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 26px; font-size: 12.5px; color: var(--text-2); }
.lp-btn {
  position: relative; width: 100%; padding: 12px 18px; border-radius: 8px; border: none; cursor: pointer;
  color: #f6f2e6; font-size: 15px; letter-spacing: .32em; font-family: var(--serif);
  background: linear-gradient(160deg, #1f5a48, #143a2d);
  box-shadow: 0 8px 20px rgba(18, 57, 46, .24), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.lp-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(18, 57, 46, .32); filter: brightness(1.06); }
.lp-btn:disabled { opacity: .6; cursor: not-allowed; }
.lp-foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); line-height: 1.95; text-align: center; }
.lp-foot .warn { color: var(--cinnabar); }

@media (max-width: 980px) {
  .login-stage { flex-direction: column; }
  .login-brand { flex: none; padding: 36px 28px 34px; }
  .lb-vertical, .lb-foot, .lb-art { display: none; }
  .lb-title { font-size: 26px; }
  .lb-quote-wrap { margin-top: 18px; min-height: 70px; }
  .login-panel { padding: 34px 22px 48px; }
}
