/* 染发换色板块的专用样式，全部 hc- 开头，不碰 app.css 已有的类。
   颜色沿用后台的深蓝底（--bg/--panel/--blue），色号相关的地方点一点健乐康叶绿。 */
.hc-tabs { display: flex; gap: 6px; align-items: center; margin: 0 0 18px; padding: 6px; border-radius: 14px;
  background: var(--panel-2, rgba(18, 32, 55, 0.72)); border: 1px solid var(--line, rgba(96, 130, 180, 0.28)); }
.hc-tabs button { display: inline-flex; gap: 6px; align-items: center; border: 0; padding: 8px 14px; border-radius: 10px;
  background: transparent; color: var(--muted, #8ea3bf); transition: background 0.2s, color 0.2s; }
.hc-tabs button:hover { color: var(--text, #edf5ff); background: rgba(36, 123, 255, 0.1); }
.hc-tabs button.is-on { color: #fff; background: linear-gradient(135deg, #2f8a36, #1b5e25); box-shadow: 0 6px 16px rgba(47, 138, 54, 0.35); }
.hc-link { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; color: #7ee08a; text-decoration: none; font-size: 13px; padding: 8px 12px; }
.hc-link:hover { text-decoration: underline; }

.hc-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.hc-metric { padding: 16px; border-radius: 14px; background: var(--panel, rgba(15, 27, 47, 0.88)); border: 1px solid var(--line, rgba(96, 130, 180, 0.28)); display: grid; gap: 4px; }
.hc-metric span { font-size: 12px; color: var(--muted, #8ea3bf); }
.hc-metric b { font-size: 26px; color: var(--text, #edf5ff); }
.hc-metric small { font-size: 11px; color: var(--muted-2, #62728b); }
.hc-metric.blue b { color: var(--blue-2, #21b8ff); }
.hc-metric.green b { color: var(--green, #42e77b); }
.hc-metric.warn { border-color: rgba(255, 171, 46, 0.6); }
.hc-metric.warn b { color: var(--orange, #ffab2e); }

.hc-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.hc-bar { display: grid; grid-template-columns: auto 150px 1fr 48px; gap: 10px; align-items: center; margin: 10px 0; font-size: 13px; }
.hc-bar i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15); }
.hc-bar em { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.hc-bar u { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2f8a36, #7ee08a); }
.hc-bar b { text-align: right; color: var(--text, #edf5ff); }

.hc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hc-head small { font-weight: 400; font-size: 12px; color: var(--muted, #8ea3bf); margin-left: 8px; }
.hc-table-wrap { overflow-x: auto; }
.hc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hc-table th { text-align: left; font-weight: 500; color: var(--muted, #8ea3bf); padding: 10px 8px; border-bottom: 1px solid var(--line, rgba(96, 130, 180, 0.28)); white-space: nowrap; }
.hc-table td { padding: 8px; border-bottom: 1px solid rgba(96, 130, 180, 0.12); vertical-align: middle; }
.hc-table tr:hover td { background: rgba(36, 123, 255, 0.05); }
.hc-table td.bad { color: var(--red, #ff5d64); }
.hc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.hc-in { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line, rgba(96, 130, 180, 0.28));
  background: rgba(5, 11, 22, 0.6); color: var(--text, #edf5ff); }
.hc-in:focus { outline: none; border-color: #42b04c; box-shadow: 0 0 0 3px rgba(66, 176, 76, 0.25); }
.hc-table .hc-in { min-width: 90px; }
.hc-color { display: inline-flex; align-items: center; gap: 6px; font-family: Consolas, monospace; font-size: 12px; color: var(--muted, #8ea3bf); }
.hc-color input { width: 34px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.hc-pending span { display: block; font-size: 11px; color: var(--orange, #ffab2e); line-height: 1.5; max-width: 240px; }

.hc-switch { position: relative; display: inline-block; width: 38px; height: 22px; }
.hc-switch input { opacity: 0; width: 0; height: 0; }
.hc-switch i { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.12); transition: background 0.2s; }
.hc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.hc-switch input:checked + i { background: #2f8a36; }
.hc-switch input:checked + i::after { transform: translateX(16px); }
.hc-switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(66, 176, 76, 0.4); }

.hc-tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; background: rgba(255, 255, 255, 0.08); color: var(--muted, #8ea3bf); }
.hc-tag.ok { background: rgba(66, 231, 123, 0.14); color: var(--green, #42e77b); }
.hc-tag.bad { background: rgba(255, 93, 100, 0.14); color: var(--red, #ff5d64); }
.hc-tag.warn { background: rgba(255, 171, 46, 0.14); color: var(--orange, #ffab2e); }

.hc-skill { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
.hc-skill-item { display: grid; gap: 4px; width: 100%; text-align: left; padding: 12px; margin-bottom: 8px; border-radius: 10px;
  border: 1px solid var(--line, rgba(96, 130, 180, 0.28)); background: transparent; color: var(--text, #edf5ff); }
.hc-skill-item small { color: var(--muted, #8ea3bf); }
.hc-skill-item em { font-style: normal; color: #7ee08a; }
.hc-skill-item.is-on { border-color: #42b04c; background: rgba(66, 176, 76, 0.1); }
.hc-form { display: grid; gap: 14px; }
.hc-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted, #8ea3bf); }
.hc-form label small { color: var(--muted-2, #62728b); }
.hc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.hc-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hc-inline { display: flex !important; align-items: center; gap: 10px; }
.hc-steps summary { cursor: pointer; color: var(--muted, #8ea3bf); font-size: 13px; }
.hc-steps li { margin: 6px 0; font-size: 13px; line-height: 1.6; color: var(--text, #edf5ff); }
.hc-actions { display: flex; gap: 10px; }
.hc-providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hc-provider.is-off { opacity: 0.6; }
.hc-note { margin: 0 0 14px; }
.btn.small { padding: 6px 12px; font-size: 12px; }
@media (max-width: 1400px) { .hc-metrics { grid-template-columns: repeat(3, 1fr); } .hc-providers { grid-template-columns: 1fr; } }
