* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1f2937;
  background: #f8fafc;
}
.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #217346;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}
.app-body { padding: 12px 16px 24px; }
.hint {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 16px;
}
.tool {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.tool h3 { margin: 0 0 4px; font-size: 14px; }
.desc { margin: 0 0 10px; font-size: 12px; color: #6b7280; line-height: 1.45; }
.btn {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f3f4f6;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: #e5e7eb; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: #217346; border-color: #217346; color: #fff; }
.btn-primary:hover { background: #1b5c38; }
.tool-hero { border-color: #217346; border-width: 2px; }
.warn { margin: 8px 0 0; font-size: 11px; color: #b45309; line-height: 1.4; }
.sep { border: none; border-top: 1px solid #e5e7eb; margin: 16px 0; }
.status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
  white-space: pre-wrap;
}
.status.ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.status.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.status.info { display: block; background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.app-footer {
  padding: 10px 16px;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
}
