/* 安盾知识产权技能中心统一设计系统 */
:root {
  color-scheme: light;
  --paper: #FBFAF7; --panel: #FFFFFF; --ink: #16181D; --ink-soft: #454A54;
  --muted: #747881; --hairline: #E7E4DC; --hairline-dark: #D8D4C9;
  --green: #B5382E; --green-dark: #93291F; --bronze: #8C6A45;
  --red: #A63A2E; --amber: #9A6B12; --ok: #1E5237;
  --header-bg: rgba(251, 250, 247, .92); --input-bg: #fff; --soft-bg: #F3F1EA; --code-bg: #F6F4EE;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}
/* 深色主题：显式选择 data-theme="dark"，或系统深色且用户未指定浅色 */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17191E; --panel: #1E2127; --ink: #E9E7E1; --ink-soft: #B6B3AB;
  --muted: #8A877F; --hairline: #2C2F36; --hairline-dark: #3B3F47;
  --green: #E06A5D; --green-dark: #F07D70; --bronze: #C6A778;
  --red: #E06A5D; --amber: #D0A24A; --ok: #6FB98A;
  --header-bg: rgba(23, 25, 30, .92); --input-bg: #14161A; --soft-bg: #262A31; --code-bg: #14161A;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --paper: #17191E; --panel: #1E2127; --ink: #E9E7E1; --ink-soft: #B6B3AB;
    --muted: #8A877F; --hairline: #2C2F36; --hairline-dark: #3B3F47;
    --green: #E06A5D; --green-dark: #F07D70; --bronze: #C6A778;
    --red: #E06A5D; --amber: #D0A24A; --ok: #6FB98A;
    --header-bg: rgba(23, 25, 30, .92); --input-bg: #14161A; --soft-bg: #262A31; --code-bg: #14161A;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 顶栏 */
header.top {
  position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  padding: 0 max(28px, calc(50vw - 520px)); height: 60px;
  display: flex; align-items: center; gap: 32px;
}
header.top .brand { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .02em; }
header.top .brand span { color: var(--green); }
header.top nav { display: flex; gap: 24px; flex: 1; overflow-x: auto; }
header.top nav a { color: var(--ink-soft); font-size: 14.5px; white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
header.top nav a:hover { text-decoration: none; color: var(--ink); }
header.top nav a.active { color: var(--ink); border-bottom-color: var(--green); font-weight: 600; }
header.top .who { font-size: 13px; color: var(--muted); white-space: nowrap; }
header.top .who a { color: var(--muted); margin-left: 10px; }

main { max-width: 1040px; margin: 0 auto; padding: 56px 28px 110px; }

/* 手机端顶栏：品牌与账户区一行，主导航折到第二行整行横向滚动，避免被裁切 */
@media (max-width: 720px) {
  header.top { flex-wrap: wrap; height: auto; min-height: 52px; padding: 8px 16px; gap: 6px 14px; column-gap: 14px; }
  header.top .brand { font-size: 17px; }
  header.top nav { order: 3; flex-basis: 100%; width: 100%; gap: 18px; margin: 0 -16px; padding: 2px 16px 4px; -webkit-overflow-scrolling: touch; }
  header.top nav::-webkit-scrollbar { display: none; }
  header.top nav { scrollbar-width: none; }
  header.top .who { margin-left: auto; font-size: 12.5px; }
  header.top .who a { margin-left: 8px; }
  .subnav { padding-left: 16px; padding-right: 16px; overflow-x: auto; gap: 16px; scrollbar-width: none; }
  .subnav::-webkit-scrollbar { display: none; }
  main { padding: 32px 16px 80px; }
  h1 { font-size: 30px; line-height: 1.3; }
  h2 { font-size: 21px; margin-top: 40px; }
  .sub { font-size: 15px; }
  .card { padding: 18px 16px; }
}

/* 文字层级 */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; color: var(--bronze); margin-bottom: 14px; }
h1 { font-family: var(--serif); font-size: 42px; font-weight: 700; line-height: 1.25; letter-spacing: .01em; margin-bottom: 14px; }
h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 52px 0 6px; }
h2 + .rule { margin-top: 10px; }
.rule { border: 0; border-top: 1px solid var(--hairline-dark); margin: 10px 0 22px; }
.sub { color: var(--ink-soft); font-size: 16px; max-width: 720px; margin-bottom: 8px; }
.muted, .kv { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* 面板：细线，无阴影 */
.card { background: var(--panel); border: 1px solid var(--hairline); border-radius: 6px; padding: 26px 28px; margin-bottom: 16px; }
.card h3 { font-family: var(--serif); font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.grid { display: grid; gap: 16px; align-items: start; }
.grid.c2 { grid-template-columns: 1fr 1fr; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid.c2, .grid.c3 { grid-template-columns: 1fr; } }

/* 步骤轨（首页签名元素：大写数字） */
.steps-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--hairline); border-radius: 6px; background: var(--panel); overflow: hidden; }
.steps-rail.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps-rail.c4 { grid-template-columns: repeat(2, 1fr); } .steps-rail.c4 .step:nth-child(2) { border-right: 0; } }
@media (max-width: 640px) { .steps-rail.c4 { grid-template-columns: 1fr; } }
.steps-rail .step { padding: 30px 28px 26px; border-right: 1px solid var(--hairline); position: relative; }
.steps-rail .step:last-child { border-right: 0; }
.steps-rail .num { font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--green); line-height: 1; opacity: .18; position: absolute; top: 18px; right: 22px; }
.steps-rail .step h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.steps-rail .step p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; min-height: 66px; }
@media (max-width: 860px) { .steps-rail { grid-template-columns: 1fr; } .steps-rail .step { border-right: 0; border-bottom: 1px solid var(--hairline); } }

/* 表单 */
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin: 15px 0 6px; }
input[type=text], input[type=date], input[type=password], input[type=email], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--hairline-dark); border-radius: 4px;
  font-size: 15px; font-family: var(--sans); background: var(--input-bg); color: var(--ink);
  appearance: none; -webkit-appearance: none;
}
select { background: var(--input-bg) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6' viewBox='0 0 11 6'%3E%3Cpath d='M1 1l4.5 4L10 1' stroke='%238B8F98' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 32px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(181, 56, 46, .12); }
::placeholder { color: #B4B7BD; }

/* 按钮 */
button {
  background: var(--green); color: #fff; border: 1px solid var(--green);
  border-radius: 4px; padding: 10px 22px; font-size: 14.5px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; transition: background .15s;
}
button:hover { background: var(--green-dark); }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline-dark); }
button.ghost:hover { background: var(--soft-bg); }
button.small { padding: 5px 13px; font-size: 13px; font-weight: 500; }
button:disabled { opacity: .4; cursor: not-allowed; }
.button-link { display: inline-block; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 4px; padding: 10px 22px; font-size: 14.5px; font-weight: 600; }
.button-link:hover { background: var(--green-dark); color: #fff; text-decoration: none; }

/* 标签 */
.chip { display: inline-block; padding: 2px 10px; border-radius: 3px; font-size: 12px; font-family: var(--mono); vertical-align: middle; border: 1px solid transparent; }
.chip.A { color: var(--red); border-color: rgba(166, 58, 46, .35); background: rgba(166, 58, 46, .06); }
.chip.B { color: var(--amber); border-color: rgba(154, 107, 18, .35); background: rgba(154, 107, 18, .06); }
.chip.C { color: var(--ok); border-color: rgba(30, 82, 55, .3); background: rgba(30, 82, 55, .06); }
.chip.nature-检索 { color: #2B4C7E; border-color: rgba(43, 76, 126, .3); background: rgba(43, 76, 126, .05); }
:root[data-theme="dark"] .chip.nature-检索 { color: #8FB4E8; border-color: rgba(143, 180, 232, .35); background: rgba(143, 180, 232, .08); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .chip.nature-检索 { color: #8FB4E8; border-color: rgba(143, 180, 232, .35); background: rgba(143, 180, 232, .08); }
}
.chip.nature-格式化 { color: var(--ok); border-color: rgba(30, 82, 55, .3); background: rgba(30, 82, 55, .05); }
.chip.nature-判断 { color: var(--amber); border-color: rgba(154, 107, 18, .35); background: rgba(154, 107, 18, .05); }
.chip.nature-人工 { color: var(--red); border-color: rgba(166, 58, 46, .3); background: rgba(166, 58, 46, .05); }

.banner { border: 1px solid var(--hairline); border-left: 3px solid var(--bronze); background: var(--panel); padding: 13px 18px; border-radius: 0 4px 4px 0; font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.banner.warn { border-left-color: var(--red); }

/* 表格 */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); border-bottom: 1px solid var(--hairline-dark); padding: 8px 10px; }
td { border-bottom: 1px solid var(--hairline); padding: 11px 10px; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
table input[type=text] { padding: 7px 9px; font-size: 13.5px; }

pre.doc { background: var(--code-bg); border: 1px solid var(--hairline); border-radius: 4px; padding: 20px 22px; white-space: pre-wrap; font-family: var(--sans); font-size: 13.5px; line-height: 1.7; max-height: 520px; overflow: auto; color: var(--ink-soft); }
.due-near { color: var(--red); font-weight: 700; }
.due-soon { color: var(--amber); font-weight: 700; }
.steps li { margin-bottom: 6px; font-size: 14px; color: var(--ink-soft); }

/* 统计 */
.stat { border: 1px solid var(--hairline); border-radius: 6px; background: var(--panel); padding: 20px 22px; display: block; }
.stat:hover { text-decoration: none; border-color: var(--hairline-dark); }
.stat .n { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.stat .t { font-size: 13px; color: var(--muted); }

/* 场景选择 */
.sc-card { cursor: pointer; transition: border-color .15s; }
.sc-card:hover { border-color: var(--green); }
.sc-card.active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.sc-card h3 { margin-bottom: 4px; }
.sc-card p { font-size: 13px; color: var(--muted); }

/* 弹窗 */
dialog { margin: auto; border: 1px solid var(--hairline-dark); border-radius: 6px; padding: 0; max-width: 560px; width: calc(100% - 48px); background: var(--panel); color: var(--ink); } /* margin auto：全局 reset 清掉了 UA 的弹窗居中样式；color 显式声明防 UA canvastext 在深色下发黑 */
dialog::backdrop { background: rgba(22, 24, 29, .35); }
dialog .dlg-head { padding: 20px 26px 0; }
dialog .dlg-head h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; }
dialog .dlg-body { padding: 14px 26px 22px; font-size: 14.5px; color: var(--ink-soft); }
dialog .dlg-body ol { margin: 8px 0 8px 20px; }
dialog .dlg-body li { margin-bottom: 8px; }
dialog .dlg-body code { font-family: var(--mono); font-size: 12.5px; background: var(--soft-bg); padding: 1px 6px; border-radius: 3px; }
dialog .dlg-foot { padding: 0 26px 22px; display: flex; gap: 10px; flex-wrap: wrap; }

/* 录音状态红点 */
.rec-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); margin-right: 8px; vertical-align: 1px;
  animation: rec-pulse 1.2s ease-in-out infinite;
}
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }

.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: 12px 24px; border-radius: 4px;
  font-size: 14px; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 99;
}
.toast.show { opacity: 1; }

/* 登录页 */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-box { width: 400px; background: var(--panel); border: 1px solid var(--hairline); border-radius: 6px; padding: 40px 38px 34px; }
.auth-box .brand { font-family: var(--serif); font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.auth-box .brand span { color: var(--green); }
.auth-box .auth-input { display: block; width: 100%; height: 42px; min-width: 0; margin: 0; }
.auth-box .auth-extra { width: 100%; }

/* ── 统一站点：工作台子导航 ── */
.subnav { display: flex; gap: 20px; padding: 0 max(28px, calc(50vw - 520px)); height: 44px; align-items: center; border-bottom: 1px solid var(--hairline); background: var(--panel); }
.subnav a { color: var(--ink-soft); font-size: 13.5px; padding: 3px 0; border-bottom: 2px solid transparent; }
.subnav a:hover { text-decoration: none; color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--green); font-weight: 600; }

/* ── 技能目录（登记簿） ── */
.hub-stats { font-size: 13.5px; color: var(--muted); letter-spacing: .04em; margin: 4px 0 0; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--hairline); border-top: 3px solid var(--green); border-radius: 6px; background: var(--panel); margin: 28px 0 4px; overflow: hidden; }
.board-cell { padding: 20px 24px 18px; border-right: 1px solid var(--hairline); }
.board-cell:last-child { border-right: 0; }
.board-cell h3 { font-family: var(--serif); font-size: 15.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: .06em; }
.board-cell .row { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.board-cell .row b { font-family: var(--serif); color: var(--green); margin-right: 8px; }
.board-cell .row.rank { display: grid; grid-template-columns: 22px 1fr; align-items: center; margin: 0 -10px; }
.board-rank-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-soft); padding: 6px 10px; border-radius: 3px; min-width: 0; }
.board-rank-link > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-rank-link:hover { color: var(--green); background: var(--soft-bg); text-decoration: none; }
.board-rank-link .rank-score { color: var(--green); white-space: nowrap; font-family: var(--mono); font-size: 12px; }
.board-rank-link i { color: var(--muted); font-family: var(--sans); font-size: 11px; font-style: normal; margin-left: 4px; opacity: .65; transition: opacity .15s; }
.board-rank-link:hover i, .board-rank-link:focus-visible i { opacity: 1; }
.board-cell .row.empty { color: var(--muted); }
.board-cell.invite h3 { color: var(--green); }
.board-cell .hint { font-size: 12px; color: var(--muted); margin-left: 10px; }
@media (max-width: 860px) { .board { grid-template-columns: 1fr; } .board-cell { border-right: 0; border-bottom: 1px solid var(--hairline); } .board-cell:last-child { border-bottom: 0; } }
.star-btn { background: transparent; border: 1px solid var(--hairline-dark); color: var(--muted); padding: 2px 12px; font-size: 13px; font-weight: 500; border-radius: 3px; }
.star-btn:hover { background: transparent; border-color: var(--green); color: var(--green); }
.star-btn.on { background: transparent; border-color: var(--green); color: var(--green); font-weight: 700; }
.ext-tag { display: inline-block; border: 1px solid var(--hairline-dark); border-radius: 3px; padding: 2px 8px; font-size: 11.5px; letter-spacing: .06em; color: var(--ink-soft); white-space: nowrap; }
.src-filter { display: flex; gap: 6px; }
.coach-steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.coach-step { color: var(--ink-soft); padding: 4px 12px; border: 1px solid var(--hairline-dark); border-radius: 999px; white-space: nowrap; }
.coach-step.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.coach-step.done { border-color: var(--green); color: var(--green); }
.coach-arrow { color: var(--ink-soft); }
.chat-msg .qa-options { margin-top: 8px; }
/* 含选项/标签的气泡占满整行，auto-fill 网格才有确定宽度可分列（不定宽容器下会塌成单列） */
.chat-msg:has(.qa-options), .chat-msg:has(.coach-chips), .chat-msg:has(pre.doc) { width: 100%; max-width: 100%; }
.coach-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.coach-chip { border: 1px solid var(--hairline-dark); border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; background: var(--paper); white-space: nowrap; transition: border-color .12s, color .12s; }
.coach-chip:hover { border-color: var(--green); color: var(--green); }
/* 对话输入区（OpenAI 风格圆角容器：文本框无边框，＋ 在左下，圆形发送键在右下）*/
.composer { margin-top: 12px; border: 1px solid var(--hairline-dark); border-radius: 22px; background: var(--input-bg); padding: 12px 14px 10px; transition: border-color .15s, box-shadow .15s; }
.composer:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(181, 56, 46, .1); }
.composer-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 2px 10px; }
.composer-attachments:empty { display: none; }
.attach-chip { display: flex; align-items: center; gap: 9px; border: 1px solid var(--hairline-dark); border-radius: 10px; padding: 7px 9px; background: var(--soft-bg); max-width: 260px; }
.attach-chip .fico { width: 30px; height: 30px; border-radius: 7px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; font-weight: 700; }
.attach-chip .fmeta { min-width: 0; flex: 1; }
.attach-chip .fname { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.attach-chip .ftype { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.attach-chip .fx { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--hairline-dark); color: var(--paper); font-size: 12px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.attach-chip .fx:hover { background: var(--ink-soft); }
.attach-chip.loading .fico { background: var(--muted); }
.attach-chip.err .fico { background: var(--red); }
.attach-spin { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: attspin .7s linear infinite; }
.attach-chip { max-width: 300px; }
.attach-chip .fmeta { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.attach-chip .arole { font-size: 10px; line-height: 1.4; padding: 1px 8px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; letter-spacing: .02em; }
.attach-chip .arole.r-ref { background: rgba(29,120,80,.12); color: var(--green); border-color: rgba(29,120,80,.28); }
.attach-chip .arole.r-test { background: rgba(180,120,20,.14); color: #a8720f; border-color: rgba(180,120,20,.32); }
.attach-chip .arole:hover { filter: brightness(.97); }
.attach-chip.is-test .fico { background: #c8891a; }
.attach-chip.err .arole { display: none; }
.composer textarea.ghost-draft { color: var(--muted); }
@keyframes attspin { to { transform: rotate(360deg); } }
.composer textarea { width: 100%; border: 0; background: transparent; resize: none; padding: 2px 4px; font-size: 15px; line-height: 1.6; color: var(--ink); max-height: 320px; box-shadow: none; }
.composer textarea:focus { outline: none; box-shadow: none; }
.composer-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.composer-doc { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--ink-soft); border: 1px solid var(--hairline-dark); border-radius: 999px; padding: 5px 12px 5px 9px; font-size: 13px; font-weight: 500; cursor: pointer; }
.composer-doc:hover { border-color: var(--green); color: var(--green); background: transparent; }
.composer-send { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); border: 0; padding: 0; cursor: pointer; flex-shrink: 0; transition: opacity .15s, background .15s; }
.composer-send:hover { background: var(--ink); opacity: .85; }
.composer-send:disabled { opacity: .35; cursor: not-allowed; }
.tabs { display: flex; gap: 8px; margin: 30px 0 4px; flex-wrap: wrap; }
.tabs button { background: transparent; color: var(--ink-soft); border: 1px solid var(--hairline-dark); font-weight: 500; padding: 7px 16px; white-space: nowrap; }
.tabs button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.entry { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 32px 4px; border-bottom: 1px solid var(--hairline); }
.entry .no { font-family: var(--serif); font-size: 13.5px; color: var(--muted); letter-spacing: .12em; padding-top: 7px; white-space: nowrap; }
.entry .head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.entry .head h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; }
.entry-title-link { color: var(--ink); text-decoration: none; }
.entry-title-link span { color: var(--green); font-family: var(--sans); font-size: 13px; margin-left: 8px; opacity: 0; transition: opacity .15s, transform .15s; display: inline-block; }
.entry-title-link:hover { color: var(--green); text-decoration: none; }
.entry-title-link:hover span, .entry-title-link:focus-visible span { opacity: 1; transform: translate(2px, -2px); }
.entry .figures { margin-left: auto; font-size: 13.5px; color: var(--muted); display: flex; gap: 14px; white-space: nowrap; }
.entry .figures .star { color: var(--green); }
.entry .slug { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.entry .desc { margin-top: 10px; font-size: 15px; color: var(--ink-soft); max-width: 46em; }
.entry .meta { margin-top: 10px; font-size: 13px; color: var(--muted); }
.entry .meta em { font-style: normal; color: var(--green); }
.entry-detail { margin-top: 9px; font-size: 13px; }
.entry-detail a { color: var(--green); }
.top-tag { font-size: 11.5px; color: var(--green); border: 1px solid var(--green); padding: 0 8px; letter-spacing: .12em; white-space: nowrap; border-radius: 2px; }
.entry details { margin-top: 14px; }
.entry details summary { cursor: pointer; display: inline-block; font-size: 13.5px; letter-spacing: .08em; border: 1px solid var(--hairline-dark); border-radius: 4px; padding: 6px 18px; user-select: none; color: var(--ink); }
.entry details summary::marker, .entry details summary::-webkit-details-marker { display: none; }
.entry details[open] summary, .entry details summary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.entry .guide { padding: 18px 2px 4px; }
.entry .guide h4 { font-size: 14px; font-weight: 600; margin: 14px 0 4px; }
.entry .guide h4:first-child { margin-top: 0; }
.entry .guide .note { font-size: 13px; color: var(--muted); margin: 2px 0 8px; max-width: 46em; }
.empty-slot { border: 1px dashed var(--hairline-dark); border-radius: 6px; padding: 30px 26px; margin-top: 20px; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.empty-slot .no { font-family: var(--serif); font-size: 15px; color: var(--green); letter-spacing: .12em; }
.empty-slot p { color: var(--muted); font-size: 14px; flex: 1; min-width: 200px; }
.hidden-prompt { position: absolute; left: -9999px; }

/* ── MCP 连接台 ── */
.mcp-card { display: flex; flex-direction: column; }
.mcp-card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--bronze); margin-bottom: 6px; }
.mcp-card p { font-size: 13.5px; color: var(--ink-soft); flex: 1; margin: 6px 0 16px; }
.mcp-card .row { display: flex; gap: 10px; }
pre.cfg { background: var(--code-bg); border: 1px solid var(--hairline); border-radius: 4px; padding: 12px 14px; font-family: var(--mono); font-size: 12px; line-height: 1.6; overflow-x: auto; white-space: pre; }

/* ── 参考资源 ── */
.res-item { padding: 16px 4px; border-bottom: 1px solid var(--hairline); }
.res-item:last-child { border-bottom: 0; }
.res-item a.t { font-size: 16.5px; color: var(--ink); border-bottom: 1px solid var(--ink); }
.res-item a.t:hover { color: var(--green); border-color: var(--green); text-decoration: none; }
.res-item .st { margin-left: 12px; font-size: 12.5px; color: var(--muted); }
.res-item p { font-size: 13.5px; color: var(--muted); margin-top: 3px; max-width: 46em; }
.res-item .res-actions { display: flex; gap: 18px; margin-top: 7px; }
.res-item .res-actions a { color: var(--green); font-size: 12.5px; border: 0; }

/* ── Skill / 项目详情：执业卷宗 ── */
.detail-main { max-width: 1120px; }
.detail-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.detail-back:hover { color: var(--green); text-decoration: none; }
.dossier-hero { display: grid; grid-template-columns: minmax(0, 1fr) 268px; background: var(--panel); border: 1px solid var(--hairline); border-top: 4px solid var(--green); border-radius: 6px; overflow: hidden; }
.dossier-copy { padding: 40px 42px 38px; }
.dossier-kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--bronze); margin-bottom: 14px; text-transform: uppercase; }
.dossier-title { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.18; letter-spacing: .01em; margin: 0; max-width: 13em; }
.dossier-lede { color: var(--ink-soft); font-size: 16.5px; line-height: 1.85; max-width: 42em; margin-top: 18px; }
.dossier-byline { color: var(--muted); font-size: 13px; margin-top: 16px; }
.dossier-byline em { color: var(--green); font-style: normal; }
.dossier-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.dossier-actions .star-btn { padding: 9px 16px; font-size: 14px; }
.dossier-register { border-left: 1px solid var(--hairline); padding: 30px 28px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, transparent 74%, rgba(181,56,46,.045) 74%); }
.register-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--muted); }
.register-number { font-family: var(--serif); color: var(--green); font-size: 72px; font-weight: 700; line-height: 1; margin: 12px 0 26px; }
.register-number.project-score { font-size: 46px; letter-spacing: -.04em; }
.register-number small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; color: var(--muted); margin-top: 9px; font-weight: 500; }
.register-facts { list-style: none; border-top: 1px solid var(--hairline); }
.register-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hairline); font-size: 12.5px; }
.register-facts span { color: var(--muted); }
.register-facts b { color: var(--ink); font-weight: 600; text-align: right; }
.detail-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 48px; margin-top: 42px; align-items: start; }
.detail-layout > * { min-width: 0; }
.dossier-index { position: sticky; top: 86px; border-left: 2px solid var(--hairline-dark); padding: 4px 0 4px 18px; }
.dossier-index p { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--bronze); margin-bottom: 10px; }
.dossier-index a { display: block; color: var(--muted); font-size: 13px; padding: 5px 0; }
.dossier-index a:hover { color: var(--green); text-decoration: none; }
.detail-section { scroll-margin-top: 90px; margin-bottom: 54px; }
.detail-section:last-child { margin-bottom: 0; }
.section-heading { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--hairline-dark); padding-bottom: 10px; margin-bottom: 20px; }
.section-heading .mark { font-family: var(--mono); font-size: 10.5px; letter-spacing: .15em; color: var(--green); }
.section-heading h2 { margin: 0; font-size: 24px; }
.info-ledger { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hairline); border-radius: 6px; overflow: hidden; background: var(--panel); }
.ledger-cell { padding: 24px 25px; min-height: 170px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.ledger-cell:nth-child(2n) { border-right: 0; }
.ledger-cell:nth-last-child(-n+2) { border-bottom: 0; }
.ledger-label { font-family: var(--mono); color: var(--bronze); font-size: 10.5px; letter-spacing: .16em; margin-bottom: 10px; }
.ledger-cell h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 7px; }
.ledger-cell p { color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.boundary-note { border-left: 3px solid var(--bronze); background: var(--panel); padding: 18px 21px; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.boundary-note b { color: var(--ink); }
.install-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 14px; }
.install-choice { background: var(--panel); border: 1px solid var(--hairline); border-radius: 6px; padding: 25px 26px; }
.install-choice.recommended { border-top: 3px solid var(--green); padding-top: 23px; }
.install-choice .choice-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .15em; color: var(--green); margin-bottom: 9px; }
.install-choice h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 7px; }
.install-choice p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; line-height: 1.7; }
.attachment-row { margin-top: 14px; color: var(--muted); font-size: 13px; }
.sample-block { border: 1px solid var(--hairline); border-radius: 6px; overflow: hidden; background: var(--panel); }
.sample-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--hairline); }
.sample-head b { font-family: var(--serif); font-size: 16px; }
.sample-head > a { flex-shrink: 0; }
.sample-pdf { display: block; width: 100%; height: 640px; border: 0; background: var(--soft-bg); }
@media (max-width: 640px) { .sample-pdf { height: 460px; } .sample-head { flex-direction: column; } }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft-bg); border: 1px solid var(--hairline); border-radius: 5px; margin-top: 14px; }
.trust-strip div { padding: 12px 14px; border-right: 1px solid var(--hairline-dark); font-size: 12.5px; color: var(--ink-soft); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip span { color: var(--ok); font-weight: 700; margin-right: 5px; }
.trust-strip span.pending { color: var(--amber); }
.sk-doc { background: var(--panel); border: 1px solid var(--hairline); border-radius: 6px; padding: 34px 38px; }
.sk-doc > :first-child { margin-top: 0; }
.sk-doc h1, .sk-doc h2, .sk-doc h3 { font-family: var(--serif); scroll-margin-top: 88px; }
.sk-doc h1 { font-size: 26px; margin: 0 0 16px; }
.sk-doc h2 { font-size: 21px; margin: 36px 0 12px; padding-top: 2px; }
.sk-doc h3 { font-size: 17px; margin: 24px 0 8px; }
.sk-doc p { margin: 9px 0; line-height: 1.82; color: var(--ink-soft); }
.sk-doc ul, .sk-doc ol { margin: 9px 0 9px 23px; line-height: 1.8; color: var(--ink-soft); }
.sk-doc li { margin-bottom: 4px; }
.sk-doc code { font-family: var(--mono); font-size: 12.5px; background: var(--soft-bg); padding: 1px 6px; border-radius: 3px; }
.sk-doc pre { background: var(--code-bg); border: 1px solid var(--hairline); border-radius: 4px; padding: 15px 17px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; margin: 12px 0; }
.sk-doc pre code { background: none; padding: 0; }
.sk-doc table { display: block; max-width: 100%; margin: 14px 0; overflow-x: auto; }
.sk-doc a { overflow-wrap: anywhere; }
.sk-doc blockquote { border-left: 3px solid var(--bronze); padding: 4px 0 4px 16px; color: var(--ink-soft); margin: 14px 0; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: -6px 0 18px; }
.doc-toc a { color: var(--muted); font-size: 12.5px; }
.project-steps { list-style: none; counter-reset: project-step; border: 1px solid var(--hairline); border-radius: 6px; background: var(--panel); }
.project-steps li { counter-increment: project-step; display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--hairline); color: var(--ink-soft); font-size: 14px; }
.project-steps li:last-child { border-bottom: 0; }
.project-steps li::before { content: counter(project-step, decimal-leading-zero); font-family: var(--mono); color: var(--green); font-size: 12px; padding-top: 2px; }
.external-warning { border: 1px solid rgba(154,107,18,.35); background: rgba(154,107,18,.055); border-radius: 5px; padding: 18px 20px; color: var(--ink-soft); font-size: 14px; }

@media (max-width: 820px) {
  .dossier-hero { grid-template-columns: 1fr; }
  .dossier-register { border-left: 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 130px 1fr; gap: 24px; }
  .register-number { font-size: 54px; margin-bottom: 0; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .dossier-index { position: static; display: flex; gap: 12px 18px; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--hairline); padding: 0 0 14px; }
  .dossier-index p { width: 100%; margin-bottom: 0; }
  .dossier-index a { padding: 0; }
}
@media (max-width: 620px) {
  .dossier-copy { padding: 30px 24px; }
  .dossier-register { padding: 24px; grid-template-columns: 1fr; }
  .dossier-title { font-size: 34px; }
  .info-ledger, .install-grid, .trust-strip { grid-template-columns: 1fr; }
  .ledger-cell, .ledger-cell:nth-child(2n), .ledger-cell:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--hairline); min-height: 0; }
  .ledger-cell:last-child { border-bottom: 0; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--hairline-dark); }
  .trust-strip div:last-child { border-bottom: 0; }
  .sk-doc { padding: 26px 22px; }
}

@media (max-width: 640px) {
  .entry { grid-template-columns: 1fr; gap: 6px; }
  .entry .figures { margin-left: 0; }
}

/* ── 个人主页 ── */
header.top .who .me-link { color: var(--ink); font-weight: 600; }
.profile-figures { display: flex; gap: 40px; margin: 8px 0 10px; }
.pf .n { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--green); line-height: 1.2; }
.pf .t { font-size: 13px; color: var(--muted); }
.row-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 2px; border-bottom: 1px solid var(--hairline); }
.row-line:last-child { border-bottom: 0; }
.row-line .no { font-family: var(--serif); font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.row-line b { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.row-line .fig, .row-line .muted { font-size: 13px; color: var(--muted); }
.badge { font-size: 12.5px; padding: 1px 10px; border-radius: 3px; border: 1px solid transparent; }
.badge.st-ok { color: var(--green); border-color: rgba(181,56,46,.3); background: rgba(181,56,46,.05); }
.badge.st-pending { color: var(--amber); border-color: rgba(154,107,18,.35); background: rgba(154,107,18,.05); }
.badge.st-no { color: var(--muted); border-color: var(--hairline-dark); }

/* ── 复核 ── */
.rules-card ol.steps li { font-size: 14.5px; color: var(--ink-soft); }
.review-verdict { font-family: var(--serif); font-size: 16px; margin: 6px 0 10px; }
.scan-list { list-style: none; margin: 0 0 12px; }
.scan-list li { font-size: 13.5px; padding: 6px 0; border-bottom: 1px dashed var(--hairline); }
.scan-list li.f-block { color: var(--red); }
.scan-list li.f-warn { color: var(--amber); }
.scan-list li code { display: block; margin-top: 3px; color: var(--ink-soft); background: var(--soft-bg); padding: 2px 8px; border-radius: 3px; font-size: 12px; }

/* ── 建 skill 引导式问答 ── */
.qa-progress { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--bronze); margin-bottom: 10px; }
.qa-question { font-family: var(--serif); font-size: 22px !important; margin-bottom: 4px; }
.qa-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 16px; }
.qa-opt { border: 1px solid var(--hairline-dark); border-radius: 6px; padding: 14px 16px; cursor: pointer; transition: border-color .12s, background .12s; user-select: none; }
.qa-opt b { display: block; font-size: 15px; }
.qa-opt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.qa-opt:hover { border-color: var(--green); }
.qa-opt.on { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: rgba(181, 56, 46, .04); }
.qa-opt.on b { color: var(--green); }
.qa-nav { margin-top: 20px; display: flex; justify-content: space-between; }
#qaCustomWrap { margin-top: 14px; }
.qa-options.qa-compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.qa-options.qa-compact .qa-opt { padding: 10px 14px; }
.qa-options.qa-compact .qa-opt b { font-size: 13.5px; font-weight: 500; }
.iv-q { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.iv-q h4 { font-size: 15px; font-weight: 600; }
.iv-q .iv-custom { margin-top: 10px; font-size: 13.5px; }
.chat-log { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { padding: 8px 14px; border-radius: 8px; font-size: 13.5px; max-width: 85%; }
.chat-msg.me { align-self: flex-end; background: var(--ink); color: var(--paper); }
.chat-msg.ai { align-self: flex-start; background: var(--soft-bg); color: var(--ink-soft); }

/* ── 分段控件（主题/语言）── */
.seg { display: inline-flex; border: 1px solid var(--hairline-dark); border-radius: 5px; overflow: hidden; margin-top: 4px; }
.seg button { background: transparent; color: var(--ink-soft); border: 0; border-right: 1px solid var(--hairline-dark); border-radius: 0; padding: 8px 20px; font-weight: 500; }
.seg button:last-child { border-right: 0; }
.seg button:hover { background: var(--soft-bg); }
.seg button.on { background: var(--ink); color: var(--paper); }

/* ── API 教程弹窗 ── */
dialog.help-wide { max-width: 640px; }
.help-h { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--green); margin: 18px 0 8px; }
.help-ol { margin: 0 0 4px 20px; }
.help-ol li { margin-bottom: 9px; font-size: 14px; line-height: 1.7; }
.help-ol code, .kv code { font-family: var(--mono); font-size: 12.5px; background: var(--soft-bg); padding: 1px 6px; border-radius: 3px; word-break: break-all; }

/* ── 安盾知识产权品牌主题 ─────────────────────────────────────────────
   参考安盾官网：安盾金 / 黑灰 / 大面积白底，现代无衬线、硬朗细边框。
   保留原有组件、页面结构与交互，仅统一品牌视觉。 */
:root {
  --paper: #f7f7f5;
  --panel: #ffffff;
  --ink: #1c1c1c;
  --ink-soft: #494949;
  --muted: #717171;
  --hairline: #e8e8e8;
  --hairline-dark: #d2d2d2;
  --green: #eba811;
  --green-dark: #d89400;
  --bronze: #dca337;
  --red: #bd3325;
  --amber: #eba811;
  --ok: #2f7d4a;
  --header-bg: rgba(255, 255, 255, .94);
  --soft-bg: #f3f3f3;
  --code-bg: #f4f4f4;
  --serif: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}
:root[data-theme="dark"] {
  --paper: #151515;
  --panel: #202020;
  --ink: #f4f4f2;
  --ink-soft: #d0d0cc;
  --muted: #9d9d98;
  --hairline: #303030;
  --hairline-dark: #454545;
  --green: #f8b820;
  --green-dark: #dca337;
  --bronze: #f8b820;
  --header-bg: rgba(21, 21, 21, .94);
  --soft-bg: #282828;
  --code-bg: #181818;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --paper: #151515;
    --panel: #202020;
    --ink: #f4f4f2;
    --ink-soft: #d0d0cc;
    --muted: #9d9d98;
    --hairline: #303030;
    --hairline-dark: #454545;
    --green: #f8b820;
    --green-dark: #dca337;
    --bronze: #f8b820;
    --header-bg: rgba(21, 21, 21, .94);
    --soft-bg: #282828;
    --code-bg: #181818;
  }
}
body {
  background:
    linear-gradient(90deg, var(--green) 0 112px, transparent 112px) top left / 100% 4px no-repeat,
    var(--paper);
}
header.top {
  height: 72px;
  padding-top: 4px;
  border-bottom-color: var(--hairline);
  box-shadow: 0 8px 24px rgba(28, 28, 28, .035);
}
header.top .brand,
.auth-box .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: 86px;
  height: auto;
  flex: 0 0 auto;
  filter: brightness(0);
}
:root[data-theme="dark"] .brand-logo { filter: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .brand-logo { filter: none; }
}
.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand-name em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .12em;
}
header.top .brand span { color: var(--ink); }
header.top nav a {
  padding: 7px 0;
  font-weight: 500;
}
header.top nav a.active {
  border-bottom-width: 3px;
  border-bottom-color: var(--green);
}
main { max-width: 1120px; padding-top: 64px; }
main > .eyebrow:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 3px 10px;
  color: #1c1c1c;
  background: var(--green);
  font-weight: 800;
  letter-spacing: .15em;
}
h1 {
  max-width: 880px;
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.035em;
}
h2 { font-weight: 750; letter-spacing: -.015em; }
.sub { font-size: 17px; line-height: 1.85; }
.card,
.steps-rail,
.project-steps,
.sk-doc,
.trust-strip {
  border-radius: 2px;
  border-color: var(--hairline);
}
.card { transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--green); }
button {
  border-radius: 2px;
  background: var(--ink);
  color: var(--panel);
  letter-spacing: .02em;
}
button:hover { background: #393939; }
button.ghost:hover { border-color: var(--green); background: rgba(235, 168, 17, .09); }
.steps-rail .step { border-top: 4px solid transparent; }
.steps-rail .step:hover { border-top-color: var(--green); }
.steps-rail .num { color: var(--green); opacity: .72; }
.entry { padding-top: 36px; padding-bottom: 36px; }
.entry .no { color: var(--bronze); font-weight: 700; }
.entry-title-link:hover,
.entry-detail a,
.entry .meta em { color: #ba7c00; }
.entry details[open] summary,
.entry details summary:hover { background: var(--green); color: #1c1c1c; border-color: var(--green); }
.auth-wrap {
  background:
    linear-gradient(135deg, rgba(248,184,32,.98) 0 34%, transparent 34%) top left / 420px 420px no-repeat,
    linear-gradient(315deg, rgba(28,28,28,.055) 0 30%, transparent 30%) bottom right / 520px 520px no-repeat;
}
.auth-box {
  width: 440px;
  border-top: 5px solid var(--green);
  border-radius: 2px;
  box-shadow: 0 24px 70px rgba(28,28,28,.10);
}
.auth-box .brand { margin-bottom: 16px; }
.modal-never {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.modal-never input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--green);
}
#icpFooter {
  border-top: 1px solid var(--hairline);
  background: var(--ink);
  color: #a9a9a3 !important;
}
@media (max-width: 720px) {
  header.top { min-height: 62px; padding-top: 10px; }
  header.top .brand { gap: 7px; }
  .brand-logo { width: 72px; }
  .brand-name { font-size: 16px; }
  .brand-name em { display: none; }
  main { padding-top: 38px; }
}
