

/* ===== 开发 Tab · 「智能体开发」静态页（注入模块 script27.js 配套样式） ===== */
.adev-panel {
  position: fixed; z-index: 11; background: #fff;
  display: flex; flex-direction: column; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
.adev-header { padding: 26px 32px 0; flex-shrink: 0; }
.adev-header-top { display: flex; align-items: center; justify-content: space-between; }
.adev-title { margin: 0; font-size: 20px; font-weight: 700; color: rgba(0,0,0,0.88); }
.adev-new-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; border: none; border-radius: 8px;
  background: #1677ff; color: #fff; font-size: 13px; font-weight: 500;
  font-family: inherit; cursor: pointer; transition: background 0.15s;
}
.adev-new-btn:hover { background: #0e63e6; }
.adev-new-btn svg { width: 14px; height: 14px; }
.adev-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.adev-seg { display: inline-flex; align-items: center; gap: 2px; background: #f5f6f8; border-radius: 10px; padding: 3px; }
.adev-seg-btn {
  padding: 6px 16px; border: none; background: transparent; border-radius: 8px;
  font-size: 13px; color: rgba(0,0,0,0.55); font-family: inherit; cursor: pointer;
  transition: all 0.15s; white-space: nowrap;
}
.adev-seg-btn:hover { color: rgba(0,0,0,0.85); }
.adev-seg-btn.active { background: #fff; color: rgba(0,0,0,0.88); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.adev-tools { display: flex; align-items: center; gap: 10px; }
.adev-refresh {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid #e6e8eb; border-radius: 8px;
  background: #fff; color: rgba(0,0,0,0.45); cursor: pointer; transition: all 0.15s;
}
.adev-refresh:hover { border-color: rgba(22,119,255,0.4); color: #1677ff; }
.adev-refresh svg { width: 16px; height: 16px; transition: transform 0.5s ease; }
.adev-refresh.spin svg { transform: rotate(360deg); }
.adev-search {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px;
  background: #fff; border: 1px solid #e6e8eb; border-radius: 8px; transition: all 0.15s;
  width: 220px;
}
.adev-search:focus-within { border-color: #1677ff; box-shadow: 0 0 0 2px rgba(22,119,255,0.08); }
.adev-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 13px; color: rgba(0,0,0,0.75); font-family: inherit; }
.adev-search input::placeholder { color: rgba(0,0,0,0.35); }
.adev-search svg { width: 15px; height: 15px; color: rgba(0,0,0,0.3); flex-shrink: 0; }
.adev-grid {
  flex: 1; overflow-y: auto; padding: 22px 32px 40px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; align-content: start;
}
.adev-card {
  background: #fff; border: 1px solid #eef1f5; border-radius: 12px;
  padding: 18px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04); transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.adev-card:hover { box-shadow: 0 10px 28px rgba(15,23,42,0.08); transform: translateY(-2px); border-color: #dfe4ec; }
.adev-card-main { display: flex; gap: 14px; align-items: flex-start; }
.adev-ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(15,23,42,0.12);
}
.adev-ic svg { width: 24px; height: 24px; }
.adev-card-body { min-width: 0; }
.adev-card-name { font-size: 15px; font-weight: 600; color: rgba(0,0,0,0.88); margin-bottom: 6px; }
.adev-card-desc {
  font-size: 12.5px; line-height: 1.55; color: rgba(0,0,0,0.45);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.adev-card-foot { display: flex; align-items: center; justify-content: space-between; }
.adev-org { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(0,0,0,0.4); }
.adev-org svg { width: 14px; height: 14px; }
.adev-status { font-size: 12px; color: rgba(0,0,0,0.4); }
.adev-empty { grid-column: 1 / -1; text-align: center; padding: 72px 20px; color: rgba(0,0,0,0.28); font-size: 14px; }
.adev-toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.82); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px;
  z-index: 2147483600; opacity: 0; transition: all 0.25s; pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
.adev-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
