.tool-page { padding: 32px 0 64px; }
.lead { color: #64748b; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.module-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; cursor: pointer; position: relative; background: #fff; }
.module-card.active { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.badge-pro { position: absolute; top: 8px; right: 8px; background: #7c3aed; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 999px; }
.saved-hint { display: block; color: #059669; font-size: 12px; font-style: normal; margin-top: 4px; font-weight: 600; }
.tool-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tool-buttons { display: flex; gap: 8px; }
textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #dbe3ef; font-size: 14px; font-family: inherit; }
.progress-panel, .result-panel { margin-top: 24px; background: #fff; border-radius: 16px; padding: 24px; }
.bar { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: #2563eb; transition: width .3s; }
.score-board { display: flex; gap: 16px; align-items: center; }
.gauge { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #1d4ed8; background: #eff6ff; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.tabs button { border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.tabs button.active { background: #1e3a8a; color: #fff; }
.meta { color: #64748b; font-size: 13px; }
pre { background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 12px; overflow: auto; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.package-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; background: #fff; text-align: left; cursor: pointer; }
.package-card.active { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.plain-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.plain-table th, .plain-table td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.flash { background: #ecfdf5; color: #047857; padding: 10px 12px; border-radius: 10px; }
.hint { color: #64748b; font-size: 13px; }
.domain-label { display: grid; gap: 8px; font-weight: 600; }
.result-panel { box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.score-board { padding-bottom: 8px; border-bottom: 1px solid #eef2f7; margin-bottom: 8px; }
.score-board h2 { margin: 0 0 4px; font-size: 20px; }
.score-board p { margin: 0; color: #64748b; line-height: 1.5; }
.tabs button { font-size: 14px; }
.result-card { padding: 8px 0 0; }
.result-dl { margin: 0; display: grid; gap: 0; }
.result-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; align-items: start; }
.result-row dt { color: #64748b; font-weight: 600; }
.result-row dd { margin: 0; font-size: 16px; line-height: 1.6; word-break: break-all; }
.result-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.result-pill.ok { background: #ecfdf5; color: #047857; }
.result-pill.warn { background: #fff7ed; color: #c2410c; }
.result-pill.bad { background: #fef2f2; color: #b91c1c; }
.result-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.result-chips span.warn { background: #fff7ed; color: #c2410c; }
.result-pages { list-style: none; margin: 0; padding: 0; }
.result-pages li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; align-items: start; }
.result-pages .time { color: #64748b; font-size: 13px; }
.result-pages a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.result-pages a:hover { text-decoration: underline; }
.result-table a { color: #1d4ed8; text-decoration: none; }
.result-table a:hover { text-decoration: underline; }
.result-highlight { padding: 14px 16px; border-radius: 12px; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.result-highlight.ok { background: #ecfdf5; color: #047857; }
.result-highlight.warn { background: #fff7ed; color: #c2410c; }
.result-highlight.bad { background: #fef2f2; color: #b91c1c; }
.result-empty { color: #64748b; padding: 20px 0; line-height: 1.6; }
.result-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.result-table th { text-align: left; color: #64748b; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid #e2e8f0; }
.result-table td { padding: 10px; border-bottom: 1px solid #f1f5f9; }
.result-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.result-timeline li { display: block; width: 100%; box-sizing: border-box; padding: 14px 16px; background: #f8fafc; border-radius: 12px; border: 0; line-height: 1.55; }
.result-timeline .time { display: block; color: #64748b; font-size: 13px; margin: 0 0 6px; }
.result-timeline .title { display: block; font-size: 16px; font-weight: 700; color: #0f172a; word-break: break-word; }
.result-timeline .desc { margin: 8px 0 0; color: #475569; font-size: 14px; word-break: break-word; }
.snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.snapshot-card { background: #f8fafc; border-radius: 12px; padding: 16px; min-width: 0; }
.snapshot-card h4 { margin: 0 0 8px; font-size: 15px; }
.snapshot-card .time { color: #64748b; font-size: 13px; margin-bottom: 8px; }
.snapshot-card a { display: block; color: #1d4ed8; text-decoration: none; font-size: 16px; font-weight: 700; line-height: 1.45; word-break: break-word; margin-bottom: 8px; }
.snapshot-card a:hover { text-decoration: underline; }
.snapshot-card .desc { margin: 0; color: #334155; font-size: 14px; line-height: 1.65; word-break: break-word; }
.result-sub { font-size: 15px; margin: 16px 0 8px; }
.result-foot { margin: 16px 0 0; color: #94a3b8; font-size: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat-grid div { background: #f8fafc; border-radius: 12px; padding: 16px; }
.stat-grid em { display: block; font-style: normal; color: #64748b; font-size: 13px; margin-bottom: 6px; }
.stat-grid strong { font-size: 24px; color: #0f172a; }
.baidu-embed-wrap { margin-top: 12px; }
.baidu-embed { width: 100%; min-height: 520px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
@media (max-width: 800px) {
  .module-grid, .package-grid, .stat-grid, .snapshot-grid { grid-template-columns: 1fr 1fr; }
  .result-row, .result-pages li { grid-template-columns: 1fr; gap: 4px; }
  .snapshot-grid { grid-template-columns: 1fr; }
}
