/* 具身数据平台 · 新版样式体系（五个页面共用，只此一份）
 *
 * 原则：白底、1px 线、4px 圆角、一个强调色、系统字体。
 * 没有阴影（弹窗除外）、没有渐变、没有彩色药丸。
 * 状态用「一个点 + 文字」表达；数字用等宽字体右对齐。
 */

:root {
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* 中性色：一组略带蓝调的冷灰（取值对齐 GitHub Primer），从最深到最浅五档，
   * 文字只用前三档（白底上对比度 ≥ 4.5:1），第四档只给占位符与禁用态。 */
  --ink: #1f2328;        /* 标题、强调文字        15.8:1 */
  --text: #24292f;       /* 正文                  14.7:1 */
  --muted: #59636e;      /* 次要说明              6.1:1 */
  --faint: #8c959f;      /* 占位、禁用（不承载信息） */
  --line: #d0d7de;       /* 主分隔线、控件边框 */
  --line-soft: #e6e9ed;  /* 表格行线 */
  --bg: #fff;
  --bg-soft: #f6f8fa;    /* 次要按钮、抽屉/弹窗页脚、代码块 */
  --bg-hover: #f6f8fa;

  /* 交互色：蓝。这是所有人在所有软件里学会的「可以点」的颜色，
   * 不需要教。白底上 5.2:1，既能做正文里的链接，也能做按钮填充。 */
  --accent: #0969da;
  --accent-hover: #0550ae;
  --accent-soft: #ddf4ff;  /* 选中行 / 选中 tab / 选中卡的底色 */

  /* 语义色：只用在状态点、少量提示文字和提示条背景上，不做大面积填充 */
  --ok: #1a7f37;
  --warn: #9a6700;
  --warn-soft: #fff8c5;
  --bad: #cf222e;
  --bad-soft: #ffebe9;

  --radius: 4px;
  --h-ctl: 32px;           /* 控件统一高度 */
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 14px/1.5 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.3; }
h1 { font-size: 18px; }
h2 { font-size: 15px; }
h3 { font-size: 14px; }
p { margin: 0 0 8px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
b, strong { font-weight: 600; color: var(--ink); }
small, .muted { color: var(--muted); font-size: 12px; }
.num, code, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
code { font-size: 12.5px; background: var(--bg-soft); padding: 1px 4px; border-radius: 3px; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 16px 0; }
[hidden] { display: none !important; }

/* ── 顶栏 ─────────────────────────────────────────────── */
.topbar {
  height: 48px; display: flex; align-items: center; gap: 24px;
  padding: 0 24px; border-bottom: 1px solid var(--line); background: var(--bg);
  position: sticky; top: 0; z-index: 20;
}
.topbar .brand { font-weight: 600; color: var(--ink); white-space: nowrap; }
.topbar .brand small { color: var(--muted); margin-left: 6px; font-weight: 400; }
.topbar .spacer { flex: 1; }
.topbar .acct { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.topbar .acct b { color: var(--ink); font-weight: 500; }
/* 超管「以某家身份查看」那一条：放在顶栏下面，黄底一行字 */
.actbar {
  background: var(--warn-soft); border-bottom: 1px solid #d4a72c; padding: 6px 24px; font-size: 13px;
  display: flex; gap: 12px; align-items: center;
}

/* ── 页面骨架：顶栏 + 左侧边栏 + 内容 ─────────────────────── */
.shell { display: flex; align-items: flex-start; }
.sidenav {
  position: sticky; top: 48px; flex: none; width: 208px; height: calc(100vh - 48px); overflow-y: auto;
  padding: 12px 10px; border-right: 1px solid var(--line); background: var(--bg-soft);
}
.sidenav nav { display: flex; flex-direction: column; gap: 2px; }
.sidenav a {
  display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--radius);
  color: var(--text); font-size: 13.5px; line-height: 20px; white-space: nowrap;
}
.sidenav a:hover { background: #eaeef2; color: var(--ink); text-decoration: none; }
.sidenav a.on { background: var(--accent-soft); color: var(--accent-hover); font-weight: 500; }
.sidenav a .cnt {
  margin-left: auto; font-size: 11px; line-height: 16px; padding: 0 5px; border-radius: 8px;
  background: var(--accent); color: #fff; font-family: var(--mono);
}
.sidenav .grp { font-size: 11px; color: var(--faint); letter-spacing: .06em; padding: 14px 10px 4px; }
.shell > .page { flex: 1; min-width: 0; }
.page { max-width: 1280px; margin: 0 auto; padding: 20px 24px 48px; }
.page.narrow { max-width: 860px; }
.page > header, .view > header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.page > header h1, .view > header h1 { margin-right: auto; }
.view { display: none; scroll-margin-top: 64px; }  /* 直接带 #hash 打开时别让 sticky 顶栏盖住标题 */
.view.on { display: block; }
section.block { margin-top: 28px; }
section.block > h2 { margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
section.block > h2 small { font-weight: 400; }

/* 一行摘要：「本月 · 入库 42.5h · 通过率 91%」这种，不做卡片 */
.summary { color: var(--muted); font-size: 13px; margin: -4px 0 12px; }
.summary b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.summary .sep { margin: 0 8px; color: var(--line); }

/* 工具条：搜索 + 筛选在左，主动作在右 */
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* 分段筛选（状态 tab）：链接而不是 radio，可深链接 */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg a, .seg button {
  padding: 0 12px; height: 30px; line-height: 30px; font-size: 13px; color: var(--text);
  background: #fff; border: 0; border-right: 1px solid var(--line); cursor: pointer; font-family: inherit;
}
.seg a:last-child, .seg button:last-child { border-right: 0; }
.seg a:hover { text-decoration: none; background: var(--bg-hover); }
.seg .on { background: var(--accent-soft); color: var(--accent-hover); font-weight: 500; }
.seg .n { color: var(--muted); font-family: var(--mono); margin-left: 4px; font-size: 12px; }
.seg .on .n { color: var(--accent-hover); }

/* ── 控件 ─────────────────────────────────────────────── */
input[type=text], input[type=search], input[type=number], input[type=password], input[type=tel],
input[type=date], input[type=email], select, textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  height: var(--h-ctl); padding: 0 10px; min-width: 0;
}
textarea { height: auto; min-height: 72px; padding: 6px 10px; line-height: 1.5; resize: vertical; }
select { padding-right: 26px; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--faint); }
input[disabled], select[disabled], textarea[disabled] { background: var(--bg-soft); color: var(--faint); }
input.search { width: 260px; }
input.short { width: 90px; }
input[type=checkbox], input[type=radio] { width: 15px; height: 15px; margin: 0 6px 0 0; vertical-align: -2px; accent-color: var(--accent); }
label.check { display: inline-flex; align-items: center; gap: 0; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--h-ctl); padding: 0 12px; font: inherit; font-size: 13px; font-weight: 500;
  color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: #eef1f4; text-decoration: none; }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.pri:hover { background: var(--accent-hover); }
.btn.danger { color: var(--bad); }
.btn.danger.pri { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.sm { height: 26px; padding: 0 8px; font-size: 12px; font-weight: 400; }
.btn.lg { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.link { border: 0; background: none; color: var(--accent); padding: 0 4px; font-weight: 400; }
.btn.link:hover { background: none; }
.btn.link:hover { text-decoration: underline; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn kbd { font: 11px var(--mono); border: 1px solid currentColor; border-radius: 3px; padding: 0 4px; opacity: .7; }

/* 表单：标签在左 120px，控件在右；每个字段一行，不加说明除非必要 */
.form { display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; align-items: start; }
.form label.k { color: var(--muted); font-size: 13px; padding-top: 6px; text-align: right; }
.form .v { display: flex; flex-direction: column; gap: 4px; }
.form .v.row { flex-direction: row; align-items: center; gap: 8px; }
.form .v .help { font-size: 12px; color: var(--muted); }
.form input[type=text], .form input[type=password], .form input[type=tel], .form input[type=number],
.form select, .form textarea { width: 100%; }
.form.stack { grid-template-columns: 1fr; gap: 10px; }
.form.stack label.k { text-align: left; padding: 0; }

/* ── 表格 ─────────────────────────────────────────────── */
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  text-align: left; font-weight: 500; color: var(--muted); font-size: 12px;
  padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl td:first-child, .tbl th:first-child { padding-left: 0; }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }
.tbl .num { text-align: right; }
.tbl th.num { text-align: right; }
.tbl .act { text-align: right; white-space: nowrap; }
.tbl .act .btn + .btn { margin-left: 4px; }
.tbl tr.clickable { cursor: pointer; }
.tbl tr.clickable:hover td { background: var(--bg-hover); }
.tbl tr.on td { background: var(--accent-soft); }
.tbl td .sub { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.tbl td.main b { font-weight: 500; }
.tbl.compact td { padding: 5px 10px; }
.tbl.hover-only .act .btn { visibility: hidden; }
.tbl.hover-only tr:hover .act .btn { visibility: visible; }
.pager { display: flex; gap: 8px; align-items: center; margin-top: 10px; color: var(--muted); font-size: 12px; }

/* 状态：一个点 + 文字。颜色只在点上。 */
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.st.ok::before { background: var(--ok); }
.st.warn::before { background: var(--warn); }
.st.bad::before { background: var(--bad); }
.st.run::before { background: var(--accent); }
.st.none::before { background: transparent; border: 1px solid var(--faint); }
.bad-text { color: var(--bad); }
.warn-text { color: var(--warn); }
.ok-text { color: var(--ok); }

/* 标签：只用于「客观事实」类标签（分辨率、惯用手），灰底，无色 */
.tag { display: inline-block; font-size: 12px; line-height: 20px; padding: 0 6px; border-radius: 3px; background: var(--bg-soft); color: var(--text); margin-right: 4px; }
.tag.model { border: 1px dashed var(--line); background: none; color: var(--muted); }

/* 键值：详情里用 */
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; font-size: 13px; }
.kv .k { color: var(--muted); }
.kv .v { color: var(--ink); overflow-wrap: anywhere; }

/* 视频缩略图：列表里 96×54，卡片里自适应 */
.thumb {
  position: relative; display: inline-block; vertical-align: middle;
  width: 96px; height: 54px; background: #2a2a2a; border-radius: 3px;
  color: #fff; flex: none; overflow: hidden;
}
.thumb .d { position: absolute; right: 4px; bottom: 3px; font: 11px var(--mono); background: rgba(0,0,0,.65); padding: 0 4px; border-radius: 2px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .q { position: absolute; left: 4px; top: 3px; font: 11px var(--mono); background: rgba(0,0,0,.65); padding: 0 4px; border-radius: 2px; }

/* 片段网格（买方市场「卡片」视图）——唯一用卡片的地方，因为要看画面 */
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; }
.clip { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; font-size: 12.5px; }
.clip.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.clip.owned { opacity: .55; }
.clip .thumb { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 0; }
.clip .cb { padding: 8px 10px; display: grid; gap: 3px; }
.clip .cb .id { font-family: var(--mono); color: var(--muted); font-size: 11.5px; }
.clip .cb .ttl { color: var(--ink); font-weight: 500; }
.clip .cb .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.clip .cb .ft b { font-family: var(--mono); }

/* 提示条：一行说明，默认无色；.bad 才红 */
.notice { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font-size: 13px; margin-bottom: 12px; display: flex; gap: 12px; align-items: center; }
.notice.bad { border-color: #ffaba8; background: var(--bad-soft); }
.notice.warn { border-color: #d4a72c; background: var(--warn-soft); }
.notice .right { margin-left: auto; }
.empty { color: var(--muted); padding: 24px 0; font-size: 13px; }

/* 进度条：6px，仅此一种 */
.bar { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); }
.bar.warn i { background: var(--warn); }
.bar.full i { background: var(--faint); }

/* 步骤（上传流程）：横排数字，不做花样 */
.steps { display: flex; gap: 0; margin: 4px 0 16px; font-size: 13px; color: var(--muted); }
.steps li { list-style: none; display: flex; align-items: center; gap: 8px; }
.steps li + li::before { content: ""; width: 32px; height: 1px; background: var(--line); margin: 0 12px; }
.steps li i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font: 11px var(--mono); font-style: normal; }
.steps li.done i { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps li.cur { color: var(--ink); font-weight: 500; }
.steps li.cur i { border-color: var(--accent); color: var(--accent); }

/* 拖放区 */
.drop { border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.drop b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

/* ── 抽屉与弹窗 ──────────────────────────────────────── */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 100vw; background: #fff;
  border-left: 1px solid var(--line); z-index: 40; display: none; flex-direction: column;
}
.drawer.on { display: flex; }
.drawer > header { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.drawer > header h2 { margin-right: auto; }
.drawer > .body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer > footer { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; background: var(--bg-soft); }
.drawer > footer .right { margin-left: auto; display: flex; gap: 8px; }
.drawer .body h3 { margin: 18px 0 8px; }
.drawer .body h3:first-child { margin-top: 0; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.25); z-index: 30; display: none; }
.scrim.on { display: block; }

dialog.dlg {
  border: 1px solid var(--line); border-radius: 6px; padding: 0; width: 480px; max-width: calc(100vw - 32px);
  box-shadow: 0 12px 32px rgba(0,0,0,.14); color: var(--text);
}
dialog.dlg.wide { width: 720px; }
dialog.dlg::backdrop { background: rgba(0,0,0,.25); }
.dlg > header { padding: 14px 20px 10px; }
.dlg > header h2 { font-size: 15px; }
.dlg > .body { padding: 6px 20px 16px; max-height: 70vh; overflow: auto; }
.dlg > footer { padding: 12px 20px; border-top: 1px solid var(--line-soft); display: flex; gap: 8px; justify-content: flex-end; background: var(--bg-soft); }
.dlg > footer .left { margin-right: auto; color: var(--muted); font-size: 12px; align-self: center; }

/* 播放器占位：真实版是 <video> */
.player { background: #111; color: #bbb; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 13px; }

/* 两栏：左侧筛选列 + 右侧内容（买方市场、审核台） */
.cols { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.cols.wide-side { grid-template-columns: 300px 1fr; }
.side-filters h3 { font-size: 12px; color: var(--muted); font-weight: 500; margin: 14px 0 6px; }
.side-filters h3:first-child { margin-top: 0; }
.side-filters .tree label { display: flex; align-items: center; padding: 3px 0; font-size: 13px; }
.side-filters .tree .lvl2 { padding-left: 21px; }
.side-filters .tree .n { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 12px; }

/* 底部固定的选中条（买方市场 / 审核台判定条） */
.stickybar {
  position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line);
  padding: 10px 0; display: flex; align-items: center; gap: 16px; margin-top: 16px;
}
.stickybar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* 全屏审核台 */
.review { position: fixed; inset: 0; background: #fff; z-index: 50; display: none; grid-template-rows: 48px 1fr 56px; }
.review.on { display: grid; }
.review > header { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.review > header .spacer { flex: 1; }
.review > .body { display: grid; grid-template-columns: 1fr 380px; gap: 0; overflow: hidden; }
.review > .body > .left { padding: 16px 20px; overflow: auto; }
.review > .body > .right { border-left: 1px solid var(--line); padding: 16px 20px; overflow: auto; }
.review > footer { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.review > footer .right { margin-left: auto; display: flex; gap: 8px; }
.radios { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.radios label { display: inline-flex; align-items: center; cursor: pointer; }

/* 通知 toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #222; color: #fff; padding: 8px 14px; border-radius: var(--radius); font-size: 13px; z-index: 60; }

/* ── 手机端（采集员）───────────────────────────────────── */
body.mobile { background: var(--bg-soft); }
.phone { max-width: 420px; margin: 0 auto; min-height: 100vh; background: #fff; display: flex; flex-direction: column; }
@media (min-width: 480px) { .phone { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }
.phone .scr { display: none; flex: 1; flex-direction: column; }
.phone .scr.on { display: flex; }
.phone .hd { padding: 16px 20px 8px; display: flex; align-items: center; gap: 10px; }
.phone .hd h1 { font-size: 20px; }
.phone .hd .back { font-size: 20px; color: var(--muted); text-decoration: none; margin-right: 4px; }
.phone .bd { padding: 8px 20px 20px; flex: 1; }
.phone .ft { padding: 12px 20px 20px; border-top: 1px solid var(--line-soft); }
.phone .big { width: 100%; height: 52px; font-size: 17px; font-weight: 600; }
.phone .list > * { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: inherit; }
.phone .list b, .phone .list small { display: block; }
.phone .pick { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.phone .pick input { width: 18px; height: 18px; }
.phone .pick .t { flex: 1; }
.phone .pick .t b { display: block; font-size: 15px; }
.phone .pick .t small { display: block; }
.phone .pick.off { color: var(--faint); }
.phone .pick.off b { color: var(--faint); }
.phone h2 { font-size: 15px; margin: 18px 0 6px; }
.phone .quota { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.phone .quota .r { display: flex; justify-content: space-between; font-size: 15px; }
.phone .quota .bar { margin: 6px 0 4px; }
.phone .quota small { color: var(--muted); }

@media (max-width: 900px) {
  .cols, .cols.wide-side { grid-template-columns: 1fr; }
  /* 窄屏：侧边栏变成顶栏下面一条可横向滚动的链接带 */
  .shell { display: block; }
  .sidenav { position: sticky; top: 48px; z-index: 19; width: auto; height: auto; padding: 6px 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidenav nav { flex-direction: row; overflow-x: auto; gap: 2px; }
  .sidenav .grp { display: none; }
  .drawer { width: 100vw; }
  .review > .body { grid-template-columns: 1fr; }
  .topbar { gap: 12px; padding: 0 12px; overflow-x: auto; }
  .page { padding: 16px 12px 40px; }
}

/* ── 运行时补的几个状态（core.js 用）──────────────────────── */
.field-err { display: block; color: var(--bad); font-size: 12px; margin-top: 2px; }
input.is-bad, select.is-bad, textarea.is-bad { border-color: var(--bad); }
.dlg-err { color: var(--bad); font-size: 12.5px; margin-top: 8px; }
.dlg-err[hidden] { display: none; }
.empty td, td.empty { color: var(--muted); padding: 22px 0; }

/* ── 采集员端补回的几块：状态行、入口卡、六步、别做、拍满行 ─────────── */
.phone .state { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 12px; }
.phone .state .st { font-size: 15px; font-weight: 600; color: var(--ink); }
.phone .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.phone .tile { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; }
.phone .tile:hover { text-decoration: none; background: var(--bg-hover); }
.phone .tile b { display: block; font-size: 15px; }
.phone .tile em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }
.phone .howsteps { list-style: none; padding: 0; margin: 0; counter-reset: hs; }
.phone .howsteps li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line-soft); counter-increment: hs; }
.phone .howsteps li::before { content: counter(hs); position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font: 12px var(--mono); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.phone .howsteps li.key::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.phone .howsteps b { display: block; font-size: 15px; }
.phone .howsteps span { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.phone .howsteps em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.phone .dont { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.phone .dont b { display: block; font-size: 14px; }
.phone .dont b::before { content: "✕ "; color: var(--bad); }
.phone .dont span { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; }
.phone .quota.done { background: var(--bg-soft); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.phone .quota.done b { color: var(--faint); }
