.feishu-page{display:grid;gap:24px;min-width:0}
.feishu-page>.card{margin-bottom:0}
.feishu-result{margin:0;padding:16px 20px;background:#eef7f1;border:1px solid #cce5d6;color:#356b4d;border-radius:12px;font-size:.875rem;line-height:1.8}
.feishu-result.error{background:#fff4ee;border-color:#f0d4c8;color:#94583d}
.feishu-connection-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}
.feishu-account{display:flex;gap:16px;align-items:flex-start;min-width:0}
.feishu-account h2{font-size:1.125rem;margin:0 0 8px;color:var(--ink)}
.feishu-account p{color:var(--muted);font-size:.875rem;line-height:1.8;margin:0}
.feishu-mark{width:48px;height:48px;display:grid;place-items:center;flex:none;border-radius:14px;background:#edf3ff;color:#336de9;font-size:1.4rem;font-weight:700}
.feishu-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 24px}
.feishu-details dt{font-size:.8125rem;color:var(--muted);margin-bottom:8px}
.feishu-details dd{margin:0;font-size:.9375rem;overflow-wrap:anywhere}
.feishu-setup{padding:20px;border:1px solid var(--line);background:#f7f9fd;border-radius:12px;margin-bottom:24px}
.feishu-setup h3{font-size:.9375rem;margin:0 0 8px}
.feishu-setup p{font-size:.875rem;color:var(--muted);line-height:1.8;margin:8px 0 14px}
.feishu-callback{display:block;max-width:100%;overflow-wrap:anywhere;white-space:normal;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;font-size:.8125rem;user-select:all}
.feishu-scopes{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.feishu-scopes li{max-width:100%;background:#fff;border:1px solid var(--line);padding:6px 10px;border-radius:6px;font-size:.75rem;overflow-wrap:anywhere}
.feishu-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.feishu-metrics>div{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid #e1e8f4;border-radius:12px;background:#f8faff;min-width:0}
.feishu-metrics b{font-size:1.5rem;color:#3758d6;font-variant-numeric:tabular-nums}
.feishu-metrics span{font-size:.8125rem;color:var(--muted)}
.feishu-table-empty{padding:0 24px 24px;color:var(--muted);font-size:.875rem;line-height:1.8}
.feishu-framework-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}
.feishu-framework-flow>div{padding:20px;border:1px solid var(--line);border-radius:12px;background:#fbfcff}
.feishu-framework-flow span{display:block;font-size:.75rem;color:#7890ce;margin-bottom:12px}
.feishu-framework-flow b{display:block;font-size:1rem;color:#314f98}
.feishu-framework-flow p{font-size:.8125rem;line-height:1.8;color:var(--muted);margin:8px 0 0}
.feishu-page .card-body>p{font-size:.875rem;line-height:1.8;color:var(--muted)}
.feishu-preview-notes{padding:16px 20px;background:#fff7e9;border:1px solid #f1dfba;border-radius:10px;color:#846023;margin:16px 0}
.feishu-preview-notes h3{font-size:.9375rem;margin:0 0 8px}
.feishu-preview-notes ul{font-size:.875rem;line-height:1.8;margin:0;padding-left:20px}
.feishu-preview-notes li+li{margin-top:6px}
.feishu-login{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;border:1px solid #d7e3fa;background:#f3f7ff;border-radius:10px;margin-top:14px;color:#315fc1;text-decoration:none;font-weight:600;font-size:.9375rem}
.feishu-login:hover{background:#eaf1ff;border-color:#b8cbee}
.feishu-login:focus-visible{outline:3px solid #8b9ff0;outline-offset:3px}
.feishu-login-error{margin:12px 0 0;color:#a74437;font-size:.875rem;line-height:1.7}
@media(max-width:780px){
  .feishu-page{gap:20px}
  .feishu-connection-heading{flex-wrap:wrap;gap:12px}
  .feishu-details{grid-template-columns:1fr;gap:14px}
  .feishu-setup{padding:16px}
  .feishu-framework-flow{grid-template-columns:1fr;gap:12px}
  .feishu-framework-flow>div{padding:16px}
  .feishu-framework-flow span{margin-bottom:8px}
  .feishu-metrics{gap:8px}
  .feishu-metrics>div{padding:13px 10px}
  .feishu-metrics b{font-size:1.25rem}
  .feishu-metrics span{font-size:.75rem;line-height:1.5}
  .feishu-table-empty{padding-inline:20px}
}
