
:root {
  --bg: #eef1f4;
  --ink: #1c2430;
  --muted: #5b6775;
  --line: #d5dbe3;
  --card: #fff;
  --accent: #1f5eff;
  --todo: #607189;
  --doing: #1f5eff;
  --review: #b36b00;
  --bug: #c42b2b;
  --done: #1f7a45;
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); min-height: 100%; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); }
header.top {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; background: #152033; color: #fff;
  position: sticky; top: 0; z-index: 5;
}
header.top h1 { font-size: 18px; margin: 0; font-weight: 650; letter-spacing: .02em; }
header.top .grow { flex: 1; }
header.top select, header.top button, header.top input {
  border: 0; border-radius: 8px; padding: 7px 10px;
}
header.top .who { color: #c9d4e5; font-size: 13px; }
header.top button.primary { background: var(--accent); color: #fff; cursor: pointer; }
header.top button.link { background: transparent; color: #c9d4e5; cursor: pointer; }
header.top button.link:disabled { opacity: 0.45; cursor: default; }
.board {
  display: flex; gap: 12px; padding: 16px; align-items: flex-start;
}
.lanes-main {
  flex: 1 1 auto; min-width: 0;
  display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 12px; align-items: start;
}
.lanes-side { flex: 0 0 auto; display: flex; gap: 8px; align-items: flex-start; }
.lane.side.expanded { width: 240px; }
.lane.side.expanded h2 { cursor: pointer; }
.lane.side.expanded h2 .fold { color: var(--muted); margin-left: auto; padding-left: 6px; }
.lane.side.collapsed { width: 38px; padding: 10px 4px; cursor: pointer; opacity: .85; }
.lane.side.collapsed:hover { opacity: 1; background: #d9dee6; }
.lane.side.collapsed h2 { flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.lane.side.collapsed .vlabel { writing-mode: vertical-rl; letter-spacing: 2px; }
.lane[data-status="已上线"] h2 { color: #1f7a8c; }
.lane[data-status="已归档"] h2 { color: var(--muted); }
.lane {
  background: #e4e8ee; border-radius: 12px; padding: 10px;
  min-height: calc(100vh - 90px);
}
.lane h2 {
  margin: 0 0 10px; font-size: 14px; display: flex; justify-content: space-between;
}
.lane h2 .n { background: #fff; border-radius: 999px; padding: 0 8px; font-weight: 600; color: var(--muted); }
.lane[data-status="待开发"] h2 { color: var(--todo); }
.lane[data-status="开发中"] h2 { color: var(--doing); }
.lane[data-status="需要审核"] h2, .lane[data-status="待审核"] h2 { color: var(--review); }
.lane[data-status="Bug"] h2 { color: var(--bug); }
.lane[data-status="已完成"] h2 { color: var(--done); }
.card {
  background: var(--card); border-radius: 10px; padding: 10px 12px;
  margin-bottom: 10px; box-shadow: 0 1px 1px rgba(16,24,40,.06);
  cursor: pointer; border: 1px solid transparent;
}
.card:hover { border-color: #b9c6d8; }
/* 长单词/长编号（如 CRM_WORKBENCH_LEGACY_DISPATCH）强制断行，避免溢出卡片 */
.card, .card .num, .card .title, .card .meta { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.card .num { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.card .title { font-weight: 650; margin: 4px 0; }
.card .meta { font-size: 12px; color: var(--muted); }
.login {
  max-width: 380px; margin: 12vh auto; background: #fff; padding: 28px;
  border-radius: 16px; box-shadow: 0 8px 32px rgba(16,24,40,.08);
}
.login h1 { margin: 0 0 6px; font-size: 22px; }
.login p { color: var(--muted); margin: 0 0 18px; }
.login label { display: block; font-size: 13px; margin: 10px 0 4px; }
.login input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; }
.login button { margin-top: 16px; width: 100%; padding: 10px; border: 0; border-radius: 8px; background: #152033; color: #fff; cursor: pointer; }
.login .err { color: var(--bug); font-size: 13px; min-height: 1.2em; }
.mask { position: fixed; inset: 0; background: rgba(16,24,40,.45); display: flex; justify-content: flex-end; z-index: 10; }
.panel {
  width: min(760px, 100%); background: #fff; height: 100%; overflow: auto;
  padding: 20px 24px 48px; box-shadow: -8px 0 30px rgba(16,24,40,.15);
}
.panel h2 { margin: 0 0 4px; }
.panel .toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; }
.panel label { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.panel input[type=text], .panel select, .panel textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
}
.panel textarea { min-height: 80px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.thread { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
.item { background: #f6f8fb; border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.item .who { font-size: 12px; color: var(--muted); }
.item pre, .diff pre {
  white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; background: #101826; color: #e7eef7; padding: 12px; border-radius: 8px; overflow: auto;
}
button.btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
button.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
button.btn.danger { color: var(--bug); }
.flash { padding: 8px 10px; border-radius: 8px; background: #fff4e5; color: #7a4b00; margin: 8px 0; }
.empty { color: var(--muted); font-size: 13px; padding: 12px 4px; }

.view-tabs { display: flex; gap: 0; background: #243044; border-radius: 8px; padding: 2px; }
.view-tabs a, .view-tabs button { border: 0; background: transparent; color: #c9d4e5; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 13px; text-decoration: none; }
.view-tabs a.active, .view-tabs button.active { background: var(--accent); color: #fff; }

.docs-layout { display: grid; grid-template-columns: 280px 1fr; min-height: calc(100vh - 64px); }
.doc-sider { border-right: 1px solid var(--line); background: #f7f9fc; padding: 12px; overflow: auto; }
.doc-filters { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.doc-filters select, .doc-filters input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; }
.doc-item { display: block; width: 100%; text-align: left; text-decoration: none; color: inherit; border: 1px solid transparent; background: #fff; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; cursor: pointer; }
.doc-item.active, .doc-item:hover { border-color: var(--accent); }
.doc-item-title { font-weight: 600; color: #1c2430; }
.doc-item-meta { font-size: 12px; color: #6b778c; margin-top: 2px; }
.doc-tag { display: inline-block; font-size: 11px; background: #e8eef8; color: #345; border-radius: 999px; padding: 1px 7px; margin-right: 4px; }
.doc-main { padding: 20px 28px 48px; overflow: auto; }
.doc-head h2 { margin: 0 0 8px; font-size: 22px; }
.doc-head-meta { color: #6b778c; font-size: 13px; margin-bottom: 10px; }
.doc-edit textarea { width: 100%; min-height: 420px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
article.md { line-height: 1.65; color: #1c2430; max-width: 920px; }
article.md h1, article.md h2, article.md h3 { margin: 1.2em 0 0.5em; }
article.md p, article.md ul, article.md ol { margin: 0.6em 0; }
article.md pre { background: #0f1724; color: #e6edf7; padding: 12px 14px; border-radius: 8px; overflow: auto; font-size: 13px; }
article.md code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
article.md p code, article.md li code { background: #eef2f7; padding: 1px 4px; border-radius: 4px; }
article.md pre code { background: transparent; color: inherit; padding: 0; }
article.md table { border-collapse: collapse; margin: 12px 0; width: 100%; }
article.md th, article.md td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
article.md th { background: #f3f6fb; }
article.md blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--accent); color: #445; }
article.md .language-mermaid { display: block; white-space: pre-wrap; }
@media (max-width: 800px) {
  .docs-layout { grid-template-columns: 1fr; }
}
.auto-upd { font-size: 12px; opacity: .75; white-space: nowrap; }
.auto-upd.warn { color: var(--bug); opacity: 1; }

/* ---- 精简页头 ---- */
header.top { gap: 12px; flex-wrap: wrap; row-gap: 8px; }
header.top h1 { white-space: nowrap; }
header.top .ctx { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
header.top .ctx select { max-width: 220px; }
header.top .hdr-actions { display: flex; align-items: center; gap: 2px; }
header.top button.hbtn, header.top a.hbtn { padding: 7px 10px; white-space: nowrap; }
header.top a.hbtn { background: transparent; color: #c9d4e5; text-decoration: none; font-size: 13px; border-radius: 8px; }
header.top button.hbtn:hover, header.top a.hbtn:hover, header.top .umenu button.link:hover { background: #243044; color: #fff; }
header.top .burger { display: none; font-size: 18px; line-height: 1; padding: 5px 10px; }
header.top .chip { background: #243044; color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.umenu { position: relative; }
.umenu > button { white-space: nowrap; }
.umenu-pop { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; color: #152033; border-radius: 10px; box-shadow: 0 10px 30px rgba(16,24,40,.25); padding: 10px; min-width: 190px; z-index: 20; }
.umenu-pop .umenu-who { font-size: 14px; padding: 4px 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.umenu-pop .umenu-who span { color: var(--muted); font-size: 12px; }
header.top .umenu-pop button.link { color: var(--bug); width: 100%; text-align: left; }
header.top .umenu-pop button.link:hover { background: #f6f8fb; color: var(--bug); }

/* ---- 管理弹框 ---- */
.mmask { justify-content: center; align-items: flex-start; padding: 6vh 12px; z-index: 30; }
.mpanel { width: min(680px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 14px; padding: 18px 22px 22px; box-shadow: 0 20px 60px rgba(16,24,40,.3); }
.mpanel .mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mpanel h2 { margin: 0; font-size: 18px; }
.mpanel h3 { font-size: 14px; margin: 18px 0 8px; color: #152033; }
.mpanel .mclose { border: 0; background: transparent; font-size: 18px; cursor: pointer; color: var(--muted); }
.mpanel label { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.mpanel input, .mpanel select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.mpanel .row2 input, .mpanel .row2 select { width: 100%; }
.mpanel .row3 { display: flex; gap: 8px; margin: 8px 0; flex-wrap: wrap; }
.mpanel .row3 input { flex: 1 1 180px; }
.mpanel .toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.mpanel .hint { color: var(--muted); font-size: 12px; margin: 6px 0; }
.mpanel .chk { display: block; font-size: 14px; color: #152033; margin: 6px 0; cursor: pointer; }
.mpanel .chk input { margin-right: 6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); padding: 6px; }
.tbl td { border-bottom: 1px solid #eef1f5; padding: 6px; vertical-align: middle; }
.tbl td .btn { padding: 4px 8px; font-size: 12px; }
.tbl-scroll { max-height: 300px; overflow: auto; }
.nowrap { white-space: nowrap; }
.tag { display: inline-block; background: #e8f0ff; color: var(--accent); border-radius: 6px; padding: 0 6px; font-size: 11px; margin-left: 4px; }

/* 窄屏：管理按钮收进 ≡ 菜单 */
@media (max-width: 900px) {
  header.top { padding: 10px 12px; }
  header.top .burger { display: inline-block; order: 10; }
  header.top .hdr-actions { display: none; }
  header.top.menu-open .hdr-actions {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; right: 12px; top: 100%;
    background: #152033; border-radius: 0 0 10px 10px; padding: 6px; z-index: 20; box-shadow: 0 10px 30px rgba(16,24,40,.35);
  }
  header.top .hbtn { text-align: left; }
  header.top .grow { display: none; }
  header.top .ctx { order: 20; width: 100%; }
  header.top .ctx select { max-width: 42vw; }
  .mpanel .tbl td .btn { margin: 2px 0; }
}

.board { overflow-x: auto; }
.lane.side.expanded { flex: 1 0 220px; min-width: 220px; }
.lane.side.collapsed { flex: 0 0 38px; }
.lane-toggle { display: flex; justify-content: space-between; gap: 8px; width: 100%; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; text-align: left; cursor: pointer; padding: 0; }
.lane-toggle .vlabel { overflow-wrap: anywhere; }
.lane.side.collapsed .lane-toggle { flex-direction: column; align-items: center; }
.lane.side.collapsed .vlabel { max-height: 16em; overflow: hidden; }
.lane-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lane-row input[data-lane-name] { flex: 1 1 150px; }
.lane-row label { margin: 0; white-space: nowrap; }
.timeline-list { margin: 12px 0; padding: 0 0 0 12px; list-style: none; border-left: 2px solid var(--line); }
.timeline-event { position: relative; padding: 8px 4px 12px; overflow-wrap: anywhere; }
.timeline-event::before { content: ''; position: absolute; width: 8px; height: 8px; top: 13px; left: -17px; border-radius: 50%; background: var(--accent); }
.timeline-meta { color: var(--muted); font-size: 12px; margin: 2px 0; }
.timeline-status { display: inline-block; margin: 4px; padding: 2px 8px; border-radius: 999px; background: #eaf0f8; font-size: 12px; }

header.top .report-link { color: #e6edf9; font-size: 13px; }
.report-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px max(16px, calc((100% - 1120px) / 2)); background: #152033; color: #fff; }
.report-header h1 { margin: 0; font-size: 20px; }
.report-header a { color: #e6edf9; white-space: nowrap; }
.report-main { max-width: 1152px; margin: auto; padding: 16px; }
.report-filters:not([hidden]) { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; background: #fff; padding: 14px; border-radius: 10px; }
.report-filters label { display: grid; gap: 5px; font-size: 13px; }
.report-filters label.report-check { display: flex; align-items: center; padding: 7px 0; }
.report-filters input:not([type=checkbox]), .report-filters select, .report-chart select { max-width: 240px; min-width: 0; padding: 7px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.report-filters .report-link { padding: 6px 0; }
.report-main #report-note { margin-top: 12px; }
.report-main .timeline-list, .report-chart { background: #fff; margin: 12px 0; padding: 12px 16px 12px 22px; border-radius: 8px; }
.report-main .timeline-event::before { left: -27px; }
.report-chart-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.report-bars { list-style: none; padding: 0; margin-bottom: 0; }
.report-bars li { display: grid; align-items: center; grid-template-columns: minmax(85px, 1fr) minmax(70px, 4fr) 3ch; gap: 10px; margin: 8px 0; overflow-wrap: anywhere; }
.report-track, .report-bar { display: block; height: 16px; border-radius: 4px; }
.report-track { background: #eaf0f8; }
.report-bar { background: #3468bc; }
.report-table-wrap { overflow-x: auto; margin-top: 12px; }
.report-table { border-collapse: collapse; width: 100%; white-space: nowrap; }
.report-table th, .report-table td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: right; }
.report-table .suggest-reason { white-space: pre-wrap; text-align: left; word-break: break-word; min-width: 300px; max-width: 680px; }
.report-chart summary { cursor: pointer; }

.report-chart-controls button[aria-pressed="true"] { background: #245ca9; color: #fff; }
.report-trend { display: block; width: 100%; min-width: 660px; cursor: crosshair; }
.report-trend-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.report-trend-legend button { display: inline-flex; align-items: center; gap: 7px; }
.report-trend-legend button::before { content: ''; width: 16px; height: 3px; background: var(--line-color); }
.report-trend-legend button[aria-pressed="false"] { opacity: .65; text-decoration: line-through; }

/* ---- 空间管理独立页 ---- */
.space-main { max-width: 960px; }
.space-main .space-card { background: #fff; border-radius: 10px; padding: 16px 20px; margin: 14px 0; }
.space-main .space-card h2 { margin: 0 0 8px; font-size: 16px; }
.space-main .hint { color: var(--muted); font-size: 12px; margin: 6px 0; }
.space-main .space-scroll { overflow-x: auto; }
.space-main .tbl { min-width: 620px; }
.space-main .tbl td, .space-main .tbl th { white-space: nowrap; }
.space-main .space-row { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.space-main .space-row input { flex: 1 1 200px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; }
.space-main .space-row select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.space-main .space-toolbar { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 10px 0; }
.space-main .space-toolbar label { display: grid; gap: 5px; font-size: 13px; }
.space-main .space-toolbar select { min-width: 220px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.space-main .space-edit { display: inline-flex; gap: 6px; align-items: center; }
.space-main .space-edit input { padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; width: 180px; }
.space-main .tbl td .btn { margin: 2px 0; }
.space-main .space-message { padding: 8px 12px; border-radius: 8px; background: #e7f0e9; color: #1f5e36; }
.space-main .space-message.space-error { background: #fdeaea; color: #a02020; }
.space-main .tag { background: #eaf0f8; color: #245ca9; border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.space-main .empty { color: var(--muted); }
/* 弹窗：居中显示；hidden 时必须真正隐藏（.mask 默认 display:flex 会盖掉 hidden 属性） */
.mask.center { justify-content: center; align-items: center; }
.mask[hidden] { display: none !important; }
.space-main .space-toolbar { align-items: center; }
.space-main .space-toolbar h2 { margin: 0; }
.space-main .space-toolbar .grow { flex: 1; }
.space-main a.btn.space-link { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 8px; font-size: 12px; text-decoration: none; color: inherit; display: inline-block; }
.space-main a.btn.space-link:hover { background: #f2f5f9; }

/* 运营任务表单：把默认关联、执行人和验收条件放在一张清晰的任务卡中。 */
.report-filters.ops-task-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 18px; padding: 22px; border: 1px solid #dce6f6; border-top: 4px solid #3468bc; box-shadow: 0 8px 22px rgba(31,94,255,.08); }
.report-filters.ops-task-form h2 { grid-column: 1 / -1; margin: 0; color: #173b75; }
.report-filters.ops-task-form label { color: #40536f; font-weight: 600; }
.report-filters.ops-task-form input:not([type=checkbox]), .report-filters.ops-task-form select, .report-filters.ops-task-form textarea { width: 100%; max-width: none; padding: 9px 10px; border-color: #bdcce3; }
.report-filters.ops-task-form textarea { min-height: 108px; resize: vertical; }
.report-filters.ops-task-form label:has(textarea) { grid-column: 1 / -1; }
.report-filters.ops-task-form .btn { align-self: end; }
@media (max-width: 680px) { .report-filters.ops-task-form { grid-template-columns: 1fr; padding: 16px; } .report-filters.ops-task-form label:has(textarea) { grid-column: auto; } }
.gantt { background:#fff; border:1px solid var(--line); border-radius:10px; overflow:auto; min-width:760px; }
.gantt-header,.gantt-row { display:grid; grid-template-columns:260px minmax(500px,1fr); min-width:960px; }
.gantt-header { position:sticky; top:0; z-index:2; background:#f7f9fc; border-bottom:1px solid var(--line); }
.gantt-label-head,.gantt-label { padding:9px 12px; border-right:1px solid var(--line); overflow:hidden; }
.gantt-label-head { font-size:12px; color:var(--muted); font-weight:600; }
.gantt-label { display:grid; gap:3px; font-size:13px; }
.gantt-label a { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600; }
.gantt-label span { font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gantt-days,.gantt-track { display:grid; grid-template-columns:repeat(var(--days), minmax(72px,1fr)); min-width:calc(var(--days) * 72px); }
.gantt-days span { padding:7px 4px; text-align:center; color:var(--muted); font-size:11px; border-right:1px solid #e7ecf3; }
.gantt-row { border-bottom:1px solid #edf0f4; min-height:58px; }
.gantt-track { position:relative; background-image:linear-gradient(to right,#e7ecf3 1px,transparent 1px); background-size:calc(100% / var(--days)) 100%; }
.gantt-bar { position:absolute; top:11px; height:17px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:1px 6px; border-radius:5px; color:#102a4d; font-size:11px; text-decoration:none; }
.gantt-bar.planned { background:#d8e6fb; border:1px dashed #4774ae; top:10px; }
.gantt-bar.actual { background:#4d82c7; color:#fff; top:30px; }
.gantt-main #gantt-results { overflow:auto; margin-top:12px; }

/* ---- 甘特图页面占满左右空间；时间轴放不下时在图内横向滚动 ---- */
.gantt-page .report-header { padding: 16px 24px; }
.gantt-page .report-main { max-width: none; padding: 16px 20px; }

/* ---- 人员任务视图（按开发者分组） ---- */
.people-main { max-width: none; padding: 16px 20px; }
.people-group { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin: 14px 0; overflow: hidden; }
.people-group h2 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; font-size: 15px; background: #f2f6fb; border-bottom: 1px solid var(--line); }
.people-group h2 .people-count { font-size: 12px; color: var(--muted); font-weight: 500; }
.people-scroll { overflow-x: auto; }
.people-group .tbl { margin: 0; }
.people-group .tbl th { white-space: nowrap; }
.people-group .tbl td { white-space: nowrap; }
.people-group .tbl td:first-child { white-space: normal; min-width: 240px; }
.people-status { background: #eaf0f8; color: #245ca9; border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.people-empty { color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: 18px; text-align: center; }

/* ---- 文档首页改版：左置顶栏 + 右筛选/卡片列表 ---- */
.doc-sider-head { font-size: 14px; font-weight: 700; color: #1c2430; padding: 4px 6px 10px; }
.doc-listpanel { display: grid; gap: 14px; }
.doc-filters { display: flex; flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.doc-filters select, .doc-filters input { padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 13px; }
.doc-filters .doc-fav-check { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #42506b; cursor: pointer; }
.doc-filters .doc-count { color: var(--muted); font-size: 12px; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.doc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.doc-card:hover { border-color: var(--accent); }
.doc-card-link { display: block; text-decoration: none; color: inherit; padding-right: 74px; }
.doc-card .doc-item-title { font-weight: 600; color: #1c2430; overflow-wrap: anywhere; }
.doc-card .doc-item-meta { font-size: 12px; color: #6b778c; margin-top: 3px; }
.doc-card.compact { padding: 8px 10px; margin-bottom: 8px; }
.doc-card.compact .doc-card-link { padding-right: 60px; }
.pin-flag { margin-right: 2px; }
.doc-card-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; align-items: center; }
.doc-card-actions button.link { border: 0; background: transparent; cursor: pointer; font-size: 12px; padding: 2px 4px; color: #6b778c; }
.doc-card-actions button.doc-act-fav { font-size: 15px; color: #d99a06; }
.doc-card-actions button:hover { color: var(--accent); }
.doc-sider .doc-card.compact { background: #fff; }

/* ---- 卡片任务进度：基于计划/实际时间估算 ---- */
.card-progress { margin-top: 6px; }
.cp-bar { height: 5px; background: #e6ebf2; border-radius: 999px; overflow: hidden; }
.cp-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .2s; }
.cp-text { font-size: 11px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-progress .cp-text:has(.overdue) { color: var(--bug); }

/* ---- 会话整体进度条（看板页头下方） ---- */
.session-progress { display: flex; align-items: center; gap: 10px; margin: 12px 16px 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.session-progress .sp-label { font-size: 13px; font-weight: 650; color: #1c2430; white-space: nowrap; }
.session-progress .sp-bar { flex: 1; height: 8px; background: #e6ebf2; border-radius: 999px; overflow: hidden; }
.session-progress .sp-bar span { display: block; height: 100%; background: linear-gradient(90deg, #1f5eff, #4d82c7); border-radius: 999px; transition: width .2s; }
.session-progress .sp-text { font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 800px) { .session-progress .sp-text { white-space: normal; } }

/* ---- 卡片详情面板：标签页拆分（基本信息/代码差异/审查与留言/活动记录） ---- */
.ptabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin: 10px 0 14px; flex-wrap: wrap; }
.ptab { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; padding: 8px 12px; cursor: pointer; border-radius: 8px 8px 0 0; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.ptab:hover { color: var(--ink); background: #f2f5f9; }
.ptab.active { color: var(--accent); font-weight: 650; border-bottom-color: var(--accent); background: transparent; }
.ptab-n { display: inline-block; min-width: 18px; text-align: center; font-size: 11px; background: #e8eef8; color: #345; border-radius: 999px; padding: 0 6px; }
.ptab.active .ptab-n { background: var(--accent); color: #fff; }
.ptab-body[hidden] { display: none !important; }
.ptab-body > .thread { border-top: 0; margin-top: 0; padding-top: 0; }

/* 留言标签页：发布框置顶 */
.ptab-body .composer { background: #f6f8fb; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.ptab-body .composer textarea { width: 100%; min-height: 64px; resize: vertical; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.ptab-body .composer .toolbar { margin: 8px 0 0; }
.ptab-body .clist-head { margin: 4px 0 8px; font-size: 13px; color: var(--muted); }

/* ---- 文档筛选收窄：旧规则 width:100% 导致下拉撑满，这里恢复自适应 ---- */
.doc-filters select, .doc-filters input { width: auto; max-width: 150px; }
.doc-filters #doc-filter-tag { max-width: 130px; }
/* 展示模式切换按钮组 */
.doc-view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.doc-view-toggle button { border: 0; background: #fff; color: var(--muted); font-size: 13px; padding: 5px 9px; cursor: pointer; }
.doc-view-toggle button + button { border-left: 1px solid var(--line); }
.doc-view-toggle button.active { background: var(--accent); color: #fff; }
/* 列表模式：一行一篇 */
.doc-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.doc-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #eef1f5; }
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { background: #f6f8fb; }
.doc-row-link { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: inherit; }
.doc-row-title { font-weight: 600; color: #1c2430; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 1; }
.doc-row-meta { font-size: 12px; color: #6b778c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.doc-row-tags { flex-shrink: 0; }
.doc-row-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.doc-row-actions button.link { border: 0; background: transparent; cursor: pointer; font-size: 12px; padding: 2px 4px; color: #6b778c; }
.doc-row-actions button.doc-act-fav { font-size: 15px; color: #d99a06; }
.doc-row-actions button:hover { color: var(--accent); }
@media (max-width: 800px) {
  .doc-row { flex-wrap: wrap; }
  .doc-row-link { flex-wrap: wrap; }
  .doc-row-title { white-space: normal; flex-basis: 100%; }
}

/* 筛选栏内的弹性占位（此前只在 header.top 下定义，文档筛选栏不生效） */
.doc-filters .grow { flex: 1 1 auto; }

/* ---- 开发步骤（子任务）区块 ---- */
.steps-block h3 { display: flex; align-items: center; gap: 8px; }
.steps-block .step-count { font-size: 12px; color: var(--muted); font-weight: 500; }
.steps-block .grow { flex: 1; }
.steps-block h3 .btn { font-size: 12px; padding: 3px 8px; }
.steps-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.step-row { display: flex; gap: 8px; align-items: flex-start; background: #f8fafc; border: 1px solid #e6ebf2; border-radius: 8px; padding: 7px 9px; }
.step-row.is-blocked { background: #fdf3f2; border-color: #f3c7c3; }
.step-no { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: #e8eef8; color: #345; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.step-main { flex: 1; min-width: 0; }
.step-title { font-weight: 600; font-size: 13px; color: #1c2430; word-break: break-word; }
.step-acc { font-size: 12px; color: #4a5a70; margin-top: 3px; word-break: break-word; }
.step-note { font-size: 12px; color: #b3261e; margin-top: 3px; word-break: break-word; }
.step-meta { font-size: 11px; color: #8592a6; margin-top: 3px; }
.step-badge { display: inline-block; font-size: 11px; font-weight: 500; border-radius: 999px; padding: 0 8px; line-height: 18px; vertical-align: middle; }
.step-badge.step-todo { background: #eef1f5; color: #5a6577; }
.step-badge.step-doing { background: #e3edfd; color: #2563eb; }
.step-badge.step-done { background: #e2f5e9; color: #188038; }
.step-badge.step-blocked { background: #fde8e6; color: #b3261e; }
.step-acts { flex-shrink: 0; display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; max-width: 130px; }
.step-acts .link { border: 0; background: transparent; cursor: pointer; font-size: 12px; color: #4a6fa5; padding: 2px 4px; }
.step-acts .link:hover { color: var(--accent); text-decoration: underline; }
.steps-addrow { margin-top: 6px; }
.steps-block textarea { min-height: 44px; }
.steps-block.has-blocked { border-left: 3px solid #d93025; }
/* 卡片上的阻塞标记 */
.card-progress .step-block-flag { display: inline-block; font-size: 11px; background: #d93025; color: #fff; border-radius: 4px; padding: 1px 6px; margin-bottom: 3px; }

/* ---- 会话管理独立页（/kanban/sessions，复用 space 页结构样式） ---- */
.space-select { font: inherit; font-size: 15px; font-weight: 600; padding: 3px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sessions-page .tbl td, .sessions-page .tbl th { padding: 7px 10px; }
tr.row-current td:first-child { box-shadow: inset 3px 0 0 var(--accent); background: #f6f9ff; }

/* ---- 测试用例 ---- */
.tc-badge { display: inline-block; font-size: 10px; border-radius: 999px; padding: 0 6px; margin-left: 6px; vertical-align: middle; line-height: 16px; }
.tc-badge.tc-good { background: #e2f5e9; color: #188038; }
.tc-badge.tc-warn { background: #eef1f5; color: #5a6577; }
.tc-badge.tc-bad { background: #fde8e6; color: #b3261e; }
.tests-block h3 { margin: 8px 0; }
.tests-block .toolbar { margin-bottom: 10px; align-items: center; flex-wrap: wrap; }
.tests-block .hint { font-size: 12px; color: #8592a6; }
.tc-list { display: flex; flex-direction: column; gap: 6px; }
.tc-row { display: flex; gap: 8px; align-items: flex-start; background: #f8fafc; border: 1px solid #e6ebf2; border-radius: 8px; padding: 8px 10px; }
.tc-row.tc-pass { border-left: 3px solid #188038; }
.tc-row.tc-fail { border-left: 3px solid #d93025; background: #fdf6f5; }
.tc-row.tc-pending { border-left: 3px solid #c6d2e0; }
.tc-main { flex: 1; min-width: 0; }
.tc-title { font-weight: 600; font-size: 13px; color: #1c2430; word-break: break-word; }
.tc-detail { font-size: 12px; color: #4a5a70; margin-top: 3px; word-break: break-word; }
.tc-reason { font-size: 12px; color: #b3261e; margin-top: 3px; word-break: break-word; }
.tc-status { display: inline-block; font-size: 11px; font-weight: 500; border-radius: 999px; padding: 0 8px; line-height: 18px; }
.tc-status.tc-pending { background: #eef1f5; color: #5a6577; }
.tc-status.tc-pass { background: #e2f5e9; color: #188038; }
.tc-status.tc-fail { background: #fde8e6; color: #b3261e; }
.tc-bug-link { font-size: 12px; margin-left: 6px; color: #4a6fa5; }
.tc-acts { flex-shrink: 0; display: flex; gap: 2px; flex-direction: column; align-items: flex-end; }
.tc-acts .link { border: 0; background: transparent; cursor: pointer; font-size: 12px; color: #4a6fa5; padding: 2px 4px; }
.tc-acts .link:hover { color: var(--accent); text-decoration: underline; }
.tc-failbox, .tc-editbox, .tc-addbox { margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.tc-failbox textarea { width: 100%; min-height: 52px; resize: vertical; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.tc-editbox input, .tc-addbox input { width: 100%; margin-bottom: 6px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; }
.tc-failbox .toolbar, .tc-editbox .toolbar, .tc-addbox .toolbar { margin: 4px 0 0; }

/* ---- 测试用例管理页（/kanban/testcases） ---- */
.tc-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.tc-stats { display: flex; gap: 6px; flex-wrap: wrap; }
.tc-chip { font-size: 12px; background: #eef1f5; color: #3c4a5c; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.tc-chip b { font-weight: 600; }
.tc-chip.st-pass { background: #e2f5e9; color: #188038; }
.tc-chip.st-fail { background: #fde8e6; color: #b3261e; }
.tc-chip.st-pending { background: #fff7e0; color: #9a6a00; }
.tc-status { display: inline-block; font-size: 12px; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.tc-status.st-pass { background: #e2f5e9; color: #188038; }
.tc-status.st-fail { background: #fde8e6; color: #b3261e; }
.tc-status.st-pending { background: #fff7e0; color: #9a6a00; }
.pri { display: inline-block; font-size: 11px; border-radius: 6px; padding: 1px 8px; font-weight: 600; white-space: nowrap; }
.pri-p0 { background: #fde8e6; color: #b3261e; }
.pri-p1 { background: #fff0e0; color: #a35a00; }
.pri-p2 { background: #e8f0fe; color: #1a56b0; }
.pri-p3 { background: #eef1f5; color: #5a6577; }
.tc-tbl td { vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tc-title-cell .tc-title { font-weight: 600; color: #152033; margin-bottom: 2px; }
.tc-title-cell .tc-sub { font-size: 12px; color: #5a6577; margin-top: 3px; line-height: 1.5; }
.tc-title-cell .tc-sub b { color: #8a94a5; font-weight: 600; margin-right: 4px; }
.tc-ops .btn { margin: 1px 0; }
button.btn.sm { padding: 3px 8px; font-size: 12px; border-radius: 6px; }
button.btn.warn { color: #b3261e; }
.tc-card-ref { color: var(--accent); text-decoration: none; font-size: 12px; }
.tc-card-ref:hover { text-decoration: underline; }
.dim { color: #a5aebc; }
.tc-panel { width: min(860px, 100%); }
.tc-import-text { width: 100%; min-height: 180px; resize: vertical; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 13px; line-height: 1.5; }
.tc-import-preview { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; }
.tc-import-preview:empty { display: none; }
.tc-import-preview table { margin: 0; }
.tc-import-preview td, .tc-import-preview th { font-size: 12px; padding: 6px 8px; }

/* 测试用例管理页：加宽布局 + 操作列换行 */
.tc-page.report-main { max-width: none; padding: 16px 24px; }
.tc-tbl { table-layout: auto; }
.tc-tbl .tc-ops { white-space: normal; min-width: 200px; width: 220px; }
.tc-ops .btn { margin: 2px 3px 2px 0; }
.tc-tbl th:last-child, .tc-tbl td:last-child { padding-right: 16px; }

/* 测试用例管理页：空间/会话选择器保持一行 */
.tc-page .space-toolbar h2 { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
.tc-page .space-toolbar h2 label { display: inline-flex; align-items: center; margin: 0; }

/* 测试用例表：行悬停高亮 */
.tc-tbl tbody tr { transition: background .1s; }
.tc-tbl tbody tr:hover { background: #f2f6fb; }
.tc-import-preview tbody tr:hover { background: #f2f6fb; }

/* 测试用例页：筛选区与列表间距加大 */
.tc-page .space-toolbar { margin-bottom: 18px; }
.tc-page #tc-stats { margin: 8px 0 14px; }

/* 卡片详情：关闭/删除的区分提示 */
.panel-hint { font-size: 12px; line-height: 1.6; color: var(--muted); background: #f5f8fd; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; padding: 7px 10px; margin: 6px 0 10px; }
.toolbar #del-card { margin-left: 6px; }
.toolbar #close { margin-left: 6px; }

/* ---- 卡片依赖（前置 / 下游）---- */
.card.is-blocked { border-left: 3px solid #b36b00; }
.dep-lock { margin-left: 6px; font-size: 11px; cursor: help; }
.deps-block { margin: 12px 0; }
.dep-list { list-style: none; margin: 4px 0 8px; padding: 0; }
.dep-row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 6px; margin-bottom: 4px; font-size: 13px; background: #fff; }
.dep-row a { font-weight: 600; text-decoration: none; }
.dep-row .dep-title { flex: 1; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dep-row .dep-state { font-size: 12px; white-space: nowrap; }
.dep-row.ok { border-left-color: var(--done); }
.dep-row.ok .dep-state { color: var(--done); }
.dep-row.bad { border-left-color: var(--bug); background: #fff8f7; }
.dep-row.bad .dep-state { color: var(--bug); }
.dep-row.arch { border-left-color: #b36b00; background: #fffbf2; }
.dep-row.arch .dep-state { color: #b36b00; }
.dep-empty { color: var(--muted); font-size: 12px; padding: 4px 2px; }
.dep-badge { font-size: 11px; border-radius: 999px; padding: 2px 9px; margin-left: 6px; font-weight: 600; }
.dep-badge.ok { background: #e2f5e9; color: #188038; }
.dep-badge.bad { background: #fff2e0; color: #a35a00; }
.dep-sub { margin: 12px 0 4px; font-size: 13px; color: var(--muted); }
.dep-warn { color: #a35a00; background: #fffbf2; border: 1px solid #f0dcb8; border-radius: 6px; padding: 6px 8px; }
.ctx button.link.on { color: #7aa2ff; font-weight: 600; }

/* ---- 页头：低频报表入口折叠到更多功能 ---- */
.more-menu { position: relative; }
.more-btn { white-space: nowrap; }
.more-pop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 150px; padding: 8px; background: #fff; color: #152033; border-radius: 10px; box-shadow: 0 10px 30px rgba(16,24,40,.25); z-index: 20; }
.more-pop .more-title { padding: 4px 8px 7px; margin-bottom: 3px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.more-pop a.hbtn { display: block; width: 100%; padding: 7px 8px; color: #152033; text-align: left; font-weight: 500; }
.more-pop a.hbtn:hover { background: #f0f4fa; color: var(--accent); }
@media (max-width: 900px) {
  header.top.menu-open .more-pop { position: static; box-shadow: none; margin-top: 4px; background: #1c2a40; }
  header.top.menu-open .more-pop .more-title { color: #aebbd0; border-color: #33435c; }
  header.top.menu-open .more-pop a.hbtn { color: #e6edf9; }
  header.top.menu-open .more-pop a.hbtn:hover { background: #243044; color: #fff; }
}

/* 页头菜单统一字号，避免按钮与链接视觉不一致 */
header.top .hdr-actions .hbtn,
header.top .hdr-actions .more-btn,
header.top .umenu > button,
header.top > .report-link,
header.top > .link {
  font-size: 13px;
  line-height: 1.4;
}

/* 更多功能下拉项使用深色文字，确保在白色面板上清晰可读 */
header.top .more-pop a.hbtn { color: #152033; }
header.top .more-pop a.hbtn:hover { color: var(--accent); }

/* 登录页注册按钮与工作台提示 */
.login button.ghost { background: transparent; color: #152033; border: 1px solid var(--line); margin-top: 8px; }
.login button.ghost:hover { background: #eef2f7; }
.login .hint { color: var(--muted); font-size: 12px; line-height: 1.6; }


/* 独立注册页与登录入口 */
.login .register-link, .register-back { display: block; margin-top: 12px; text-align: center; color: var(--accent); font-size: 13px; text-decoration: none; }
.login .register-link:hover, .register-back:hover { text-decoration: underline; }
.register-page { min-height: 100vh; padding: 1px 12px; }
.register-card { margin-top: 8vh; }
.login button:disabled { opacity: .65; cursor: wait; }

/* ---- 设计稿预览 ---- */
.design-toolbar { gap: 10px; flex-wrap: wrap; }
.design-toolbar label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.design-toolbar select, .design-panel input, .design-panel textarea, .design-panel select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.design-tbl td { vertical-align: middle; }
.design-panel { width: min(560px, 100%); }
.design-view-mask { justify-content: center; align-items: stretch; padding: 2vh 2vw; background: rgba(16,24,40,.65); }
.design-view-panel { width: min(1400px, 100%); height: 96vh; background: #fff; border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: 48px minmax(0, 1fr); }
.design-view-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.design-view-head strong { font-size: 14px; }
.design-view-head span { color: var(--muted); font-size: 12px; }
.design-view-panel iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.design-review { border-left: 1px solid var(--line); padding: 12px; overflow: auto; }
.design-review label { display: block; color: var(--muted); font-size: 12px; }
.design-review select, .design-review textarea { width: 100%; margin-top: 5px; padding: 7px; border: 1px solid var(--line); border-radius: 7px; }
.design-review .btn { margin: 8px 4px 0 0; }
.design-review h3 { margin: 18px 0 8px; font-size: 14px; }
.design-comment { padding: 8px; margin: 7px 0; background: #f6f8fb; border-radius: 7px; font-size: 12px; }
.design-comment span { float: right; color: var(--muted); font-size: 11px; }
.design-comment p { white-space: pre-wrap; margin: 6px 0 0; }
@media (max-width: 900px) {
  .design-view-mask { padding: 0; }
  .design-view-panel { width: 100%; height: 100vh; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: 48px minmax(50vh, 1fr) auto; }
  .design-review { border-left: 0; border-top: 1px solid var(--line); max-height: 42vh; }
}

/* ===== 文档分享 ===== */
.share-row { display: flex; gap: 8px; margin-bottom: 10px; }
.share-row input { flex: 1; font-family: var(--mono, monospace); font-size: 13px; }
.share-hint { color: #5b6472; font-size: 13px; line-height: 1.6; margin: 4px 0 12px; }
.share-meta { color: #5b6472; font-size: 12px; margin: 10px 0; }
.share-page { max-width: 860px; margin: 0 auto; padding: 24px 16px; }
.share-card { max-width: 420px; margin: 72px auto 0; }
.share-doc h2 { margin: 8px 0 4px; }
.share-doc { background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; padding: 20px 24px; margin-top: 16px; }
