/* 注册/登录页的补充样式。基础组件（.card/.field/.button/.alert/.result 等）
   复用 feedback.css，这里只加标签切换器和两处间距。 */
.tabs{display:flex;gap:4px;padding:3px;margin:0 0 20px;background:var(--fill);border-radius:var(--r-m)}
.tab{flex:1;min-height:36px;padding:0 12px;border:0;border-radius:var(--r-s);background:transparent;
  font:inherit;font-size:14px;color:var(--muted);cursor:pointer;transition:background .18s var(--ease),color .18s var(--ease)}
.tab:hover{color:var(--ink-2)}
.tab[aria-selected="true"]{background:var(--paper);color:var(--ink);font-weight:500;box-shadow:var(--shadow-1)}
.tab:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.result strong{display:block;margin-bottom:4px}
.result code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;word-break:break-all}
@media (prefers-reduced-motion:reduce){.tab{transition:none}}
@media (max-width:800px){.tab{min-height:44px}}

/* feedback.css 的输入框样式按 type 逐个枚举（第 91/95/149 行），没有 password ——
   反馈表单里没有口令框，所以从来不需要。不在那边改动共享样式，在这里补齐：
   否则口令框掉回浏览器默认高度，移动端实测只有 30px，不到 44px 触控标准。
   :focus 与 ::placeholder 是不分 type 的，已经生效，不用重复。 */
input[type=password]{
  width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-m);
  background:var(--paper);min-height:42px;
  transition:border-color .16s var(--ease),box-shadow .16s var(--ease);
}
input[type=password][aria-invalid="true"]{border-color:var(--danger)}
@media (prefers-reduced-motion:reduce){input[type=password]{transition:none}}
@media (max-width:800px){input[type=password]{min-height:46px}}

/* 「忘记口令？」：和提交按钮并排，但要明显次一级，不能抢主操作的视觉重量 */
.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .875rem;
  color: var(--accent, #0071e3);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-button:hover { opacity: .75; }
.link-button:disabled { opacity: .4; cursor: default; text-decoration: none; }

/* 版心小记号 */
.colophon{flex-shrink:0;width:13px;height:13px;opacity:.28;fill:none;stroke:currentColor;stroke-width:.9;stroke-linecap:round}
.colophon circle{fill:currentColor;stroke:none}

.alert{scroll-margin-block:24px} .alert:focus{outline:2px solid var(--danger);outline-offset:4px} input:focus{box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--accent)} .result:focus{outline:2px solid var(--accent);outline-offset:4px} .result{overflow-wrap:anywhere} input[readonly]{opacity:.7} @media(forced-colors:active){input:focus{outline:2px solid Highlight}}
