/*! convert：应用自身样式（布局/表格/画布尺寸等），来自原版 taez/tools/convert/index.html 的 <style>。
 * metro.css 负责外层外观（面板、按钮、页头），本文件只补应用结构与几何，勿随意删减。 */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f7f7f7; color: #222; padding: 24px 16px;
}
.wrap { max-width: 720px; margin: 0 auto; }
h1 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.sub { color: #888; font-size: 13px; margin: 0 0 20px; }
.panel {
  background: #fff; border: 1px solid #ddd; border-radius: 2px;
  padding: 16px; margin-bottom: 16px;
}

.back {
  display: inline-block; font-size: 12px; color: #888;
  text-decoration: none; margin-bottom: 12px;
}
.back:hover { color: #2c5fa8; }

/* 搜索框 */
.search {
  width: 100%; padding: 7px 10px; border: 1px solid #ccc; border-radius: 2px;
  font: inherit; font-size: 13px; color: #222; background: #fff;
}
.search:focus { outline: none; border-color: #2c5fa8; }

/* 工具列表 */
.list { padding: 0; overflow: hidden; }
.item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-bottom: 1px solid #eee;
  text-decoration: none; color: inherit;
  transition: background .15s;
}
.item:last-child { border-bottom: none; }
.item:hover { background: #f4f8fd; }
.item:hover .name { color: #2c5fa8; }
.item:hover .entry { color: #2c5fa8; }
.ico {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 2px;
  background: #eef3fb; color: #2c5fa8;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; letter-spacing: .5px;
}
.meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.name { font-size: 14px; font-weight: 600; color: #222; transition: color .15s; }
.desc {
  font-size: 12px; color: #888;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.entry { flex: 0 0 auto; font-size: 12px; color: #bbb; transition: color .15s; }
.empty { padding: 28px 16px; text-align: center; color: #999; font-size: 13px; }
.foot { color: #999; font-size: 12px; text-align: center; margin: 0; }
.foot code { background: #eee; padding: 1px 4px; border-radius: 2px; font-size: 11px; }

@media (max-width: 480px) {
  .desc { white-space: normal; }
  .entry { display: none; }
}
