/* 亿火智创 · 界面字号与外壳优化（2026-10-15）
   放在所有样式之后加载，只负责三件事：
     1) 顶部导航 / 左侧工具栏的字号与留白
     2) 表单控件统一下限（浏览器默认按钮字号偏小）
     3) 对比度与间距微调
   功能面板内部的零散字号已在各自源文件里整体抬升，这里不重复处理。 */

/* ---------- 1. 顶部导航 ---------- */
.site-header{height:76px;gap:18px}
.site-header .logo{font-size:21px;letter-spacing:.01em}
.site-header .logo-mark{font-size:29px;margin-right:9px}
.site-header nav{gap:34px}
.site-header nav a{
  font-size:16px;
  font-weight:500;
  color:#9aa6bd;
  padding:27px 0 25px;
}
.site-header nav a.active,.site-header nav a:hover{color:#25d3f8}
.site-header nav a.active{font-weight:600}
.site-header nav a.active:after{bottom:14px;left:26%;right:26%;height:2.5px;border-radius:2px}
.site-header .auth{gap:12px}
.site-header .auth button{font-size:15px;padding:12px 22px;font-weight:600;border-radius:11px}

/* 屏幕变窄时先收间距、再收字号，保证 9 个入口不换行 */
@media (max-width:1660px){.site-header nav{gap:24px}}
@media (max-width:1460px){.site-header nav{gap:18px}.site-header nav a{font-size:15px}}
@media (max-width:1300px){
  .site-header{gap:12px}
  .site-header nav{gap:13px}
  .site-header nav a{font-size:14px}
  .site-header .logo{font-size:19px}
  .site-header .logo-mark{font-size:26px}
  .site-header .auth button{font-size:14px;padding:11px 16px}
}
@media (max-width:1120px){.site-header nav a{font-size:13.5px}.site-header nav{gap:11px}}
@media (max-width:1040px){.site-header .auth .login{display:none}}

/* ---------- 2. 左侧工具栏 ---------- */
@media (min-width:1001px){
  .workspace{grid-template-columns:266px minmax(0,1fr);gap:24px}
}
.tool-sidebar{padding:14px 12px}
.tool-group{padding:6px 0 13px;margin-bottom:8px}
.tool-group:last-child{padding-bottom:4px}
.tool-group-title{height:44px;gap:10px;padding:0 10px}
.tool-group-title b{font-size:14.5px;letter-spacing:.01em}
.tool-group-title i{font-size:12.5px;color:#748299}
.group-icon{width:27px;height:27px;border-radius:8px;font-size:13.5px}
.tool-group-items{gap:4px;padding:3px 0 0 10px}
.tool-sidebar.grouped-menu button{
  height:42px;
  gap:10px;
  padding:0 10px 0 14px;
  font-size:13.5px;
  color:#9aa7bd;
}
.tool-sidebar.grouped-menu button:hover{background:#101c30;color:#e6eeff}
.tool-sidebar.grouped-menu button.active{font-weight:600;letter-spacing:.01em}
.tool-dot{width:6px;height:6px}
.tool-sidebar.grouped-menu em{
  margin-left:auto;
  font-size:11px;
  font-weight:700;
  letter-spacing:.03em;
  padding:3px 8px;
  border-radius:10px;
}
.tool-sidebar.grouped-menu button.tool-done .tool-dot{width:15px;height:15px}
.tool-sidebar.grouped-menu button.tool-done .tool-dot::after{font-size:11px}
.tool-sidebar.grouped-menu button.tool-done .tool-done-tag{font-size:11px;padding:3px 8px}

/* ---------- 3. 控件与正文下限 ---------- */
button,input,select,textarea,option{font-size:14.5px}
label{font-size:14px}
:root{--muted:#9ba6bb}
.work-panel{padding:32px 32px 36px}

/* ---------- 4. 页脚可读性 ---------- */
footer p,footer small{color:#8b96ad}
footer a{font-size:14.5px}
footer b{font-size:14.5px}

/* ---------- 6. 客户端内隐藏下载类推广位（2026-10-15） ---------- */
/* 在外壳里运行时，「下载客户端 / 使用网页版」都不该再出现。
   这里同时兜底：即使首页脚本没跑到，这两个按钮也不会露出来。
   （hero 里替换出来的 .hero-start 不是上面两个类，不受影响。） */
html.yh-client .hero-actions>.hero-download,
html.yh-client .hero-actions>button.outline,
html.yh-client .hero-recommend,
html.yh-client .client-entry,
html.yh-client footer a[href="download.html"]{display:none}
html.yh-client .hero-actions>.hero-start{border:0;color:#fff;background:linear-gradient(135deg,#18c9f1,#7659f4);box-shadow:0 10px 30px rgba(36,170,244,.30),0 4px 16px rgba(124,92,255,.20)}
html.yh-client .hero-actions>.hero-start:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(31,190,247,.40),0 8px 26px rgba(124,92,255,.30)}
html.yh-client .hero-actions>.hero-start:active{transform:translateY(0) scale(.97)}
