/* 气温和降水特有样式（通用样式见 ../shared/base.css） */

#chart { position: absolute; inset: 0; touch-action: pan-y; }
#chart.editing { touch-action: none; }
[hidden] { display: none !important; }

#panel h2 .h2s { font-size: 11px; color: var(--muted); font-weight: normal; margin-left: 6px; letter-spacing: 0; }

/* 场景切换 */
.scenes { display: flex; margin: 0 0 12px; }
.scenes button { flex: 1; font-size: 13px; padding: 5px 0; }

/* 读数 */
.readout .big { font-size: 18px; }
.kind { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; border: 1px solid currentColor; color: var(--muted); }
.readout dd { font-variant-numeric: tabular-nums; }
.readout dt { white-space: nowrap; }
#rFeat { color: var(--accent); }
#rFeat:empty { display: none; }

/* 判读步骤 */
.steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.steps li { padding: 6px 9px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.steps li:hover { border-color: #3d4a60; }
.steps li.on { border-color: var(--accent); background: rgba(255,201,74,.08); }
.steps li.end { border-left: 3px solid var(--accent); }
.steps li.more { cursor: default; color: var(--muted); font-size: 12px; text-align: center; border-style: dashed; }
.steps .st { font-size: 13px; display: flex; align-items: baseline; gap: 6px; }
.steps .st b { color: var(--accent); font-size: 12px; white-space: nowrap; }
.steps .st em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #111; background: var(--accent);
  border-radius: 999px; padding: 0 7px; white-space: nowrap; }
.steps p { margin: 3px 0 0; font-size: 12px; color: #c3cbd8; line-height: 1.55; }

/* 气候类型按钮 */
.types { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.types button { font: inherit; color: var(--text); background: var(--panel-2); border: 1px solid var(--line);
  border-top: 3px solid var(--c); border-radius: 8px; padding: 4px 0 3px; cursor: pointer; line-height: 1.25; }
.types button b { display: block; font-size: 13px; }
.types button small { font-size: 11px; color: var(--muted); }
.types button:hover { border-color: var(--c); }
.types button.on { background: rgba(255,201,74,.14); border-color: var(--accent); }
.types button.right { background: rgba(126,224,129,.18); border-color: #7ee081; }
.types button.wrong { background: rgba(255,107,87,.18); border-color: #ff6b57; }
.cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cities button { font: inherit; font-size: 12px; color: var(--text); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 12px; cursor: pointer; }
.cities button:hover { border-color: var(--accent); }
.cities button.on { color: #111; background: var(--accent); border-color: var(--accent); font-weight: 600; }

/* 练习、调数据按钮 */
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.actions button, .ops button { font: inherit; font-size: 13px; color: var(--text); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 0; cursor: pointer; }
.actions button:hover:not(:disabled), .ops button:hover { border-color: var(--accent); }
.actions button:disabled { opacity: .4; cursor: default; }
.actions button.hot { color: #111; background: var(--accent); border-color: var(--accent); font-weight: 600; }
.ops { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#quizMsg.ok { color: #7ee081; font-size: 13px; }
#quizMsg.bad { color: #ff9b8a; font-size: 13px; }

/* 类型说明 */
.ti-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
dl.ti { font-size: 12px; line-height: 1.55; }
dl.ti dd { color: #c3cbd8; }

.checks label.wide { grid-column: 1 / -1; }

/* 资料表 */
.tbl { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 2px 8px; text-align: right; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--panel-2); color: var(--muted); font-weight: 600; }
.tbl td:first-child, .tbl th:first-child { text-align: left; color: var(--muted); }
.tbl td:nth-child(2) { color: #ff9b8a; }
.tbl td:nth-child(3) { color: #81d4fa; }
.tbl tr.hi td:nth-child(2) { color: var(--accent); font-weight: 600; }
.tbl tr.lo td:nth-child(2) { color: #b3e5fc; font-weight: 600; }
.tbl tr.sum td { border-bottom: none; background: var(--panel-2); font-weight: 600; }
